mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00: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
Add a link
Reference in a new issue