Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Disable generation of $_ placeholder for rules
  • Loading branch information
sorear committed Sep 13, 2010
1 parent a85618a commit 94cf523
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Niecza/Actions.pm
Expand Up @@ -352,8 +352,7 @@ sub regex_def { my ($cl, $M) = @_;
return;
}

my $sig = $M->{signature}[0] ? $M->{signature}[0]{_ast}
: $cl->get_placeholder_sig($M);
my $sig = $M->{signature}[0] ? $M->{signature}[0]{_ast} : Sig->simple();

if ($scope =~ /state|augment|supersede/) {
$M->sorry("Nonsensical scope $scope for regex");
Expand Down

0 comments on commit 94cf523

Please sign in to comment.