summaryrefslogtreecommitdiff
path: root/colm.vim
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-10-04 16:23:19 -0400
committerAdrian Thurston <thurston@complang.org>2015-10-04 16:23:19 -0400
commit6fb0cdffbafb135edaec7d927e5e508997c1d826 (patch)
tree878b580f8c8cdd4ae4dc1ea942b14c8f17940fc0 /colm.vim
parent514d1771d7956df29ea8e9f0c5f0a35d47bc8bc4 (diff)
downloadcolm-6fb0cdffbafb135edaec7d927e5e508997c1d826.tar.gz
sketched a grammar for reduction sections
Diffstat (limited to 'colm.vim')
-rw-r--r--colm.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/colm.vim b/colm.vim
index 3a5f1a5d..562fb2f7 100644
--- a/colm.vim
+++ b/colm.vim
@@ -59,15 +59,15 @@ syntax keyword Type
\ namespace lex reducefirst global include export
\ construct cons parse parse_tree parse_stop match require send send_tree
\ preeof left right nonassoc prec context struct alias
- \ end eos print
+ \ end eos print reduction nonterm
syntax keyword typeKeywords
- \ int str bool any ref ptr void
+ \ int str bool any ref ptr void list_el map_el
syntax keyword Keyword
\ reject else elsif return yield for while if
\ typeid in break
- \ new new2 deref ni cast switch case default
+ \ new deref ni cast switch case default
syntax match tokenName "[a-zA-Z_][a-zA-Z_0-9]*" contained
syntax match varCapture "[a-zA-Z_][a-zA-Z_0-9]*:"