diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-28 08:54:40 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-28 08:54:40 +0100 |
commit | 39f19113d30e87c1604ed4e8e39ea95f87296767 (patch) | |
tree | 8ee097832aae5f7346eb51a12b7aabd2066aac20 /test-files/mds-kbdc/simplify-tree/valid/macro_call_with_nothing | |
parent | m (diff) | |
download | mds-39f19113d30e87c1604ed4e8e39ea95f87296767.tar.gz mds-39f19113d30e87c1604ed4e8e39ea95f87296767.tar.bz2 mds-39f19113d30e87c1604ed4e8e39ea95f87296767.tar.xz |
m + macro call alternation elimination
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/simplify-tree/valid/macro_call_with_nothing')
-rw-r--r-- | test-files/mds-kbdc/simplify-tree/valid/macro_call_with_nothing | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/simplify-tree/valid/macro_call_with_nothing b/test-files/mds-kbdc/simplify-tree/valid/macro_call_with_nothing new file mode 100644 index 0000000..f067b27 --- /dev/null +++ b/test-files/mds-kbdc/simplify-tree/valid/macro_call_with_nothing @@ -0,0 +1,19 @@ +my_macro(.) +my_macro(. .) + +# (macro_call (@ 1 0-8) ‘my_macro’ +# (.arguments nil) +# ) +# (macro_call (@ 2 0-8) ‘my_macro’ +# (.arguments nil) +# ) +# :1:9–10: warning: ‘.’ outside alternation has no effect +# my_macro(.) +# ^ +# :2:9–10: warning: ‘.’ outside alternation has no effect +# my_macro(. .) +# ^ +# :2:11–12: warning: ‘.’ outside alternation has no effect +# my_macro(. .) +# ^ + |