Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
require existing character before peeking delims
  • Loading branch information
TimToady committed Mar 23, 2015
1 parent a57affe commit 9746e88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Perl6/Grammar.nqp
Expand Up @@ -95,7 +95,6 @@ role STD {
token babble($l, @base_tweaks?) {
:my @extra_tweaks;

<.ws>
[ <quotepair> <.ws>
{
my $kv := $<quotepair>[-1].ast;
Expand All @@ -112,7 +111,7 @@ role STD {
}
]*

$<B>=[<?>]
$<B>=[<?before .>]
{
# Work out the delimeters.
my $c := $/.CURSOR;
Expand Down

0 comments on commit 9746e88

Please sign in to comment.