aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexVerilog.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-06-22 17:25:07 +1000
committerNeil <nyamatongwe@gmail.com>2017-06-22 17:25:07 +1000
commite7375474b0697983b727a1efd32eb8b6bbbbd00d (patch)
tree157998ee0755ada4429c080a00a173eb84b07344 /lexers/LexVerilog.cxx
parent3cd8489f5082c7b95fe5be45caf7fbdfc191f056 (diff)
downloadscintilla-mirror-e7375474b0697983b727a1efd32eb8b6bbbbd00d.tar.gz
Merge Ilexer and ILexerWithSubStyles into ILexer4 to avoid need for version
checking in 4.0. Use lvRelease4 ID.
Diffstat (limited to 'lexers/LexVerilog.cxx')
-rw-r--r--lexers/LexVerilog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexVerilog.cxx b/lexers/LexVerilog.cxx
index 6be3392f1..aa6cd6d33 100644
--- a/lexers/LexVerilog.cxx
+++ b/lexers/LexVerilog.cxx
@@ -219,7 +219,7 @@ public:
}
virtual ~LexerVerilog() {}
int SCI_METHOD Version() const override {
- return lvSubStyles;
+ return lvRelease4;
}
void SCI_METHOD Release() override {
delete this;
@@ -277,7 +277,7 @@ public:
const char * SCI_METHOD GetSubStyleBases() override {
return styleSubable;
}
- static ILexer* LexerFactoryVerilog() {
+ static ILexer4* LexerFactoryVerilog() {
return new LexerVerilog();
}
static int MaskActive(int style) {