diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-12-11 04:29:54 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-12-11 04:29:54 +0100 |
commit | df29e69e8cb89146b145a317cc15f535e52f82d8 (patch) | |
tree | 03cd9ebc6dc68d5aad597cf9b2f12a1ec603ff1e /test-files/mds-kbdc/validate-tree/valid/assumption-macro | |
parent | m (diff) | |
download | mds-df29e69e8cb89146b145a317cc15f535e52f82d8.tar.gz mds-df29e69e8cb89146b145a317cc15f535e52f82d8.tar.bz2 mds-df29e69e8cb89146b145a317cc15f535e52f82d8.tar.xz |
mds-kbdc: validate-tree: you can define functions and macros inside assumption-clauses
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | test-files/mds-kbdc/validate-tree/valid/assumption-macro | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/validate-tree/valid/assumption-macro b/test-files/mds-kbdc/validate-tree/valid/assumption-macro new file mode 100644 index 0000000..68d64d3 --- /dev/null +++ b/test-files/mds-kbdc/validate-tree/valid/assumption-macro @@ -0,0 +1,23 @@ +assumption + macro letter/1 + <letter \1> : \1 + end macro +end assumption + +# (assumption (@ 1 0-10) +# (.inner +# (macro (@ 2 2-7) ‘letter/1’ +# (.inner +# (map (@ 3 4-20) +# (.sequence +# (keys (@ 3 4-15) ‘<letter \1>’) +# ) +# (.result +# (string (@ 3 18-20) ‘\1’) +# ) +# ) +# ) +# ) +# ) +# ) + |