diff options
author | Adrian Thurston <thurston@complang.org> | 2015-02-13 12:02:10 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-02-13 12:02:10 -0500 |
commit | ccf380421c08b6ec1f8b9c4ce6c62eb1fbf5e1e5 (patch) | |
tree | ca76509c6de4168d2d47e3cfa034dcc403c23614 /src/colm.lm | |
parent | 810e28f23001060592b1c83182fef3568cc7ceb7 (diff) | |
download | colm-ccf380421c08b6ec1f8b9c4ce6c62eb1fbf5e1e5.tar.gz |
some code cleanup, clone removal
Diffstat (limited to 'src/colm.lm')
-rw-r--r-- | src/colm.lm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/colm.lm b/src/colm.lm index 9a7b6d2e..9aa62387 100644 --- a/src/colm.lm +++ b/src/colm.lm @@ -31,6 +31,8 @@ lex token LIST_EL / 'list_el' / token MAP / 'map' / token MAP_EL / 'map_el' / + token VLIST / 'vlist' / + token VMAP / 'vmap' / token PTR / 'ptr' / token ITER / 'iter' / token REF / 'ref' / @@ -568,6 +570,8 @@ def type_ref | [PARSER LT type_ref GT] :Parser | [LIST LT type_ref GT] :List | [MAP LT KeyType: type_ref ElType: type_ref GT] :Map +| [VLIST LT type_ref GT] :ValueList +| [VMAP LT KeyType: type_ref ValType: type_ref GT] :ValueMap def region_qual [region_qual id DOUBLE_COLON] :Qual |