summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-05-20 08:58:35 -0400
committerAdrian Thurston <thurston@complang.org>2012-05-20 08:58:35 -0400
commit3945c72480140c235dc48c63c9eef19d8bdaaaec (patch)
tree83a2c5144acfcf516261cc0a48da26f2493d186b
parent683181743be4e853e9b95d917d1432b0ee31f6b9 (diff)
downloadcolm-3945c72480140c235dc48c63c9eef19d8bdaaaec.tar.gz
removed token matching empty string
A token was matching the empty string and the bug in the test was exposed by the follow-ignore patch.
-rw-r--r--test/rediv.lm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rediv.lm b/test/rediv.lm
index 4162a4c0..1d8b4f58 100644
--- a/test/rediv.lm
+++ b/test/rediv.lm
@@ -25,7 +25,7 @@ lex regex
token regex_close /'/'/
rl regex_specials /[\[\.\*\/\\]/
- token regex_chr /(^regex_specials)* | '\\' any/
+ token regex_chr /(^regex_specials)+ | '\\' any/
}
def regex_rep