From aff335283c4ea47a38375ef6950ee2c285ddee70 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 From b0296d86a48642f2f381c3e0b11a022482ae25e3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 24 May 2014 15:15:49 +1000 Subject: Header include statements are now in a standardised order with that order defined in scripts/HeaderOrder.txt. --- lexlib/LexerModule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lexlib/LexerModule.cxx') diff --git a/lexlib/LexerModule.cxx b/lexlib/LexerModule.cxx index 5b25f84ec..6cefbee77 100644 --- a/lexlib/LexerModule.cxx +++ b/lexlib/LexerModule.cxx @@ -8,9 +8,9 @@ #include #include #include -#include #include #include +#include #include -- cgit v1.2.3