aboutsummaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorDrahflow <drahflow@gmx.de>2019-03-20 19:18:54 +0100
committerDrahflow <drahflow@gmx.de>2019-03-20 19:18:54 +0100
commit36b1d920bc3cf46884ad7fb51106c3d7be29759a (patch)
tree36acd61534c8b5e6204c75ba73aa4d68aab5cf9f /compiler
parent6eb8c52c6ec77515561e25db108ac4bedd9009a9 (diff)
Don't capture global scope in non-quoted }_
This becomes non-academic in case include is called from non-global scope.
Diffstat (limited to 'compiler')
-rw-r--r--compiler/standard.ey4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/standard.ey b/compiler/standard.ey
index 8b76e7d..136e7b0 100644
--- a/compiler/standard.ey
+++ b/compiler/standard.ey
@@ -5,11 +5,11 @@
|defvc "==:" deffd
|deffc "=*:" deffd
-{ "}" | *
+"}" | {
{ =*f ==x
{ x f }
} quoted { } { * } ? *
-} "}_" defq
+} ; "}_" defq
{ { -01 < ==o { o -01 }' "." | ; > -12 } } {
quoted { }" { * }" ? *