hello neil!

Neil Hodgson wrote:
val SCLEX_OPAL=76

   That will have to be 77 since the Inno Setup lexer has gone in.

-----------------------------------------------------------
yes. fixed.
-----------------------------------------------------------



# Lexical states for SCLEX_OPAL
lex Opal=SCLEX_OPAL SCE_OPAL_
val SCE_OPAL_SPACE=0
val SCE_OPAL_COMMENT_BLOCK=1
val SCE_OPAL_COMMENT_LINE=2
val SCE_OPAL_INTEGER=3
val SCE_OPAL_KEYWORD=4
val SCE_OPAL_SORT=5
val SCE_OPAL_STRING=6
val SCE_OPAL_PAR=7
val SCE_OPAL_DEFAULT=32

   These look the same as the download.

-----------------------------------------------------------
right, just the first mail contained old values.
-----------------------------------------------------------



   Various compilers give warnings for "while( true )" so this should
be replaced with "for (;;)". There is an unused parameter one_too_much
in HandlePar.

-----------------------------------------------------------
while-true is fixed.
one_too_much is fixed.

the zipfile below contains:
* updated lexer (LexOpal.cxx)
* updated properties (opal.properties)
* updated iface extension (add_me_to_iface.txt)

http://www.hartwork.org/cgi-bin/download.cgi?file=public/opal_scite_lexer_only_20060202.zip

i added another constant SCE_OPAL_BOOL_CONST = 8
for extra highlighting of "true" and "false"
so the complete up to date iface extension
(very same as in <add_me_to_iface.txt>) is now:


===========================================================
val SCLEX_OPAL=77

...

# Lexical states for SCLEX_OPAL
lex Opal=SCLEX_OPAL SCE_OPAL_
val SCE_OPAL_SPACE=0
val SCE_OPAL_COMMENT_BLOCK=1
val SCE_OPAL_COMMENT_LINE=2
val SCE_OPAL_INTEGER=3
val SCE_OPAL_KEYWORD=4
val SCE_OPAL_SORT=5
val SCE_OPAL_STRING=6
val SCE_OPAL_PAR=7
val SCE_OPAL_BOOL_CONST=8
val SCE_OPAL_DEFAULT=32
===========================================================


best regards, sebastian

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to