summaryrefslogtreecommitdiff
path: root/src/GF/UseGrammar
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/UseGrammar')
-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