summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar/Predef.hs
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2014-10-09 19:34:12 +0000
committerkr.angelov <kr.angelov@gmail.com>2014-10-09 19:34:12 +0000
commitf8b73d593ca147e48a723d3dceda7c5977d21ae6 (patch)
tree674b540b555f240ca2b32f65cb86e233cd1f2af9 /src/compiler/GF/Grammar/Predef.hs
parent86e9acc7a7b714307e08ab25117ca03cecb00936 (diff)
Prelude.CAPIT is now a built-in primitive. It still generates &| in the Haskell runtime but will be intepreted in the C runtime
Diffstat (limited to 'src/compiler/GF/Grammar/Predef.hs')
-rw-r--r--src/compiler/GF/Grammar/Predef.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/GF/Grammar/Predef.hs b/src/compiler/GF/Grammar/Predef.hs
index 8ffd17b74..633ced494 100644
--- a/src/compiler/GF/Grammar/Predef.hs
+++ b/src/compiler/GF/Grammar/Predef.hs
@@ -32,6 +32,7 @@ cUndefinedType = identS "UndefinedType"
cNonExist = identS "nonExist"
cBIND = identS "BIND"
cSOFT_BIND = identS "SOFT_BIND"
+cCAPIT = identS "CAPIT"
isPredefCat :: Ident -> Bool
isPredefCat c = elem c [cInt,cString,cFloat]