forked from OSchip/llvm-project
[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:
parent
52fe1aa994
commit
eec3705f58
|
@ -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_) {
|
||||
|
|
Loading…
Reference in New Issue