summaryrefslogtreecommitdiff
path: root/test/ignore3.lm
diff options
context:
space:
mode:
Diffstat (limited to 'test/ignore3.lm')
-rw-r--r--test/ignore3.lm14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/ignore3.lm b/test/ignore3.lm
index e1003251..a0ed2319 100644
--- a/test/ignore3.lm
+++ b/test/ignore3.lm
@@ -1,3 +1,4 @@
+##### LM #####
lex
ignore /space+/
literal '*', '(' ni, ni ')', '!', ';'
@@ -35,3 +36,16 @@ for I: item in Start {
print( 'innr: .' %O '.' %Inner '.' %C '.\n' )
}
+##### IN #####
+a b c ( d ) e ( ) f g;
+##### EXP #####
+item: .a .
+item: .b .
+item: .c .
+item: .( d ) .
+innr: .(. d .) .
+item: .e .
+item: .( ) .
+innr: .(. .) .
+item: .f .
+item: .g.