Neil Hodgson wrote:
   Hi Philippe,

I have the pleasure to officially release (hoping for official
integration in Scintilla) a lexer for the AutoHotkey language

   Looks like there is some dead code here:

Warning W8057 ..\src\LexAHK.cxx 76: Parameter 'styler' is never used
in function HighlightKeyword(char *,StyleContext &,WordList *
*,Accessor &)

Perhaps I should get rid of it (or of this warning by using the variable). I just kept the main function signature, for consistency.

Warning W8004 ..\src\LexAHK.cxx 417: 'bStart' is assigned a value that
is never used in function ColouriseAHKDoc(unsigned
int,int,int,WordList * *,Accessor &)
Warning W8004 ..\src\LexAHK.cxx 417: 'bAfterLabel' is assigned a value
that is never used in function ColouriseAHKDoc(unsigned
int,int,int,WordList * *,Accessor &)
Warning W8004 ..\src\LexAHK.cxx 478: 'endFound' is assigned a value
that is never used in function FoldAHKDoc(unsigned
int,int,int,WordList * *,Accessor &)

It is a work in progress (but already working OK), some future features are not yet implemented. If you are reluctant to include this lexer in its current state, I will repost a message when I think it has become more stable.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --
_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to