diff options
| author | Krasimir Angelov <kr.angelov@gmail.com> | 2017-08-18 21:23:58 +0200 |
|---|---|---|
| committer | Krasimir Angelov <kr.angelov@gmail.com> | 2017-08-18 21:23:58 +0200 |
| commit | 1f3c9d0b1736daa979e195bc07d971421768e4ad (patch) | |
| tree | 85b367154d5c7b6bb13bb7d2e9fe223eeedd8074 /src/runtime/haskell/PGF/Data.hs | |
| parent | f71b96da2d213a503c1533653723d525b53fc125 (diff) | |
the parser is not forced to respect the linref while parsing discontious phrases
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]) |
