aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/SciLexer.h
diff options
context:
space:
mode:
authorSiegeLord <slabode@aim.com>2014-07-29 14:45:14 -0400
committerSiegeLord <slabode@aim.com>2014-07-29 14:45:14 -0400
commit5bc323d082e8c7984cab85da59f2ee6d162cbb4f (patch)
treedc2e8fec1efa83fb58e8ac90857cc5b4a6334b22 /include/SciLexer.h
parent7f1984eb7e93fe6dc3677ca6cc80e96bc4889265 (diff)
downloadscintilla-mirror-5bc323d082e8c7984cab85da59f2ee6d162cbb4f.tar.gz
Rust: Highlight byte-string literals.
This adds support for two new string literals and one new string literal, corresponding to the existing versions of these. Compared to the originals, the new literals have slightly different escapes and are ASCII only. I've decided to simply add flags to the existing scanners to handle them. New styles had to be added to handle the line spanning string literals. The byte character style was added for consistency.
Diffstat (limited to 'include/SciLexer.h')
-rw-r--r--include/SciLexer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/SciLexer.h b/include/SciLexer.h
index 297843e29..673acb55d 100644
--- a/include/SciLexer.h
+++ b/include/SciLexer.h
@@ -1693,6 +1693,9 @@
#define SCE_RUST_LIFETIME 18
#define SCE_RUST_MACRO 19
#define SCE_RUST_LEXERROR 20
+#define SCE_RUST_BYTESTRING 21
+#define SCE_RUST_BYTESTRINGR 22
+#define SCE_RUST_BYTECHARACTER 23
#define SCE_DMAP_DEFAULT 0
#define SCE_DMAP_COMMENT 1
#define SCE_DMAP_NUMBER 2