summaryrefslogtreecommitdiff
path: root/src/GF/Grammar
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2006-03-04 22:14:33 +0000
committeraarne <aarne@cs.chalmers.se>2006-03-04 22:14:33 +0000
commit2657c51e040964d9704f5c69945685ebd546eb6a (patch)
treebab26adf8f85c253c50b90ac9cde36d58efa42bd /src/GF/Grammar
parent84e01c303dc161c3a811a045cc0c45f3f13e33d6 (diff)
example based also with treebank, with real term parser
Diffstat (limited to 'src/GF/Grammar')
-rw-r--r--src/GF/Grammar/Grammar.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GF/Grammar/Grammar.hs b/src/GF/Grammar/Grammar.hs
index 47970c882..1c963ac66 100644
--- a/src/GF/Grammar/Grammar.hs
+++ b/src/GF/Grammar/Grammar.hs
@@ -128,6 +128,7 @@ data Term =
| Typed Term Term -- ^ type-annotated term
--
-- /below this, the constructors are only for concrete syntax/
+ | Example Term String -- ^ example-based term: @in M.C "foo"
| RecType [Labelling] -- ^ record type: @{ p : A ; ...}@
| R [Assign] -- ^ record: @{ p = a ; ...}@
| P Term Label -- ^ projection: @r.p@