1
0
forked from GitHub/gf-core

nonExist now does the expected thing

This commit is contained in:
kr.angelov
2013-08-23 13:17:45 +00:00
parent 7c98267193
commit a20cd77d25
13 changed files with 70 additions and 15 deletions

View File

@@ -21,6 +21,7 @@ module GF.Grammar.Predef
, cString
, cVar
, cInts
, cNonExist
, cPBool
, cErrorType
, cOverload
@@ -94,6 +95,9 @@ cOverload = identC (BS.pack "overload")
cUndefinedType :: Ident
cUndefinedType = identC (BS.pack "UndefinedType")
cNonExist :: Ident
cNonExist = identC (BS.pack "nonExist")
isPredefCat :: Ident -> Bool
isPredefCat c = elem c [cInt,cString,cFloat]