Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Start statement ID at 1 to avoid bogus matches.
  • Loading branch information
jnthn committed Apr 28, 2015
1 parent 709b77d commit cd53104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -1038,7 +1038,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
:my $*POD_ANGLE_COUNT := 0; # pod stuff
:my $*IN_REGEX_ASSERTION := 0;
:my $*IN_PROTO := 0; # are we inside a proto?
:my $*NEXT_STATEMENT_ID := 0; # to give each statement an ID
:my $*NEXT_STATEMENT_ID := 1; # to give each statement an ID

# Various interesting scopes we'd like to keep to hand.
:my $*GLOBALish;
Expand Down

0 comments on commit cd53104

Please sign in to comment.