From a7fbfe615ac12b9258f57bf38bc35d81a1c24321 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 17 Nov 2014 21:28:28 +0100 Subject: mds-kbdc: support alternations and dots in macro_calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- .../mds-kbdc/make-tree/valid/alternated-macro_call | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test-files/mds-kbdc/make-tree/valid/alternated-macro_call (limited to 'test-files/mds-kbdc/make-tree/valid/alternated-macro_call') diff --git a/test-files/mds-kbdc/make-tree/valid/alternated-macro_call b/test-files/mds-kbdc/make-tree/valid/alternated-macro_call new file mode 100644 index 0000000..419fed9 --- /dev/null +++ b/test-files/mds-kbdc/make-tree/valid/alternated-macro_call @@ -0,0 +1,20 @@ +amac(["1" "2"] ["." .] "a") + +# (macro_call (@ 1 0-4) ‘amac’ +# (.arguments +# (alternation (@ 1 5-6) +# (.inner +# (string (@ 1 6-9) ‘"1"’) +# (string (@ 1 10-13) ‘"2"’) +# ) +# ) +# (alternation (@ 1 15-16) +# (.inner +# (string (@ 1 16-19) ‘"."’) +# (nothing (@ 1 20-21)) +# ) +# ) +# (string (@ 1 23-26) ‘"a"’) +# ) +# ) + -- cgit v1.2.3-70-g09d2