diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-12-01 20:36:12 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-12-01 20:36:12 +0100 |
commit | 155e323f1312bc9c3c290d5184f7678677e573af (patch) | |
tree | f57f170d8a326a5d985e708e94a5222aae853ed5 /test-files/mds-kbdc/validate-tree/invalid/function-macro_call | |
parent | mds-kbdc: m + more test cases (diff) | |
download | mds-155e323f1312bc9c3c290d5184f7678677e573af.tar.gz mds-155e323f1312bc9c3c290d5184f7678677e573af.tar.bz2 mds-155e323f1312bc9c3c290d5184f7678677e573af.tar.xz |
mds-kbdc: more test cases
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/validate-tree/invalid/function-macro_call')
-rw-r--r-- | test-files/mds-kbdc/validate-tree/invalid/function-macro_call | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/validate-tree/invalid/function-macro_call b/test-files/mds-kbdc/validate-tree/invalid/function-macro_call new file mode 100644 index 0000000..c1ade46 --- /dev/null +++ b/test-files/mds-kbdc/validate-tree/invalid/function-macro_call @@ -0,0 +1,15 @@ +function f/0 + m() +end function + +# (function (@ 1 0-8) ‘f/0’ +# (.inner +# (macro_call (@ 2 2-3) ‘m’ +# (.arguments nil) +# ) +# ) +# ) +# :2:2–3: error: macro call inside function definition +# m() +# ^ + |