summaryrefslogtreecommitdiff
path: root/src/GF/Grammar
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/Grammar
parentbc2cac719b7fc4a4a4242b903c31d8e8bfcb258f (diff)
the lincat of Int simplified to SS again (Linear,Lookup,CheckGrammar by commenting out)
Diffstat (limited to 'src/GF/Grammar')
-rw-r--r--src/GF/Grammar/Lookup.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/GF/Grammar/Lookup.hs b/src/GF/Grammar/Lookup.hs
index 01f6c20a1..a57793cd3 100644
--- a/src/GF/Grammar/Lookup.hs
+++ b/src/GF/Grammar/Lookup.hs
@@ -230,12 +230,14 @@ lookupAbsDef gr m c = errIn ("looking up absdef of" +++ prt c) $ do
lookupLincat :: SourceGrammar -> Ident -> Ident -> Err Type
+{- ----
lookupLincat gr m c | elem c [zIdent "Int"] =
let ints k = App (Q (IC "Predef") (IC "Ints")) (EInt k) in
return $
RecType [
- (LIdent "s", typeStr), (LIdent "last",ints 9),(LIdent "size",ints 1)]
-lookupLincat gr m c | elem c [zIdent "String", zIdent "Float"] =
+ (LIdent "last",ints 9),(LIdent "s", typeStr),(LIdent "size",ints 1)]
+-}
+lookupLincat gr m c | elem c [zIdent "String", zIdent "Float", zIdent "Int"] =
return defLinType --- ad hoc; not needed?
lookupLincat gr m c = do