Fix dquote string escape sequences.
This commit is contained in:
parent
71c54f318f
commit
36c4f8951e
2 changed files with 1 additions and 3 deletions
|
@ -1986,7 +1986,7 @@ impl<T: Iterator<Item = char>> Scanner<T> {
|
|||
'e' => ret = '\x1b',
|
||||
' ' => ret = '\x20',
|
||||
'"' => ret = '"',
|
||||
'\'' => ret = '\'',
|
||||
'/' => ret = '/',
|
||||
'\\' => ret = '\\',
|
||||
// Unicode next line (#x85)
|
||||
'N' => ret = char::from_u32(0x85).unwrap(),
|
||||
|
|
|
@ -315,8 +315,6 @@ fn expected_events(expected_tree: &str) -> Vec<String> {
|
|||
#[rustfmt::skip]
|
||||
static EXPECTED_FAILURES: &[&str] = &[
|
||||
// Misc
|
||||
"3UYS", // Escaped /
|
||||
"HRE5", // Escaped ' in double-quoted (should not work)
|
||||
"QB6E", // Indent for multiline double-quoted scalar
|
||||
"S98Z", // Block scalar and indent problems?
|
||||
"U99R", // Comma is not allowed in tags
|
||||
|
|
Loading…
Reference in a new issue