From 0095119ec09b394332a23ab7cc16c0009c3f162a Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 12 Nov 2013 09:54:57 +0000 Subject: added Predef.SOFT_BIND. This special token allows zero or more spaces between ordinary tokens. It is also used in the English RGL to attach the commas to the previous word. --- src/compiler/GF/Grammar/Predef.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/GF/Grammar/Predef.hs') diff --git a/src/compiler/GF/Grammar/Predef.hs b/src/compiler/GF/Grammar/Predef.hs index b814dd110..8ffd17b74 100644 --- a/src/compiler/GF/Grammar/Predef.hs +++ b/src/compiler/GF/Grammar/Predef.hs @@ -31,6 +31,7 @@ cOverload = identS "overload" cUndefinedType = identS "UndefinedType" cNonExist = identS "nonExist" cBIND = identS "BIND" +cSOFT_BIND = identS "SOFT_BIND" isPredefCat :: Ident -> Bool isPredefCat c = elem c [cInt,cString,cFloat] -- cgit v1.2.3