summaryrefslogtreecommitdiff
path: root/test/construct1.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-12-18 20:56:10 -0500
committerAdrian Thurston <thurston@complang.org>2012-12-18 20:56:10 -0500
commit82466231c6401bf490726f8a469b7139c6a37242 (patch)
tree0f5dc8478a0fd0ab7c651c12c5f8d02a4302821d /test/construct1.lm
parent5bb34e270b42ab19d5839a551fae0f42ea688f6b (diff)
downloadcolm-82466231c6401bf490726f8a469b7139c6a37242.tar.gz
updated test for lex scope syntax
Diffstat (limited to 'test/construct1.lm')
-rw-r--r--test/construct1.lm3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/construct1.lm b/test/construct1.lm
index 6bbe5a98..9813bc33 100644
--- a/test/construct1.lm
+++ b/test/construct1.lm
@@ -2,11 +2,10 @@ rl ident_pattern /[a-zA-Z_][a-zA-Z_0-9]*/
rl number_pattern /[0-9]+/
lex
-{
ignore /[ \t\n]+/
token id /ident_pattern/
token number /number_pattern/
-}
+end
def four_ids
[id id id id]