forked from GitHub/gf-core
nonExist now does the expected thing
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user