Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nqp wants 1/0, not True/False
  • Loading branch information
TimToady committed Nov 17, 2014
1 parent 7bb3656 commit ef6924e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Actions.nqp
Expand Up @@ -7456,13 +7456,13 @@ class Perl6::RegexActions is QRegex::P6Regex::Actions does STDActions {

method assertion:sym<?{ }>($/) {
make QAST::Regex.new( $<codeblock>.ast,
:subtype<zerowidth>, :negate( False ),
:subtype<zerowidth>, :negate( 0 ),
:rxtype<qastnode>, :node($/) );
}

method assertion:sym<!{ }>($/) {
make QAST::Regex.new( $<codeblock>.ast,
:subtype<zerowidth>, :negate( True ),
:subtype<zerowidth>, :negate( 1 ),
:rxtype<qastnode>, :node($/) );
}

Expand Down

0 comments on commit ef6924e

Please sign in to comment.