From 91f29f5b146453e67e15f8e91571b0f806526d1f Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 21 Jul 2015 21:46:40 +0200 Subject: fixed scite2co.lua: use SCI_SETLEXERLANGUAGE instead of SCI_SETLEXER * the lexer names used in SciTE property files are not SCLEX constants but the internal LexerModule names, so auto-generated SciTECO lexer configurations can only be set by name, i.e. via SETLEXERLANGUAGE, since we cannot easily map those names to SCLEX constants. * should be about as fast as using SCI_SETLEXER (since SciTECO has to look up symbolic names as well at runtime). * this especially fixes opening *.mak files -- often Makefiles but identified as "Mako" files. The macro "lexer.set.mako" used the wrong SCLEX_ symbol. * will also fix the HTML and all other lexers that use the SCLEX_HTML/hypertext lexer. * all lexer files have been updated, to be more compatible with scite2co.lua's output. This eases lexer updates in the future. --- lib/lexers/systemverilog.tes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lexers/systemverilog.tes') diff --git a/lib/lexers/systemverilog.tes b/lib/lexers/systemverilog.tes index 9e5c696..55a780d 100644 --- a/lib/lexers/systemverilog.tes +++ b/lib/lexers/systemverilog.tes @@ -6,7 +6,7 @@ Q.r} @[lexer.set.systemverilog]{ - ESSETLEXER,SCLEX_VERILOG + ESSETLEXERLANGUAGEverilog 0ESSETKEYWORDS alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf bufif0 bufif1 byte case casex -- cgit v1.2.3