mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 04:54:29 -04:00
Some small tidy ups
This commit is contained in:
committed by
Luis Ángel San Martín
parent
673ee1f067
commit
30529dca43
@ -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) {
|
||||
|
Reference in New Issue
Block a user