From 2c60a2d82a0d7b90924e7dbbcacf36afb8549d17 Mon Sep 17 00:00:00 2001 From: aarne Date: Thu, 23 Sep 2004 14:41:42 +0000 Subject: Ints n --- src/GF/Canon/GFC.cf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/GF/Canon/GFC.cf') 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 ; -- cgit v1.2.3