summaryrefslogtreecommitdiff
path: root/src/compiler/GF/Grammar/Lexer.x
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/GF/Grammar/Lexer.x')
-rw-r--r--src/compiler/GF/Grammar/Lexer.x8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/GF/Grammar/Lexer.x b/src/compiler/GF/Grammar/Lexer.x
index f073bcdfc..c579b5609 100644
--- a/src/compiler/GF/Grammar/Lexer.x
+++ b/src/compiler/GF/Grammar/Lexer.x
@@ -124,6 +124,10 @@ data Token
| T_variants
| T_where
| T_with
+ | T_coercions
+ | T_terminator
+ | T_separator
+ | T_nonempty
| T_String String -- string literals
| T_Integer Int -- integer literals
| T_Double Double -- double precision float literals
@@ -212,6 +216,10 @@ resWords = Map.fromList
, b "variants" T_variants
, b "where" T_where
, b "with" T_with
+ , b "coercions" T_coercions
+ , b "terminator" T_terminator
+ , b "separator" T_separator
+ , b "nonempty" T_nonempty
]
where b s t = (identS s, t)