[flang] Fix __VA_ARGS__, was broken due to typo.

Original-commit: flang-compiler/f18@ba90b1fc27
Reviewed-on: https://github.com/flang-compiler/f18/pull/42
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler 2018-04-03 15:50:25 -07:00
parent 52fe1aa994
commit eec3705f58
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ TokenSequence Definition::Apply(
} else if (pasting && token.IsBlank()) {
// Delete whitespace immediately following ## in the body.
} else if (bytes == 11 && isVariadic_ &&
token.ToString() == "__VA_ARGs__") {
token.ToString() == "__VA_ARGS__") {
Provenance commaProvenance{allSources.CompilerInsertionProvenance(',')};
for (std::size_t k{argumentCount_}; k < args.size(); ++k) {
if (k > argumentCount_) {