summaryrefslogtreecommitdiff
path: root/test/undofrag1.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/undofrag1.lm
parent5bb34e270b42ab19d5839a551fae0f42ea688f6b (diff)
downloadcolm-82466231c6401bf490726f8a469b7139c6a37242.tar.gz
updated test for lex scope syntax
Diffstat (limited to 'test/undofrag1.lm')
-rw-r--r--test/undofrag1.lm6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/undofrag1.lm b/test/undofrag1.lm
index 117b635f..de0a7cd2 100644
--- a/test/undofrag1.lm
+++ b/test/undofrag1.lm
@@ -1,9 +1,8 @@
lex
-{
ignore /space+/
literal '#', '{', '}'
token id2 /[a-zA-Z_]+/
-}
+end
def item2
[id2]
@@ -18,11 +17,10 @@ context ctx
SP: parser<start2>
lex
- {
ignore /space+/
literal '*', '(', ')', '!', ';\n'
token id /[a-zA-Z_]+/
- }
+ end
def item
[id]