summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar/Predef.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Grammar/Predef.hs')
-rw-r--r--src/compiler/GF/Grammar/Predef.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler/GF/Grammar/Predef.hs b/src/compiler/GF/Grammar/Predef.hs
index 44cc060ec..71b0cef3d 100644
--- a/src/compiler/GF/Grammar/Predef.hs
+++ b/src/compiler/GF/Grammar/Predef.hs
@@ -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]