Skip to content

Commit

Permalink
Fixed clang-tidy error
Browse files Browse the repository at this point in the history
  • Loading branch information
John Siegel committed Nov 6, 2023
1 parent ca3ef0c commit 0b7d04c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simplecpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1977,7 +1977,7 @@ namespace simplecpp {
}
throw Error(tok->location, "Missing parenthesis for __VA_OPT__(content)");
}
else if (expandArg(&temp, tok, loc, macros, expandedmacros, parametertokens)) {
if (expandArg(&temp, tok, loc, macros, expandedmacros, parametertokens)) {
if (tok->str() == "__VA_ARGS__" && temp.empty() && output->cback() && output->cback()->str() == "," &&
tok->nextSkipComments() && tok->nextSkipComments()->str() == ")")
output->deleteToken(output->back());
Expand Down

0 comments on commit 0b7d04c

Please sign in to comment.