aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-28 10:00:37 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-28 10:00:37 +0100
commit5b769bbb457a0222b58b738a9b8be7a67e10dd34 (patch)
treeac3cf045267d33ca0a042cc306956aa87795abc9 /test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation
parentm + macro call alternation elimination (diff)
downloadmds-5b769bbb457a0222b58b738a9b8be7a67e10dd34.tar.gz
mds-5b769bbb457a0222b58b738a9b8be7a67e10dd34.tar.bz2
mds-5b769bbb457a0222b58b738a9b8be7a67e10dd34.tar.xz
mds-kbdc: simplification of alternations
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation')
-rw-r--r--test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation8
1 files changed, 8 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation b/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation
new file mode 100644
index 0000000..5532b22
--- /dev/null
+++ b/test-files/mds-kbdc/simplify-tree/invalid/macro_call_with_empty_alternation
@@ -0,0 +1,8 @@
+my_macro([])
+
+# (macro_call (@ 1 0-8) ‘my_macro’
+# (.arguments nil)
+# )
+# :1:9–10: error: empty alternation
+# my_macro([])
+