Skip to content
Snippets Groups Projects
Commit 45d7eb9a authored by Erik Verbruggen's avatar Erik Verbruggen
Browse files

Fixed invalid skipping of pound tokens.

Done-with: Roberto Raggi
parent 7ccab966
No related branches found
No related tags found
No related merge requests found
......@@ -203,7 +203,7 @@ void TranslationUnit::tokenize()
lex(&tk);
_Lrecognize:
if (tk.is(T_POUND)) {
if (tk.is(T_POUND) && tk.newline()) {
unsigned offset = tk.offset;
lex(&tk);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment