Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fresh highexpect in ws, as per STD.
  • Loading branch information
jnthn committed Dec 10, 2012
1 parent b9b110b commit 53e70fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Perl6/Grammar.pm
Expand Up @@ -331,6 +331,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
}

token ws {
:my $old_highexpect := self.'!fresh_highexpect'();
:dba('whitespace')
[
|| <?MARKED('ws')>
Expand All @@ -341,6 +342,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
]*
<?MARKER('ws')>
]
:my $stub := self.'!set_highexpect'($old_highexpect);
}

token unsp {
Expand Down

0 comments on commit 53e70fb

Please sign in to comment.