diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-28 22:51:43 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-28 22:51:43 +0100 |
commit | 1998b8d35478205118cea5cc215c682b235434f1 (patch) | |
tree | 7a0f04f8b52843d9cbdb622d476a90604c48ff7a /akonadish/syntaxtree.cpp | |
parent | ac0e1de3a3895b0e62231364499a2c3327fd74f0 (diff) | |
parent | cc5363fe4b0cd4ea95ac98d9d37f2028fe226145 (diff) | |
download | sink-1998b8d35478205118cea5cc215c682b235434f1.tar.gz sink-1998b8d35478205118cea5cc215c682b235434f1.zip |
Merge branch 'develop' of git://anongit.kde.org/akonadi-next into develop
Diffstat (limited to 'akonadish/syntaxtree.cpp')
-rw-r--r-- | akonadish/syntaxtree.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/akonadish/syntaxtree.cpp b/akonadish/syntaxtree.cpp index 495ad22..4860582 100644 --- a/akonadish/syntaxtree.cpp +++ b/akonadish/syntaxtree.cpp | |||
@@ -168,6 +168,11 @@ Syntax::List SyntaxTree::nearestSyntax(const QStringList &words, const QString & | |||
168 | return matches; | 168 | return matches; |
169 | } | 169 | } |
170 | 170 | ||
171 | State &SyntaxTree::state() | ||
172 | { | ||
173 | return m_state; | ||
174 | } | ||
175 | |||
171 | QStringList SyntaxTree::tokenize(const QString &text) | 176 | QStringList SyntaxTree::tokenize(const QString &text) |
172 | { | 177 | { |
173 | //TODO: properly tokenize (e.g. "foo bar" should not become ['"foo', 'bar"']a | 178 | //TODO: properly tokenize (e.g. "foo bar" should not become ['"foo', 'bar"']a |