From 27602f4f8291f4d6a8b4b7109caf321d16cb6c99 Mon Sep 17 00:00:00 2001 From: aarne Date: Mon, 17 Dec 2007 18:12:46 +0000 Subject: took back smart type of Int ; Digits type in resource and some adjustments of Det syntax (not yet for romance and russian) --- src/GF/Grammar/Lookup.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GF/Grammar') diff --git a/src/GF/Grammar/Lookup.hs b/src/GF/Grammar/Lookup.hs index 481512751..81a62decf 100644 --- a/src/GF/Grammar/Lookup.hs +++ b/src/GF/Grammar/Lookup.hs @@ -231,10 +231,10 @@ lookupAbsDef gr m c = errIn ("looking up absdef of" +++ prt c) $ do _ -> Bad $ prt m +++ "is not an abstract module" linTypeInt :: Type -linTypeInt = - let ints k = App (Q (IC "Predef") (IC "Ints")) (EInt k) in - RecType [ - (LIdent "last",ints 9),(LIdent "s", typeStr), (LIdent "size",ints 1)] +linTypeInt = defLinType +--- let ints k = App (Q (IC "Predef") (IC "Ints")) (EInt k) in +--- RecType [ +--- (LIdent "last",ints 9),(LIdent "s", typeStr), (LIdent "size",ints 1)] lookupLincat :: SourceGrammar -> Ident -> Ident -> Err Type lookupLincat gr m c | elem c [zIdent "Int"] = return linTypeInt -- cgit v1.2.3