mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05:00
LibCpp: Fix lexing of IncludePath token
Previously, there was a duplicate IncludePath token in the lexing result.
This commit is contained in:
parent
bed60b2d49
commit
b67a090b79
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ Vector<Token> Preprocessor::process_and_lex()
|
||||||
m_processed_tokens.append(tokens[token_index]);
|
m_processed_tokens.append(tokens[token_index]);
|
||||||
m_processed_tokens.append(tokens[token_index + 1]);
|
m_processed_tokens.append(tokens[token_index + 1]);
|
||||||
}
|
}
|
||||||
|
++token_index; // Also skip IncludePath token
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue