summaryrefslogtreecommitdiff
path: root/test/treecmp1.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-08-16 22:18:33 -0400
committerAdrian Thurston <thurston@complang.org>2012-08-16 22:18:33 -0400
commit81f6a132e3f2da57a2043af8937d1b8021250ed3 (patch)
tree8af43a730c9d39e25c5e9ed9d97e96389176152b /test/treecmp1.lm
parenta11b02bcaec0e381a18f2e6ec7a1181108ffbc9e (diff)
downloadcolm-81f6a132e3f2da57a2043af8937d1b8021250ed3.tar.gz
use of the new parse syntax
Diffstat (limited to 'test/treecmp1.lm')
-rw-r--r--test/treecmp1.lm4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/treecmp1.lm b/test/treecmp1.lm
index debdf6b2..2fd40cb5 100644
--- a/test/treecmp1.lm
+++ b/test/treecmp1.lm
@@ -12,7 +12,9 @@ def four_ids
[id id id id]
B: id = construct id "b"
-Input: four_ids = parse four_ids( stdin )
+
+parse InputP: four_ids[ stdin ]
+Input: four_ids = InputP.tree
for Id: id in Input {
if ( Id == B )