diff options
| author | Micah Chalmer <micah@micahchalmer.net> | 2015-02-23 20:21:49 -0500 |
|---|---|---|
| committer | Micah Chalmer <micah@micahchalmer.net> | 2015-02-23 20:21:49 -0500 |
| commit | 766bd8279b18bcbf6af0b8fea370c85414e407c4 (patch) | |
| tree | 3b9d1722ac646cf59c911dd2bf5801d3e6496d7c /rust-mode.el | |
| parent | 22c8cfaccf6012dd6e753a10cc5fe5c8867f5c7d (diff) | |
| download | rust-mode-766bd8279b18bcbf6af0b8fea370c85414e407c4.tar.gz | |
Parse '\\' and '\"' as char literals
Diffstat (limited to 'rust-mode.el')
| -rw-r--r-- | rust-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust-mode.el b/rust-mode.el index c82a484..9a6eb5f 100644 --- a/rust-mode.el +++ b/rust-mode.el @@ -423,7 +423,7 @@ ;; Handle single quoted character literals: (mapcar (lambda (re) (list re '(1 "\"") '(2 "\""))) '("\\('\\)[^']\\('\\)" - "\\('\\)\\\\['nrt]\\('\\)" + "\\('\\)\\\\['nrt\"\\]\\('\\)" "\\('\\)\\\\x[[:xdigit:]]\\{2\\}\\('\\)" "\\('\\)\\\\u[[:xdigit:]]\\{4\\}\\('\\)" "\\('\\)\\\\U[[:xdigit:]]\\{8\\}\\('\\)")) |
