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

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;
}