Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bring a couple of special vars in line with STD.
  • Loading branch information
jnthn committed Jan 12, 2015
1 parent e4ff687 commit d7338dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Perl6/Grammar.nqp
Expand Up @@ -2072,12 +2072,12 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
}

token special_variable:sym<$.> {
<sym> {} <?before \s | ',' | <terminator> >
<sym> {} <!before \w | '('>
<.obsvar('$.')>
}

token special_variable:sym<$?> {
<sym> {} <?before \s | ',' | <terminator> >
<sym> {} <!before \w | '('>
<.obsvar('$?')>
}

Expand Down

0 comments on commit d7338dc

Please sign in to comment.