summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar/Linear.hs
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-12-16 22:24:36 +0000
committeraarne <aarne@cs.chalmers.se>2007-12-16 22:24:36 +0000
commit7551c70db6c76a796e93fa1cd4ebe7c850344b7e (patch)
tree9a473d9fc972ac26b7a9bed00673609f47c18193 /src/GF/UseGrammar/Linear.hs
parent49b3ffb7a0ba176a6689d7792ad42cdd2f17adee (diff)
restored Int size and last ; added lib/prelude to be the last in any grammar path
Diffstat (limited to 'src/GF/UseGrammar/Linear.hs')
-rw-r--r--src/GF/UseGrammar/Linear.hs6
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