Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Small anchor compilation fix.
Gets us down to 2 failures in t/p5regex.
  • Loading branch information
jnthn committed Oct 10, 2013
1 parent 84ff46d commit d857b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vm/moar/QAST/QASTRegexCompilerMAST.nqp
Expand Up @@ -337,11 +337,11 @@ class QAST::MASTRegexCompiler {
elsif $subtype eq 'fail' {
nqp::push(@ins, op('goto', $fail));
}
elsif $subtype eq 'pass' {
elsif $subtype eq 'pass' || $subtype eq '' {
# Nothing to do.
}
else {
nqp::die("anchor subtype $subtype NYI");
nqp::die("Unknown anchor subtype $subtype");
}
release($i11, $MVM_reg_int64);
@ins
Expand Down

0 comments on commit d857b01

Please sign in to comment.