Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove quotes from character class
Things inside a character class should not be quoted, since the quotes would be picked up
as characters to match. Thankfully the compiler warns now about these mistakes.
  • Loading branch information
FROGGS committed Jul 25, 2014
1 parent 6cc8078 commit 8ff995d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Perl6/Grammar.nqp
Expand Up @@ -3495,7 +3495,7 @@ grammar Perl6::Grammar is HLL::Grammar does STD {
| ':' <?before \s | '{'> <!{ $*QSIGIL }> <args=.arglist>
]
|| <!{ $*QSIGIL }> <?>
|| <?{ $*QSIGIL }> <?['.']> <?>
|| <?{ $*QSIGIL }> <?[.]> <?>
] <.unsp>?
}

Expand Down

0 comments on commit 8ff995d

Please sign in to comment.