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 | 632bf5eb1f2825ac1c7f4c9850462ad1fe68990d (patch) | |
| tree | b1cf3d120610339493691d2f77514ece5b2132d3 /lexlib/WordList.h | |
| parent | 44b175314f0b875e6d3fa0664ad2c0133e4542f9 (diff) | |
| download | scintilla-mirror-632bf5eb1f2825ac1c7f4c9850462ad1fe68990d.tar.gz | |
Backport: Feature [feature-requests:#1305] Optimize setting up keyword lists in lexers.
Avoids splitting and sorting the input twice.
Backport of changeset 7697:f0848608c92c.
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; |
