Change for to use statements instead of expressions for init and step

This commit is contained in:
Markus Hauschild
2013-06-01 18:32:04 +02:00
parent 5b794bb09d
commit 9630c64ad2
6 changed files with 19 additions and 19 deletions

View File

@@ -127,7 +127,7 @@ int main() {
lexertl::lookup (state_machine, results);
std::string s(results.start, results.end);
if (results.id != T_WHITESPACE) {
std::cout << "Id: " << results.id << ", Token: " << s << std::endl;
//std::cout << "Id: " << results.id << ", Token: " << s << std::endl;
scullyParser(parser, results.id, new Token(s), cv);
}
} while (results.id != 0);