aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/lexers/mmixal.tes
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2015-07-21 21:46:40 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2015-07-21 21:46:40 +0200
commit91f29f5b146453e67e15f8e91571b0f806526d1f (patch)
tree138ce33ded4eb3e99c2d3b837ad22ebf34155cca /lib/lexers/mmixal.tes
parent789c72c06e6d01d8cc51103219475657b3ea4877 (diff)
downloadsciteco-91f29f5b146453e67e15f8e91571b0f806526d1f.tar.gz
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.
Diffstat (limited to 'lib/lexers/mmixal.tes')
-rw-r--r--lib/lexers/mmixal.tes2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lexers/mmixal.tes b/lib/lexers/mmixal.tes
index c801670..3193e18 100644
--- a/lib/lexers/mmixal.tes
+++ b/lib/lexers/mmixal.tes
@@ -5,7 +5,7 @@
}
@[lexer.set.mmixal]{
- ESSETLEXER,SCLEX_MMIXAL
+ ESSETLEXERLANGUAGEmmixal
0ESSETKEYWORDS
2ADDU 4ADDU 8ADDU 16ADDU ADD ADDU AND ANDNH ANDNL ANDNMH ANDNML BDIF BEV BN
BNN BNP BNZ BOD BP BSPEC BYTE BZ CMP CMPU CSEV CSN CSNN CSNP CSNZ CSOD CSP CSWAP