fix: '\r' escape
This commit is contained in:
parent
dea99e1814
commit
d420f46432
1 changed files with 1 additions and 1 deletions
|
|
@ -619,7 +619,7 @@ def quotedCharFn : ParserFn
|
|||
if input.atEnd i then s.mkEOIError
|
||||
else
|
||||
let curr := input.get i;
|
||||
if curr == '\\' || curr == '\"' || curr == '\'' || curr == 'n' || curr == 't' then
|
||||
if curr == '\\' || curr == '\"' || curr == '\'' || curr == 'r' || curr == 'n' || curr == 't' then
|
||||
s.next input i
|
||||
else if curr == 'x' then
|
||||
andthenFn hexDigitFn hexDigitFn c (s.next input i)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue