summaryrefslogtreecommitdiff
path: root/test/constructex.lm
diff options
context:
space:
mode:
Diffstat (limited to 'test/constructex.lm')
-rw-r--r--test/constructex.lm8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/constructex.lm b/test/constructex.lm
index f41cb5c1..f21e36b9 100644
--- a/test/constructex.lm
+++ b/test/constructex.lm
@@ -1,3 +1,4 @@
+##### LM #####
lex
token id /[a-zA-Z_][a-zA-Z0-9_]*/
literal '=', '<', '>', '/'
@@ -34,3 +35,10 @@ NameTag2: tag = construct tag
print( NameTag1 '\n' )
print( NameTag2 '\n' )
+##### IN #####
+<person name=adrian hometown=kingston>
+ <t1 foo=bar2 e=f></t2>
+</person>
+##### EXP #####
+<name type=person>adrian</name>
+<name type=person>adrian</name>