doxygen: added a todo to simplify 'for' loops better in the tokenizer

This commit is contained in:
Daniel Marjamäki 2009-07-14 15:30:23 +02:00
parent 40ccd4d1ac
commit 54f676177e
1 changed files with 6 additions and 0 deletions

View File

@ -478,6 +478,12 @@ bool Tokenizer::tokenize(std::istream &code, const char FileName[])
// replace "unsigned i" with "unsigned int i"
unsignedint();
/**
* @todo simplify "for"
* - move out start-statement "for (a;b;c);" => "{ a; for(;b;c); }"
* - try to change "for" loop to a "while" loop instead
*/
// Split up variable declarations.
simplifyVarDecl();