diff options
Diffstat (limited to 'lexers/LexBaan.cxx')
-rw-r--r-- | lexers/LexBaan.cxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lexers/LexBaan.cxx b/lexers/LexBaan.cxx index c26b2fda1..80b4f40ab 100644 --- a/lexers/LexBaan.cxx +++ b/lexers/LexBaan.cxx @@ -393,14 +393,14 @@ class LexerBaan : public DefaultLexer { OptionsBaan options; OptionSetBaan osBaan; public: - LexerBaan() { + LexerBaan() : DefaultLexer("baan", SCLEX_BAAN) { } virtual ~LexerBaan() { } int SCI_METHOD Version() const override { - return lvRelease4; + return lvRelease5; } void SCI_METHOD Release() override { @@ -421,6 +421,10 @@ public: Sci_Position SCI_METHOD PropertySet(const char *key, const char *val) override; + const char * SCI_METHOD PropertyGet(const char *key) override { + return osBaan.PropertyGet(key); + } + const char * SCI_METHOD DescribeWordListSets() override { return osBaan.DescribeWordListSets(); } @@ -435,7 +439,7 @@ public: return NULL; } - static ILexer4 * LexerFactoryBaan() { + static ILexer5 * LexerFactoryBaan() { return new LexerBaan(); } }; |