From 8da95eb2804bcba36bb3b5283d5ea7d3eb926401 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 19 May 2009 23:39:43 +0000 Subject: Applied FR #2793782 D lexer update: Fixed nasty comment which was highlighted wrong by viewvc. Added support for unicode chars in identifiers as per D spec. Added 3 extra keyword groups. Strings are multiline in D. Slightly more careful number parsing: don't parse 0..2 as number, parse decimal and hex floats. Support for two types of wysiwyg strings. Some support for hex strings (no escape sequences). --- include/SciLexer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/SciLexer.h') diff --git a/include/SciLexer.h b/include/SciLexer.h index d9836fdb7..f136d9931 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -165,6 +165,11 @@ #define SCE_D_COMMENTLINEDOC 15 #define SCE_D_COMMENTDOCKEYWORD 16 #define SCE_D_COMMENTDOCKEYWORDERROR 17 +#define SCE_D_STRINGB 18 +#define SCE_D_STRINGR 19 +#define SCE_D_WORD5 20 +#define SCE_D_WORD6 21 +#define SCE_D_WORD7 22 #define SCE_TCL_DEFAULT 0 #define SCE_TCL_COMMENT 1 #define SCE_TCL_COMMENTLINE 2 -- cgit v1.2.3