1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

LibCpp: Fix lexing of IncludePath token

Previously, there was a duplicate IncludePath token in the lexing
result.
This commit is contained in:
Itamar 2022-02-05 20:28:36 +02:00 committed by Andreas Kling
parent bed60b2d49
commit b67a090b79
Notes: sideshowbarker 2024-07-17 19:07:56 +09:00

View file

@ -46,6 +46,7 @@ Vector<Token> Preprocessor::process_and_lex()
m_processed_tokens.append(tokens[token_index]);
m_processed_tokens.append(tokens[token_index + 1]);
}
++token_index; // Also skip IncludePath token
continue;
}