From fe94b9bc3359944c1762648dadf2b1d18cfe422e Mon Sep 17 00:00:00 2001 From: SiegeLord Date: Tue, 29 Jul 2014 14:45:14 -0400 Subject: 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. --- include/Scintilla.iface | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/Scintilla.iface') 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 -- cgit v1.2.3