diff options
author | nyamatongwe <devnull@localhost> | 2002-04-03 01:58:48 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2002-04-03 01:58:48 +0000 |
commit | 154254a66aebb4cf40616c0a80c1b57c5560d3c8 (patch) | |
tree | 7117f177a62465861a86aa3ef40473032d1e687b /src/LexPerl.cxx | |
parent | 8947d717a43f3026cf3d246e43698d7ba266feaf (diff) | |
download | scintilla-mirror-154254a66aebb4cf40616c0a80c1b57c5560d3c8.tar.gz |
Patch from Brian Quinlan to include metdata about keyword lists within
lexers.
Diffstat (limited to 'src/LexPerl.cxx')
-rw-r--r-- | src/LexPerl.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
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); |