summaryrefslogtreecommitdiff
path: root/examples/numerals/swedish.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/swedish.gf
parent3645de0113f864c0639160747bf9091178397c29 (diff)
Added all missing lincats in numerals grammars.
Diffstat (limited to 'examples/numerals/swedish.gf')
-rw-r--r--examples/numerals/swedish.gf9
1 files changed, 6 insertions, 3 deletions
diff --git a/examples/numerals/swedish.gf b/examples/numerals/swedish.gf
index 41de7ab14..4d0796bef 100644
--- a/examples/numerals/swedish.gf
+++ b/examples/numerals/swedish.gf
@@ -2,9 +2,12 @@ include numerals.Abs.gf ;
param DForm = ental | ton | tiotal ;
-lincat
- Digit = {s : DForm => Str} ;
- Sub10 = {s : DForm => Str} ;
+lincat Numeral = { s : Str } ;
+lincat Digit = {s : DForm => Str} ;
+lincat Sub10 = {s : DForm => Str} ;
+lincat Sub100 = { s : Str } ;
+lincat Sub1000 = { s : Str } ;
+lincat Sub1000000 = { s : Str } ;
oper
mkTal : Str -> Str -> Str -> Lin Digit = \två, tolv, tjugo ->