Skip to content

Commit

Permalink
Change the way <?> is handled so that it does not terminate LTM. Fixe…
Browse files Browse the repository at this point in the history
…s parsing of C<...>.
  • Loading branch information
jnthn committed May 26, 2012
1 parent 7c5d69d commit 382602b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/QRegex/P6Regex/Actions.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ class QRegex::P6Regex::Actions is HLL::Actions {
$qast := $<assertion>.ast;
$qast.subtype('zerowidth');
}
else { $qast := 0; }
else {
$qast := QAST::Regex.new( :rxtype<anchor>, :subtype<pass>, :node($/) );
}
make $qast;
}

Expand Down

0 comments on commit 382602b

Please sign in to comment.