aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexJSON.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexJSON.cxx')
-rw-r--r--lexers/LexJSON.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/lexers/LexJSON.cxx b/lexers/LexJSON.cxx
index 32b71926c..516aeb933 100644
--- a/lexers/LexJSON.cxx
+++ b/lexers/LexJSON.cxx
@@ -27,6 +27,7 @@
#include "CharacterSet.h"
#include "LexerModule.h"
#include "OptionSet.h"
+#include "DefaultLexer.h"
#ifdef SCI_NAMESPACE
using namespace Scintilla;
@@ -128,7 +129,7 @@ struct OptionSetJSON : public OptionSet<OptionsJSON> {
}
};
-class LexerJSON : public ILexer {
+class LexerJSON : public DefaultLexer {
OptionsJSON options;
OptionSetJSON optSetJSON;
EscapeSequence escapeSeq;