From a9472f91e571d0215c7db408c98b7514b3644ca9 Mon Sep 17 00:00:00 2001 From: aarne Date: Sun, 21 Oct 2007 10:01:14 +0000 Subject: the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out) --- src/GF/UseGrammar/Linear.hs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/GF/UseGrammar') diff --git a/src/GF/UseGrammar/Linear.hs b/src/GF/UseGrammar/Linear.hs index ac6c3b703..8b71fbc29 100644 --- a/src/GF/UseGrammar/Linear.hs +++ b/src/GF/UseGrammar/Linear.hs @@ -80,9 +80,11 @@ linearizeToRecord gr mk m = lin [] where recS t = R [Ass (L (identC "s")) t] ---- - recInt i = R [Ass (L (identC "s")) (tK $ show i), - Ass (L (identC "last")) (EInt (rem i 10)), - Ass (L (identC "size")) (EInt (if i > 9 then 1 else 0))] + 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)) + ] lookCat = return . errVal defLindef . look ---- should always be given in the module -- cgit v1.2.3