From 3e36fa6f3ea27bb64ce42bdd1a5b50b52dc6bb04 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 13 Apr 2001 04:55:04 +0000 Subject: Start of new lexer infrastructure. Lexers can have a fold function as well as a lexer function. They can be identified by string name as well as an integer ID and may ask to be automatically assigned that ID. --- src/LexCPP.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/LexCPP.cxx') diff --git a/src/LexCPP.cxx b/src/LexCPP.cxx index 966601ed3..826ac259f 100644 --- a/src/LexCPP.cxx +++ b/src/LexCPP.cxx @@ -328,7 +328,6 @@ static void ColouriseCppDoc(unsigned int startPos, int length, int initStyle, Wo } styler.ColourTo(lengthDoc - 1, state); styler.Flush(); - FoldCppDoc(startPos, length, initStyle, keywordlists, styler); } -LexerModule lmCPP(SCLEX_CPP, ColouriseCppDoc); +LexerModule lmCPP(SCLEX_CPP, ColouriseCppDoc, "cpp", FoldCppDoc); -- cgit v1.2.3