Allow single quote to be escaped in strings.
This commit is contained in:
parent
a9cc5066ee
commit
3819b6b3d1
@ -602,6 +602,7 @@ fn next_token_inner(rdr: string_reader) -> token::token {
|
||||
'r' { str::push_char(accum_str, '\r'); }
|
||||
't' { str::push_char(accum_str, '\t'); }
|
||||
'\\' { str::push_char(accum_str, '\\'); }
|
||||
'\'' { str::push_char(accum_str, '\''); }
|
||||
'"' { str::push_char(accum_str, '"'); }
|
||||
'\n' { consume_whitespace(rdr); }
|
||||
'x' {
|
||||
|
Loading…
x
Reference in New Issue
Block a user