[flang] Improve comment
authorpeter klausler <pklausler@nvidia.com>
Mon, 18 Mar 2019 20:43:03 +0000 (13:43 -0700)
committerpeter 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

index 16cb11e..ab0814b 100644 (file)
@@ -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).