diff options
| author | aarne <aarne@cs.chalmers.se> | 2007-12-16 22:24:36 +0000 |
|---|---|---|
| committer | aarne <aarne@cs.chalmers.se> | 2007-12-16 22:24:36 +0000 |
| commit | 7551c70db6c76a796e93fa1cd4ebe7c850344b7e (patch) | |
| tree | 9a473d9fc972ac26b7a9bed00673609f47c18193 /src/GF/UseGrammar | |
| parent | 49b3ffb7a0ba176a6689d7792ad42cdd2f17adee (diff) | |
restored Int size and last ; added lib/prelude to be the last in any grammar path
Diffstat (limited to 'src/GF/UseGrammar')
| -rw-r--r-- | src/GF/UseGrammar/Linear.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GF/UseGrammar/Linear.hs b/src/GF/UseGrammar/Linear.hs index 8b71fbc29..c9b94ccb0 100644 --- a/src/GF/UseGrammar/Linear.hs +++ b/src/GF/UseGrammar/Linear.hs @@ -81,9 +81,9 @@ linearizeToRecord gr mk m = lin [] where recS t = R [Ass (L (identC "s")) t] ---- recInt i = R [ - ----Ass (L (identC "last")) (EInt (rem i 10)), - Ass (L (identC "s")) (tK $ show i) ----, - ----Ass (L (identC "size")) (EInt (if i > 9 then 1 else 0)) + Ass (L (identC "last")) (EInt (rem i 10)), + Ass (L (identC "s")) (tK $ show i), + Ass (L (identC "size")) (EInt (if i > 9 then 1 else 0)) ] lookCat = return . errVal defLindef . look |
