diff options
Diffstat (limited to 'test-files/mds-kbdc/make-tree/valid')
-rw-r--r-- | test-files/mds-kbdc/make-tree/valid/alternated-macro_call | 20 | ||||
-rw-r--r-- | test-files/mds-kbdc/make-tree/valid/macro_call | 6 |
2 files changed, 26 insertions, 0 deletions
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"’) +# ) +# ) + diff --git a/test-files/mds-kbdc/make-tree/valid/macro_call b/test-files/mds-kbdc/make-tree/valid/macro_call index b1a1405..1e43d28 100644 --- a/test-files/mds-kbdc/make-tree/valid/macro_call +++ b/test-files/mds-kbdc/make-tree/valid/macro_call @@ -2,6 +2,7 @@ mac0() mac1(0) mac2(1 "a") mac3("x" "y" "z") +mac0(.) # (macro_call (@ 1 0-4) ‘mac0’ # (.arguments nil) @@ -24,4 +25,9 @@ mac3("x" "y" "z") # (string (@ 4 13-16) ‘"z"’) # ) # ) +# (macro_call (@ 5 0-4) ‘mac0’ +# (.arguments +# (nothing (@ 5 5-6)) +# ) +# ) |