mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CLI: Removed silly object qualification context.cli.dump() -> dump()
This commit is contained in:
parent
ae0a0f671a
commit
f0fbdaf2c9
3 changed files with 23 additions and 36 deletions
10
src/lex.cpp
10
src/lex.cpp
|
@ -12,19 +12,9 @@ int main (int argc, char** argv)
|
|||
{
|
||||
std::cout << "argument '" << argv[i] << "'\n";
|
||||
|
||||
// Low-level tokens.
|
||||
Lexer lexer (argv[i]);
|
||||
std::string token;
|
||||
Lexer::Type type;
|
||||
while (lexer.token (token, type))
|
||||
std::cout << " token '" << token << "' " << Lexer::typeToString (type) << "\n";
|
||||
|
||||
/*
|
||||
// High-level tokens.
|
||||
auto all = Lexer::tokens (argv[i]);
|
||||
for (auto token : Lexer::tokens (argv[i]))
|
||||
std::cout << " token '" << token.first << "' " << Lexer::typeToString (token.second) << "\n";
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue