diff options
author | Zufu Liu <unknown> | 2019-09-30 12:15:31 +1000 |
---|---|---|
committer | Zufu Liu <unknown> | 2019-09-30 12:15:31 +1000 |
commit | af271ed3f65cf6cd9b38a467960d6ae9f2c2ad22 (patch) | |
tree | 96c343aa5886e0c5733f871a29e186feeca2cec2 /lexlib/WordList.h | |
parent | 10a7ea9032f2d5e21e396226588ae51bec28acf3 (diff) | |
download | scintilla-mirror-af271ed3f65cf6cd9b38a467960d6ae9f2c2ad22.tar.gz |
Feature [feature-requests:#1305] Optimize setting up keyword lists in lexers.
Avoids splitting and sorting the input twice.
Diffstat (limited to 'lexlib/WordList.h')
-rw-r--r-- | lexlib/WordList.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexlib/WordList.h b/lexlib/WordList.h index a9f2d4ab2..c1253cec6 100644 --- a/lexlib/WordList.h +++ b/lexlib/WordList.h @@ -26,7 +26,7 @@ public: bool operator!=(const WordList &other) const; int Length() const; void Clear(); - void Set(const char *s); + bool Set(const char *s); bool InList(const char *s) const; bool InListAbbreviated(const char *s, const char marker) const; bool InListAbridged(const char *s, const char marker) const; |