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:
f8c80f9
)
[flang] Final tweak before review
author
peter klausler
<pklausler@nvidia.com>
Mon, 18 Mar 2019 20:05:21 +0000
(13:05 -0700)
committer
peter klausler
<pklausler@nvidia.com>
Mon, 18 Mar 2019 20:05:21 +0000
(13:05 -0700)
Original-commit: flang-compiler/f18@
5dda7b2f658198b21a35edc295a488ebada84244
Reviewed-on: https://github.com/flang-compiler/f18/pull/339
Tree-same-pre-rewrite: false
flang/lib/parser/prescan.cc
patch
|
blob
|
history
diff --git
a/flang/lib/parser/prescan.cc
b/flang/lib/parser/prescan.cc
index
2b3590d
..
16cb11e
100644
(file)
--- a/
flang/lib/parser/prescan.cc
+++ b/
flang/lib/parser/prescan.cc
@@
-398,7
+398,7
@@
bool Prescanner::NextToken(TokenSequence &tokens) {
if (*at_ == '\n') {
// Discard white space at the end of a line.
} else if (!inPreprocessorDirective_ &&
- (previous == '(' || *at_ == ')')) {
+ (previous == '(' || *at_ == '
(' || *at_ == '
)')) {
// Discard white space before/after parentheses, unless in a
// preprocessor directive. This helps yield space-free contiguous
// names for generic interfaces like OPERATOR( + ) and