Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
highexpect should not survive whitespace at least
Highwater expectations should be reset as soon as we've committed to a match at
a particular position.  In lieu of proper commit semantics, we'll at least reset
on whitespace for now.
  • Loading branch information
TimToady committed Dec 21, 2014
1 parent fb9127c commit 7136001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -464,7 +464,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
| <.unsp>
]*
<?MARKER('ws')>
:my $stub := self.'!set_highexpect'($old_highexpect);
:my $stub := self.'!fresh_highexpect'();
}

token unsp {
Expand Down

0 comments on commit 7136001

Please sign in to comment.