diff options
author | Adrian Thurston <thurston@complang.org> | 2014-01-19 11:53:37 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2014-01-19 11:53:37 -0500 |
commit | 2585cf92f657c49451d5005715639341d45ed5f4 (patch) | |
tree | 494143e9c45d1f67ad1e59ca0e3031399d422e28 /test/ignore4.lm | |
parent | 74c213affd86ed2df6f70a37b1b63b09ef94090b (diff) | |
download | colm-2585cf92f657c49451d5005715639341d45ed5f4.tar.gz |
updated ni syntax, require - between def and kw
literal `( -ni
token id /'a'/ -ni
This allows ni to appear in literal defs without an ambiguity beween left and
right ignore.
Diffstat (limited to 'test/ignore4.lm')
-rw-r--r-- | test/ignore4.lm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ignore4.lm b/test/ignore4.lm index 9333bd59..cdd94b34 100644 --- a/test/ignore4.lm +++ b/test/ignore4.lm @@ -3,7 +3,7 @@ namespace hash lex literal `define `include - token NL /'\n'/ ni + token NL /'\n'/ -ni token id /[a-zA-Z_][a-zA-Z_0-9]*/ token number /[0-9]+/ |