Skip to content

Commit

Permalink
Attach the match (for file positions etc.) to the QAST properly
Browse files Browse the repository at this point in the history
  • Loading branch information
pmurias committed Jul 11, 2017
1 parent b6024b7 commit 51b5124
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/NQP/Actions.nqp
Expand Up @@ -1377,6 +1377,7 @@ class NQP::Actions is HLL::Actions {
method term:sym<identifier>($/) {
my $ast := $<args>.ast;
$ast.name('&' ~ ~$<deflongname>);
$ast.node($/);
make $ast;
$/.prune;
}
Expand Down

0 comments on commit 51b5124

Please sign in to comment.