aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerSimple.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexlib/LexerSimple.cxx')
-rw-r--r--lexlib/LexerSimple.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/lexlib/LexerSimple.cxx b/lexlib/LexerSimple.cxx
index f741e0fef..3df15d32d 100644
--- a/lexlib/LexerSimple.cxx
+++ b/lexlib/LexerSimple.cxx
@@ -26,7 +26,9 @@
using namespace Scintilla;
#endif
-LexerSimple::LexerSimple(const LexerModule *module_) : module(module_) {
+LexerSimple::LexerSimple(const LexerModule *module_) :
+ LexerBase(module_->LexClasses(), module_->NamedStyles()),
+ module(module_) {
for (int wl = 0; wl < module->GetNumWordLists(); wl++) {
if (!wordLists.empty())
wordLists += "\n";