summaryrefslogtreecommitdiff
path: root/src/GF/Canon/GFC.cf
diff options
context:
space:
mode:
authoraarne <unknown>2004-09-23 14:41:42 +0000
committeraarne <unknown>2004-09-23 14:41:42 +0000
commit2c60a2d82a0d7b90924e7dbbcacf36afb8549d17 (patch)
tree0a04734e741c294cb9f58cfdcafa2ff2b55894dd /src/GF/Canon/GFC.cf
parentd5b4230d6dbee8c03eedf8d181dfa2badf1a954b (diff)
Ints n
Diffstat (limited to 'src/GF/Canon/GFC.cf')
-rw-r--r--src/GF/Canon/GFC.cf3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/GF/Canon/GFC.cf b/src/GF/Canon/GFC.cf
index 698a589b9..ff6af21e8 100644
--- a/src/GF/Canon/GFC.cf
+++ b/src/GF/Canon/GFC.cf
@@ -93,6 +93,7 @@ RecType. CType ::= "{" [Labelling] "}" ;
Table. CType ::= "(" CType "=>" CType ")" ;
Cn. CType ::= CIdent ;
TStr. CType ::= "Str" ;
+TInts. CType ::= "Ints" Integer ;
Lbg. Labelling ::= Label ":" CType ;
@@ -108,6 +109,7 @@ S. Term1 ::= Term1 "!" Term2 ;
C. Term ::= Term "++" Term1 ;
FV. Term1 ::= "variants" "{" [Term2] "}" ; --- no separator!
+EInt. Term2 ::= Integer ;
K. Term2 ::= Tokn ;
E. Term2 ::= "[" "]" ;
@@ -129,6 +131,7 @@ PC. Patt ::= "(" CIdent [Patt] ")" ;
PV. Patt ::= Ident ;
PW. Patt ::= "_" ;
PR. Patt ::= "{" [PattAssign] "}" ;
+PI. Patt ::= Integer ;
PAss. PattAssign ::= Label "=" Patt ;