summaryrefslogtreecommitdiff
path: root/colm/colm.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@colm.net>2019-11-28 14:05:59 -0800
committerAdrian Thurston <thurston@colm.net>2019-11-28 14:05:59 -0800
commit60606ca9d6c97900b8df0c2d10796e6f081d1973 (patch)
tree2409dd3c8081ec2e2c91c3852b5859466f4c3973 /colm/colm.lm
parent76bef9c90354a87bbf276f648f486d826d1dad39 (diff)
downloadcolm-60606ca9d6c97900b8df0c2d10796e6f081d1973.tar.gz
revert "exclude ? from position 2+ of literal token"
This reverts commit bd8de42f05975c262a6ecd156d8a6fbc50aa0de5.
Diffstat (limited to 'colm/colm.lm')
-rw-r--r--colm/colm.lm7
1 files changed, 2 insertions, 5 deletions
diff --git a/colm/colm.lm b/colm/colm.lm
index 51826941..446aee06 100644
--- a/colm/colm.lm
+++ b/colm/colm.lm
@@ -82,11 +82,8 @@ lex
token number
/ ( '0' .. '9' ) + /
- token backtick_lit /
- '`' . ^( ' ' | '\n' | '\t' | ']' | '?' )+ |
- '`]' |
- '`?'
- /
+ token backtick_lit
+ / '`' . ^( ' ' | '\n' | '\t' | ']' )+ | '`]' /
token DQ / '\"' / - ni
token SQ / '\'' / - ni