CLI: Removed silly object qualification context.cli.dump() -> dump()

This commit is contained in:
Paul Beckingham 2015-06-07 12:41:27 -04:00
parent ae0a0f671a
commit f0fbdaf2c9
3 changed files with 23 additions and 36 deletions

View file

@ -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";
*/
}
}