From 7551c70db6c76a796e93fa1cd4ebe7c850344b7e Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 16 Dec 2007 22:24:36 +0000 Subject: restored Int size and last ; added lib/prelude to be the last in any grammar path --- src/GF/UseGrammar/Linear.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/GF/UseGrammar') 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 -- cgit v1.2.3