From 14483d14cbf29366f6f0839bd3683f3bfb8c046a Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 24 May 2014 09:29:24 +1000 Subject: Removing style byte indicators. --- lexlib/LexerModule.cxx | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'lexlib/LexerModule.cxx') diff --git a/lexlib/LexerModule.cxx b/lexlib/LexerModule.cxx index c77b31775..5b25f84ec 100644 --- a/lexlib/LexerModule.cxx +++ b/lexlib/LexerModule.cxx @@ -34,28 +34,24 @@ LexerModule::LexerModule(int language_, LexerFunction fnLexer_, const char *languageName_, LexerFunction fnFolder_, - const char *const wordListDescriptions_[], - int styleBits_) : + const char *const wordListDescriptions_[]) : language(language_), fnLexer(fnLexer_), fnFolder(fnFolder_), fnFactory(0), wordListDescriptions(wordListDescriptions_), - styleBits(styleBits_), languageName(languageName_) { } LexerModule::LexerModule(int language_, LexerFactoryFunction fnFactory_, const char *languageName_, - const char * const wordListDescriptions_[], - int styleBits_) : + const char * const wordListDescriptions_[]) : language(language_), fnLexer(0), fnFolder(0), fnFactory(fnFactory_), wordListDescriptions(wordListDescriptions_), - styleBits(styleBits_), languageName(languageName_) { } @@ -82,10 +78,6 @@ const char *LexerModule::GetWordListDescription(int index) const { } } -int LexerModule::GetStyleBitsNeeded() const { - return styleBits; -} - ILexer *LexerModule::Create() const { if (fnFactory) return fnFactory(); -- cgit v1.2.3