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,
else
out(*it);
}
if (! markGeneratedTokens && dot->newline())
processNewline(/*force = */ true);
}
return previous;
......
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