fix(library/init/lean/parser/parser): typo at quotedCharFn

This commit is contained in:
Leonardo de Moura 2019-07-16 10:48:17 -07:00
parent 0dcdc2c198
commit 6f31f6a38f

View file

@ -579,7 +579,7 @@ def quotedCharFn : BasicParserFn
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 == 'n' || curr == 't' then
s.next input i
else if curr == 'x' then
andthenAux hexDigitFn hexDigitFn c (s.next input i)