File tree Expand file tree Collapse file tree 2 files changed +4
-21
lines changed
Expand file tree Collapse file tree 2 files changed +4
-21
lines changed Original file line number Diff line number Diff line change 33 "name" : " pre/deferred" ,
44 "license" : " MIT" ,
55 "require" : {
6- "pre/plugin" : " * "
6+ "pre/plugin" : " ^0.11.0 "
77 },
88 "autoload" : {
99 "psr-4" : {
2222 "macros" : [
2323 " source/macros.yay"
2424 ]
25- },
26- "repositories" : [
27- {
28- "type" : " path" ,
29- "url" : " ../pre-plugin" ,
30- "options" : {
31- "symlink" : false
32- }
33- }
34- ],
35- "minimum-stability" : " dev" ,
36- "prefer-stable" : true
25+ }
3726}
Original file line number Diff line number Diff line change @@ -7,8 +7,7 @@ $(macro :recursion) {
77 token("{"), layer() as body, token("}")
88 ),
99 optional(token(";")),
10- _() as scope,
11- _() as simple
10+ _() as scope
1211 ))
1312} >> function($ast) {
1413 $bound = false;
@@ -38,11 +37,6 @@ $(macro :recursion) {
3837
3938 if ($bound) {
4039 $ast->append($scope);
41- } else {
42- $simple = new \Yay\Ast("simple");
43- $simple->push(new \Yay\Ast());
44-
45- $ast->append($simple);
4640 }
4741} >> {
4842 $$(collapse($$(trim(
@@ -52,7 +46,7 @@ $(macro :recursion) {
5246 }]["fn"]);
5347 })
5448
55- $(simple ? {
49+ $(scope ! {
5650 $deferred = new \Pre\Deferred\Deferred(function () {
5751 $$(trim($(body)))
5852 });
You can’t perform that action at this time.
0 commit comments