Skip to content
Permalink
Browse files

Unbust literal \ in tr///

This fixes R#2456
  • Loading branch information...
donaldh committed Nov 1, 2018
1 parent 4c05a0b commit 85107ec0c709f4fd1c762bde1b50bfd93e5c51d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Perl6/Grammar.nqp
@@ -5364,7 +5364,7 @@ grammar Perl6::QGrammar is HLL::Grammar does STD {
token escape:ch { $<ch> = [\S] { self.ccstate($<ch>) } }
token backslash:delim { <text=.starter> | <text=.stopper> }
token backslash:<\\> { <text=.sym> }
token backslash:sym<\\> { <text=.sym> }
token backslash:sym<a> { :i <sym> }
token backslash:sym<b> { :i <sym> }
token backslash:sym<c> { :i <sym> <charspec> }

0 comments on commit 85107ec

Please sign in to comment.
You can’t perform that action at this time.