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:
cf8f173
)
[flang] Improve comment
author
peter klausler
<pklausler@nvidia.com>
Mon, 18 Mar 2019 20:43:03 +0000
(13:43 -0700)
committer
peter klausler
<pklausler@nvidia.com>
Mon, 18 Mar 2019 20:43:03 +0000
(13:43 -0700)
Original-commit: flang-compiler/f18@
140ebe060e31ffcdbcc2d069249fbd0d18c598c5
Reviewed-on: https://github.com/flang-compiler/f18/pull/339
flang/lib/parser/prescan.cc
patch
|
blob
|
history
diff --git
a/flang/lib/parser/prescan.cc
b/flang/lib/parser/prescan.cc
index
16cb11e
..
ab0814b
100644
(file)
--- a/
flang/lib/parser/prescan.cc
+++ b/
flang/lib/parser/prescan.cc
@@
-399,7
+399,7
@@
bool Prescanner::NextToken(TokenSequence &tokens) {
// Discard white space at the end of a line.
} else if (!inPreprocessorDirective_ &&
(previous == '(' || *at_ == '(' || *at_ == ')')) {
- // Discard white space before/after
parentheses
, unless in a
+ // Discard white space before/after
'(' and before ')'
, unless in a
// preprocessor directive. This helps yield space-free contiguous
// names for generic interfaces like OPERATOR( + ) and
// READ ( UNFORMATTED ), without misinterpreting #define f (notAnArg).