projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52fe1aa
)
[flang] Fix __VA_ARGS__, was broken due to typo.
author
peter klausler
<pklausler@nvidia.com>
Tue, 3 Apr 2018 22:50:25 +0000
(15:50 -0700)
committer
peter klausler
<pklausler@nvidia.com>
Tue, 3 Apr 2018 22:50:25 +0000
(15:50 -0700)
Original-commit: flang-compiler/f18@
ba90b1fc27fc18ba045a033ec27e458cd6b2e958
Reviewed-on: https://github.com/flang-compiler/f18/pull/42
Tree-same-pre-rewrite: false
flang/lib/parser/preprocessor.cc
patch
|
blob
|
history
diff --git
a/flang/lib/parser/preprocessor.cc
b/flang/lib/parser/preprocessor.cc
index
913e0da
..
07b23e8
100644
(file)
--- a/
flang/lib/parser/preprocessor.cc
+++ b/
flang/lib/parser/preprocessor.cc
@@
-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_ARG
s
__") {
+ token.ToString() == "__VA_ARG
S
__") {
Provenance commaProvenance{allSources.CompilerInsertionProvenance(',')};
for (std::size_t k{argumentCount_}; k < args.size(); ++k) {
if (k > argumentCount_) {