diff options
| author | Inari Listenmaa <inari.listenmaa@gmail.com> | 2017-08-21 10:26:57 +0300 |
|---|---|---|
| committer | Inari Listenmaa <inari.listenmaa@gmail.com> | 2017-08-21 10:26:57 +0300 |
| commit | c89759e6388aa00a82c9a4847be73c9e71726147 (patch) | |
| tree | 5994c67ad1d79820d18451518265de5c91c60b30 /src/runtime/haskell/PGF/Data.hs | |
| parent | 2d85550e5466c18f248321f7eab333025098ea53 (diff) | |
| parent | 0a3b822313cc664cef860b39ec74c21e0d00475b (diff) | |
Merge branch 'master' of https://github.com/GrammaticalFramework/GF
Diffstat (limited to 'src/runtime/haskell/PGF/Data.hs')
| -rw-r--r-- | src/runtime/haskell/PGF/Data.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/Data.hs b/src/runtime/haskell/PGF/Data.hs index bd818ea1b..6a0714faf 100644 --- a/src/runtime/haskell/PGF/Data.hs +++ b/src/runtime/haskell/PGF/Data.hs @@ -124,11 +124,12 @@ readLanguage = readCId showLanguage :: Language -> String showLanguage = showCId -fidString, fidInt, fidFloat, fidVar :: FId +fidString, fidInt, fidFloat, fidVar, fidStart :: FId fidString = (-1) fidInt = (-2) fidFloat = (-3) fidVar = (-4) +fidStart = (-5) isPredefFId :: FId -> Bool isPredefFId = (`elem` [fidString, fidInt, fidFloat, fidVar]) |
