Skip to content

Commit d857b01

Browse files
committed
Small anchor compilation fix.
Gets us down to 2 failures in t/p5regex.
1 parent 84ff46d commit d857b01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vm/moar/QAST/QASTRegexCompilerMAST.nqp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ class QAST::MASTRegexCompiler {
337337
elsif $subtype eq 'fail' {
338338
nqp::push(@ins, op('goto', $fail));
339339
}
340-
elsif $subtype eq 'pass' {
340+
elsif $subtype eq 'pass' || $subtype eq '' {
341341
# Nothing to do.
342342
}
343343
else {
344-
nqp::die("anchor subtype $subtype NYI");
344+
nqp::die("Unknown anchor subtype $subtype");
345345
}
346346
release($i11, $MVM_reg_int64);
347347
@ins

0 commit comments

Comments
 (0)