diff options
| author | Drahflow <drahflow@gmx.de> | 2016-11-30 00:44:04 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2016-11-30 00:44:04 +0100 |
| commit | 4afe1749de033c30e55409671b8a0c0bd54e023e (patch) | |
| tree | b8cd00a80f11675d1cedcf672b7195a027b50f93 | |
| parent | 3ce7166ca1a4b3096c83794d48327019102d0a7e (diff) | |
... also use parent scope variable
| -rw-r--r-- | examples/working-compiler/unclean-macro.test | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/working-compiler/unclean-macro.test b/examples/working-compiler/unclean-macro.test index 9adf990..fcdd72d 100644 --- a/examples/working-compiler/unclean-macro.test +++ b/examples/working-compiler/unclean-macro.test @@ -2,22 +2,23 @@ text "(.)=(.*)" regex -- < == > handler } /mappingParser deffst -{ ==scope ==code ==text +{ ==scope ==w ==code ==text { ==var { var -01 . } < "$" deffst { * }' scope >' -- code -01 * + /w_is: w cat dump } text mappingParser } /scopeSplicer deffst sys .|executeIdentifier "✨" deffd -{ "}\"" | * ✨scope ✨scopeSplicer }" "}✨" defq +{ "}\"" | * ✨w ✨scope ✨scopeSplicer }" "}✨" defq -{ /before ==v +{ /v_before ==v /w_before ==w "C=Hello World" { v dump $C dump - /after =v + /v_after =v /result }✨ dump v dump |
