diff options
author | Neil <nyamatongwe@gmail.com> | 2017-06-22 17:25:07 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-06-22 17:25:07 +1000 |
commit | e7375474b0697983b727a1efd32eb8b6bbbbd00d (patch) | |
tree | 157998ee0755ada4429c080a00a173eb84b07344 /lexers/LexAsm.cxx | |
parent | 3cd8489f5082c7b95fe5be45caf7fbdfc191f056 (diff) | |
download | scintilla-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/LexAsm.cxx')
-rw-r--r-- | lexers/LexAsm.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lexers/LexAsm.cxx b/lexers/LexAsm.cxx index 16b32443c..d236ed657 100644 --- a/lexers/LexAsm.cxx +++ b/lexers/LexAsm.cxx @@ -162,7 +162,7 @@ public: delete this; } int SCI_METHOD Version() const override { - return lvOriginal; + return lvRelease4; } const char * SCI_METHOD PropertyNames() override { return osAsm.PropertyNames(); @@ -185,11 +185,11 @@ public: return 0; } - static ILexer *LexerFactoryAsm() { + static ILexer4 *LexerFactoryAsm() { return new LexerAsm(';'); } - static ILexer *LexerFactoryAs() { + static ILexer4 *LexerFactoryAs() { return new LexerAsm('#'); } }; |