summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar/Linear.hs
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2007-10-21 10:01:14 +0000
committeraarne <aarne@cs.chalmers.se>2007-10-21 10:01:14 +0000
commita9472f91e571d0215c7db408c98b7514b3644ca9 (patch)
tree4f9339aa950a02847ebbb851ba9ecfb4e08ae9b8 /src/GF/UseGrammar/Linear.hs
parentbc2cac719b7fc4a4a4242b903c31d8e8bfcb258f (diff)
the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out)
Diffstat (limited to 'src/GF/UseGrammar/Linear.hs')
-rw-r--r--src/GF/UseGrammar/Linear.hs8
1 files changed, 5 insertions, 3 deletions
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