aboutsummaryrefslogtreecommitdiff
path: root/examples/working-compiler
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2019-06-18 22:40:14 +0200
committerDrahflow <drahflow@gmx.de>2019-06-18 22:40:14 +0200
commit75b507963144bcdd86a04700609b07fcb5ab5bdd (patch)
treea73d75ce17738d056b8048a0b77df6fdd97ef181 /examples/working-compiler
parent79469284e8fa3d5957c0c231ed9ebda3343e1611 (diff)
Test for defq'ed defq
Diffstat (limited to 'examples/working-compiler')
-rw-r--r--examples/working-compiler/scope-macro.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/working-compiler/scope-macro.test b/examples/working-compiler/scope-macro.test
new file mode 100644
index 0000000..8eb96bb
--- /dev/null
+++ b/examples/working-compiler/scope-macro.test
@@ -0,0 +1,15 @@
+{
+ /outer_macro dump
+} /macro defq
+
+{
+ {
+ /inner_macro dump
+ } "macro" defq
+
+ /here dump
+ macro
+ /there dump
+} *
+
+macro