aboutsummaryrefslogtreecommitdiffstats
path: root/test-files/mds-kbdc/make-tree/valid/macro
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-11-17 02:37:41 +0100
committerMattias Andrée <maandree@operamail.com>2014-11-17 02:37:41 +0100
commit59e2da485ea82fb1ee9f6f565ba5084c41f85143 (patch)
treeb8c8d110ca18c2c5b01c9b875c4945e75c1e9da0 /test-files/mds-kbdc/make-tree/valid/macro
parentm (diff)
downloadmds-59e2da485ea82fb1ee9f6f565ba5084c41f85143.tar.gz
mds-59e2da485ea82fb1ee9f6f565ba5084c41f85143.tar.bz2
mds-59e2da485ea82fb1ee9f6f565ba5084c41f85143.tar.xz
small fixes and a bunch of tests
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'test-files/mds-kbdc/make-tree/valid/macro')
-rw-r--r--test-files/mds-kbdc/make-tree/valid/macro17
1 files changed, 17 insertions, 0 deletions
diff --git a/test-files/mds-kbdc/make-tree/valid/macro b/test-files/mds-kbdc/make-tree/valid/macro
new file mode 100644
index 0000000..151417b
--- /dev/null
+++ b/test-files/mds-kbdc/make-tree/valid/macro
@@ -0,0 +1,17 @@
+macro identity/1
+ <letter \1> : "\1"
+end macro
+
+# (macro (@ 1 0-5) ‘identity/1’
+# (.inner
+# (map (@ 2 2-2)
+# (.sequence
+# (keys (@ 2 2-13) ‘<letter \1>’)
+# )
+# (.result
+# (string (@ 2 16-20) ‘"\1"’)
+# )
+# )
+# )
+# )
+