aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
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/Scintilla.iface
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/Scintilla.iface')
-rw-r--r--include/Scintilla.iface3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 51e9c4735..cfbc7bc9f 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -4458,6 +4458,9 @@ val SCE_RUST_IDENTIFIER=17
val SCE_RUST_LIFETIME=18
val SCE_RUST_MACRO=19
val SCE_RUST_LEXERROR=20
+val SCE_RUST_BYTESTRING=21
+val SCE_RUST_BYTESTRINGR=22
+val SCE_RUST_BYTECHARACTER=23
# Lexical states for SCLEX_DMAP
lex DMAP=SCLEX_DMAP SCE_DMAP_
val SCE_DMAP_DEFAULT=0