summaryrefslogtreecommitdiff
path: root/test/typeref2.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2013-03-17 16:03:28 -0400
committerAdrian Thurston <thurston@complang.org>2013-03-17 16:03:28 -0400
commitc54b4dd325570be3d6db814771c59550915c2f4c (patch)
treecdf60865cfcda5674e2793473ffbace8db6ae21b /test/typeref2.lm
parent953aa4ea835a6efdc24860ca6b6de2be012c2e31 (diff)
downloadcolm-c54b4dd325570be3d6db814771c59550915c2f4c.tar.gz
now supporting multiple input-output pairs in a test case
Diffstat (limited to 'test/typeref2.lm')
-rw-r--r--test/typeref2.lm18
1 files changed, 16 insertions, 2 deletions
diff --git a/test/typeref2.lm b/test/typeref2.lm
index 037822d6..0a5f053b 100644
--- a/test/typeref2.lm
+++ b/test/typeref2.lm
@@ -12,9 +12,23 @@ namespace n1
end
end
-parse P: n1::n2::id*[stdin]
+parse P: n1::n2::id+[stdin]
print( P.tree '\n' )
##### IN #####
##### EXP #####
-
+NIL
+##### IN #####
+a
+##### EXP #####
+a
+##### IN #####
+a
+ b
+ c
+d
+##### EXP #####
+a
+ b
+ c
+d