summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/msgvar-concurrency-array.rulebase
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/testsuites/msgvar-concurrency-array.rulebase11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/testsuites/msgvar-concurrency-array.rulebase b/tests/testsuites/msgvar-concurrency-array.rulebase
new file mode 100644
index 0000000..8f19514
--- /dev/null
+++ b/tests/testsuites/msgvar-concurrency-array.rulebase
@@ -0,0 +1,11 @@
+version=2
+rule=:msg: %{"name":"numbers", "type":"repeat",
+ "parser":[
+ {"name":"n1", "type":"number"},
+ {"type":"literal", "text":":"},
+ {"name":"n2", "type":"number"}
+ ],
+ "while":[
+ {"type":"literal", "text":", "}
+ ]
+ }% b %w:word%