From d268b6e3a8ea565b0c255c8ac45ca442b98a37f8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 13 Apr 2001 05:19:52 +0000 Subject: Added a string name to each lexer. Made it possible for LexerModule to be subclassed so that its Lex and Fold methods can be specialised to work across DLL boundaries. --- src/LexHTML.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/LexHTML.cxx') diff --git a/src/LexHTML.cxx b/src/LexHTML.cxx index 2f0c72851..41c30d735 100644 --- a/src/LexHTML.cxx +++ b/src/LexHTML.cxx @@ -1314,6 +1314,6 @@ static void ColouriseHyperTextDoc(unsigned int startPos, int length, int initSty } } -LexerModule lmHTML(SCLEX_HTML, ColouriseHyperTextDoc); -LexerModule lmXML(SCLEX_XML, ColouriseHyperTextDoc); +LexerModule lmHTML(SCLEX_HTML, ColouriseHyperTextDoc, "hypertext"); +LexerModule lmXML(SCLEX_XML, ColouriseHyperTextDoc, "xml"); -- cgit v1.2.3