Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
don't cheat without a newline coming
  • Loading branch information
TimToady committed Apr 10, 2015
1 parent 53593e5 commit be225ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -174,7 +174,7 @@ role STD {
}

token cheat_heredoc {
<?{ +@herestub_queue }> \h* <[ ; } ]> <.ws> <?MARKER('endstmt')>
<?{ +@herestub_queue }> \h* <[ ; } ]> \h* <?before \n | '#'> <.ws> <?MARKER('endstmt')>
}

method queue_heredoc($delim, $lang) {
Expand Down

0 comments on commit be225ce

Please sign in to comment.