summaryrefslogtreecommitdiff
path: root/examples/numerals/decimal.gf
diff options
context:
space:
mode:
authorbringert <unknown>2005-05-11 08:10:23 +0000
committerbringert <unknown>2005-05-11 08:10:23 +0000
commit6ad5b937bb35f6aea2c3ea6018e340bc9c376d44 (patch)
tree2fb8eeb1b0c79def1f39376d4c26718b54265415 /examples/numerals/decimal.gf
parent3645de0113f864c0639160747bf9091178397c29 (diff)
Added all missing lincats in numerals grammars.
Diffstat (limited to 'examples/numerals/decimal.gf')
-rw-r--r--examples/numerals/decimal.gf3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/numerals/decimal.gf b/examples/numerals/decimal.gf
index c27485373..44076fea0 100644
--- a/examples/numerals/decimal.gf
+++ b/examples/numerals/decimal.gf
@@ -4,6 +4,9 @@ flags lexer=chars ; unlexer=concat ;
param Zeros = noz | zz ;
+lincat Numeral = { s : Str } ;
+lincat Digit = { s : Str } ;
+lincat Sub10 = { s : Str } ;
lincat Sub100 = {s : Zeros => Str} ;
lincat Sub1000 = {s : Zeros => Str} ;
lincat Sub1000000 = {s : Zeros => Str} ;