Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Respect :i in < foo bar > syntax.
  • Loading branch information
jnthn committed Oct 21, 2012
1 parent d4a9b19 commit 978492e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Perl6/Actions.pm
Expand Up @@ -5613,7 +5613,9 @@ class Perl6::RegexActions is QRegex::P6Regex::Actions {
method metachar:sym<qw>($/) {
my $qast := QAST::Regex.new( :rxtype<alt>, :node($/) );
for HLL::Grammar::split_words($/, $<quote_EXPR><quote_delimited>.ast.value) {
$qast.push(QAST::Regex.new( $_, :rxtype<literal> ));
$qast.push(%*RX<i>
?? QAST::Regex.new( $_, :rxtype<literal>, :subtype<ignorecase> )
!! QAST::Regex.new( $_, :rxtype<literal> ));
}
make $qast;
}
Expand Down

0 comments on commit 978492e

Please sign in to comment.