Commit 0928302b authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

lib/cppparser/lexer.cpp : In function tokenize() replace `for (;;)` by `while (!eof())`.

parent 9bdb466b
...@@ -492,7 +492,7 @@ void Lexer::tokenize() ...@@ -492,7 +492,7 @@ void Lexer::tokenize()
m_startLine = true; m_startLine = true;
m_size = 0; m_size = 0;
for (;;) { while (!eof()) {
Token tk(m_source); Token tk(m_source);
nextToken(tk); nextToken(tk);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment