about summary refs log tree commit diff
path: root/src/libsyntax/parse/unescape.rs
AgeCommit message (Collapse)AuthorLines
2019-05-02introduce unescape moduleAleksey Kladov-0/+515
Currently, we deal with escape sequences twice: once when we lex a string, and a second time when we unescape literals. This PR aims to remove this duplication, by introducing a new `unescape` mode as a single source of truth for character escaping rules