diff options
Diffstat (limited to 'src/Catalogue.cxx')
-rw-r--r-- | src/Catalogue.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/Catalogue.cxx b/src/Catalogue.cxx index feded303b..a6aed901d 100644 --- a/src/Catalogue.cxx +++ b/src/Catalogue.cxx @@ -24,7 +24,6 @@ using namespace Scintilla; static std::vector<LexerModule *> lexerCatalogue; -static int nextLanguage = SCLEX_AUTOMATIC+1; const LexerModule *Catalogue::Find(int language) { Scintilla_LinkLexers(); @@ -49,10 +48,6 @@ const LexerModule *Catalogue::Find(const char *languageName) { } void Catalogue::AddLexerModule(LexerModule *plm) { - if (plm->GetLanguage() == SCLEX_AUTOMATIC) { - plm->language = nextLanguage; - nextLanguage++; - } lexerCatalogue.push_back(plm); } |