Commit 42f849c4 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Fixed line/column position after macro expansion.

Task-Number: QTCREATORBUG-409
parent 5373017a
...@@ -746,6 +746,9 @@ bool Preprocessor::markGeneratedTokens(bool markGeneratedTokens, ...@@ -746,6 +746,9 @@ bool Preprocessor::markGeneratedTokens(bool markGeneratedTokens,
else else
out(*it); out(*it);
} }
if (! markGeneratedTokens && dot->newline())
processNewline(/*force = */ true);
} }
return previous; return previous;
......
Supports Markdown
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