Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
nulltermish should check terminator
This lets statement modifiers be terminators after comma, as in STD.
Fixes RT #79174.
  • Loading branch information
TimToady committed Oct 8, 2015
1 parent 23b8ab5 commit 6717984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HLL/Grammar.nqp
Expand Up @@ -36,7 +36,7 @@ grammar HLL::Grammar {
token nullterm_alt { <term=.nullterm> }

# Return <termish> if it matches, <nullterm_alt> otherwise.
method nulltermish() { self.termish || self.nullterm_alt }
method nulltermish() { !self.terminator && self.termish || self.nullterm_alt }

token quote_delimited {
<starter> <quote_atom>* <stopper>
Expand Down

0 comments on commit 6717984

Please sign in to comment.