Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix capture handling with regard to &.
  • Loading branch information
jnthn committed Jul 15, 2015
1 parent 5834191 commit 37a0d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QRegex/P6Regex/Actions.nqp
Expand Up @@ -831,7 +831,7 @@ class QRegex::P6Regex::Actions is HLL::Actions {
sub capnames($ast, int $count) {
my %capnames;
my $rxtype := $ast.rxtype;
if $rxtype eq 'concat' || $rxtype eq 'goal' {
if $rxtype eq 'concat' || $rxtype eq 'goal' || $rxtype eq 'conjseq' {
for $ast.list {
my %x := capnames($_, $count);
for %x { %capnames{$_.key} := +%capnames{$_.key} + $_.value; }
Expand Down

0 comments on commit 37a0d5f

Please sign in to comment.