From 154254a66aebb4cf40616c0a80c1b57c5560d3c8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 3 Apr 2002 01:58:48 +0000 Subject: Patch from Brian Quinlan to include metdata about keyword lists within lexers. --- src/LexPerl.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/LexPerl.cxx') diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx index 76dc48de6..1715009c9 100644 --- a/src/LexPerl.cxx +++ b/src/LexPerl.cxx @@ -659,4 +659,9 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle, styler.ColourTo(lengthDoc - 1, state); } -LexerModule lmPerl(SCLEX_PERL, ColourisePerlDoc, "perl"); +static const char * const perlWordListDesc[] = { + "Perl keywords", + 0 +}; + +LexerModule lmPerl(SCLEX_PERL, ColourisePerlDoc, "perl", 0, perlWordListDesc); -- cgit v1.2.3