aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/WordList.h
diff options
context:
space:
mode:
authorZufu Liu <unknown>2019-09-30 12:15:31 +1000
committerZufu Liu <unknown>2019-09-30 12:15:31 +1000
commit632bf5eb1f2825ac1c7f4c9850462ad1fe68990d (patch)
treeb1cf3d120610339493691d2f77514ece5b2132d3 /lexlib/WordList.h
parent44b175314f0b875e6d3fa0664ad2c0133e4542f9 (diff)
downloadscintilla-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.h2
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;