summaryrefslogtreecommitdiff
path: root/src/colm.lm
diff options
context:
space:
mode:
Diffstat (limited to 'src/colm.lm')
-rw-r--r--src/colm.lm2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/colm.lm b/src/colm.lm
index 9b305e70..5420014e 100644
--- a/src/colm.lm
+++ b/src/colm.lm
@@ -11,6 +11,7 @@ lex
token PRINT_XML / 'print_xml' /
token PRINT_XML_AC / 'print_xml_ac' /
token PARSE / 'parse' /
+ token REDUCE / 'reduce' /
token PARSE_TREE / 'parse_tree' /
token PARSE_STOP / 'parse_stop' /
token CONS / 'construct' | 'cons' /
@@ -615,6 +616,7 @@ def code_factor
| [PARSE opt_capture type_ref opt_field_init accumulate] :Parse
| [PARSE_TREE opt_capture type_ref opt_field_init accumulate] :ParseTree
| [PARSE_STOP opt_capture type_ref opt_field_init accumulate] :ParseStop
+| [REDUCE type_ref opt_field_init accumulate] :Reduce
| [CONS opt_capture type_ref opt_field_init constructor] :Cons
| [MATCH var_ref pattern] :Match
| [string] :String