summaryrefslogtreecommitdiff
path: root/test/btscan2.lm
diff options
context:
space:
mode:
Diffstat (limited to 'test/btscan2.lm')
-rw-r--r--test/btscan2.lm12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/btscan2.lm b/test/btscan2.lm
index 8cc43a4a..b1d7c990 100644
--- a/test/btscan2.lm
+++ b/test/btscan2.lm
@@ -28,11 +28,11 @@ def item
def btscan
[item*]
-Parser: parser<btscan> = cons parser<btscan> []
+cons Parser: parser<btscan> []
-Parser << "!ab"
-Parser << "b "
-Parser << "!ab"
-Parser << "ba !aab\n"
+send Parser "!ab"
+send Parser "b "
+send Parser "!ab"
+send Parser "ba !aab\n"
-print_xml(Parser.finish())
+print_xml( Parser() )