diff options
author | Adrian Thurston <thurston@complang.org> | 2015-10-05 11:15:52 -0400 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-10-05 11:21:55 -0400 |
commit | 904ac5cc1675b19249750e3f5492cba720dda4c5 (patch) | |
tree | 097fa6eb549809d993ec3ba2e89fdc658becc598 /colm.vim | |
parent | f19e2b452e5dc2a14a48fe71fa26796b5678b147 (diff) | |
download | colm-904ac5cc1675b19249750e3f5492cba720dda4c5.tar.gz |
added syntax dedicated to reductions
This avoids interferrence with existing parsing code. Calling the commit/reduce
code only if the reduce construct is used.
Diffstat (limited to 'colm.vim')
-rw-r--r-- | colm.vim | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -57,7 +57,8 @@ syntax match tlNumber "false" syntax keyword Type \ commit include literal iter \ namespace lex reducefirst global include export - \ construct cons parse parse_tree parse_stop match require send send_tree + \ construct cons parse parse_tree parse_stop reduce + \ match require send send_tree \ preeof left right nonassoc prec context struct alias \ end eos print reduction nonterm |