summaryrefslogtreecommitdiff
path: root/colm.vim
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-10-05 11:15:52 -0400
committerAdrian Thurston <thurston@complang.org>2015-10-05 11:21:55 -0400
commit904ac5cc1675b19249750e3f5492cba720dda4c5 (patch)
tree097fa6eb549809d993ec3ba2e89fdc658becc598 /colm.vim
parentf19e2b452e5dc2a14a48fe71fa26796b5678b147 (diff)
downloadcolm-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.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/colm.vim b/colm.vim
index 562fb2f7..1d464d8b 100644
--- a/colm.vim
+++ b/colm.vim
@@ -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