1
0
forked from GitHub/gf-core

Fixed treatment of predefined types (Int, String).

Fixed treatment of predefined types (Int, String).
Added treatment of new reserved words to reading old grammars.
This commit is contained in:
aarne
2003-11-07 14:54:44 +00:00
parent 6ae3322b37
commit 4c99687f21
11 changed files with 50 additions and 16 deletions

View File

@@ -31,11 +31,18 @@ type MetaSubst = [(MetaSymb,Val)]
-- for TC
valAbsInt, valAbsString :: Val
valAbsInt = VCn (cPredefAbs, cInt)
valAbsString = VCn (cPredefAbs, cString)
vType :: Val
vType = VType
cType :: Ident
cType,cPredefAbs,cInt,cString :: Ident
cType = identC "Type" --- #0
cPredefAbs = identC "PredefAbs"
cInt = identC "Int"
cString = identC "String"
eType :: Exp
eType = Sort "Type"