diff options
Diffstat (limited to 'cpp.cpp')
-rw-r--r-- | cpp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ std::vector<Token> CPP::tokens_from_pptokens(std::vector<Token> pp_tokens) if (pp_types.find(token.type) != pp_types.end()) { if (token.type == "identifier") { if (keywords.find(token.value) != keywords.end()) - result.emplace_back(token.value, token.value); + result.emplace_back(Token{token.value, token.value}); else result.emplace_back(Token{"identifier"s, token.value}); } |