File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -227,8 +227,10 @@ class QRegex::P6Regex::Actions is HLL::Actions {
227
227
}
228
228
}
229
229
else {
230
- $ qast := QAST ::Regex. new ( PAST::Node. new (' !BACKREF' , $ name ),
231
- : rxtype<subrule >, : subtype<method >, : node($/ ));
230
+ $ qast := QAST ::Regex. new ( : rxtype<subrule >, : subtype<method >, : node($/ ),
231
+ QAST ::Node. new (
232
+ QAST ::SVal. new ( : value(' !BACKREF' ) ),
233
+ QAST ::SVal. new ( : value($ name ) ) ) );
232
234
}
233
235
make $ qast ;
234
236
}
@@ -238,8 +240,10 @@ class QRegex::P6Regex::Actions is HLL::Actions {
238
240
$ < EXPR > . ast,
239
241
QAST ::Regex. new (
240
242
$ < GOAL > . ast,
241
- QAST ::Regex. new ( PAST::Node. new (' FAILGOAL' , ~ $ < GOAL > ),
242
- : rxtype<subrule >, : subtype<method > ),
243
+ QAST ::Regex. new ( : rxtype<subrule >, : subtype<method >,
244
+ QAST ::Node. new (
245
+ QAST ::SVal. new ( : value(' FAILGOAL' ) ),
246
+ QAST ::SVal. new ( : value(~ $ < GOAL > ) ) ) ),
243
247
: rxtype<altseq >
244
248
),
245
249
: rxtype<concat >
You can’t perform that action at this time.
0 commit comments