Some small tidy ups

This commit is contained in:
Iain Benson
2018-11-24 10:27:09 +00:00
committed by Luis Ángel San Martín
parent 673ee1f067
commit 30529dca43
3 changed files with 18 additions and 30 deletions

View File

@ -148,17 +148,7 @@ QueryParser::FieldType QueryParser::fieldType(const std::string& str) {
}
void QueryParser::tokenize (const std::string& expr) {
// TODO: Strip out escaped backslashes, quotes and parens so that the
// lex scanner doesn't get confused. We put them back later.
iter = lexertl::siterator(expr.begin(), expr.end(), sm);
/* for (; !isEof() ; advance())
{
std::cout << "Id: " << iter->id << ", Token: '" << token() << "'\n";
}
iter = lexertl::siterator(expr.begin(), expr.end(), sm);
*/
}
std::string QueryParser::join(const std::vector<std::string>& strings, const std::string& delim) {