diff options
Diffstat (limited to 'src/compiler/GF/Grammar/Predef.hs')
| -rw-r--r-- | src/compiler/GF/Grammar/Predef.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler/GF/Grammar/Predef.hs b/src/compiler/GF/Grammar/Predef.hs index 045df06ca..370497cc7 100644 --- a/src/compiler/GF/Grammar/Predef.hs +++ b/src/compiler/GF/Grammar/Predef.hs @@ -24,7 +24,7 @@ module GF.Grammar.Predef , cErrorType , cOverload , cUndefinedType - , isPredefCat + , isLiteralCat , cPTrue, cPFalse @@ -88,8 +88,8 @@ cOverload = identC (BS.pack "overload") cUndefinedType :: Ident cUndefinedType = identC (BS.pack "UndefinedType") -isPredefCat :: Ident -> Bool -isPredefCat c = elem c [cInt,cString,cFloat] +isLiteralCat :: Ident -> Bool +isLiteralCat c = elem c [cInt,cString,cFloat] cPTrue :: Ident cPTrue = identC (BS.pack "PTrue") |
