[flang-commits] [flang] [flang] Fix #else with trailing text (PR #138045)
Peter Klausler via flang-commits
flang-commits at lists.llvm.org
Wed Apr 30 15:32:15 PDT 2025
================
@@ -684,7 +684,9 @@ void Preprocessor::Directive(const TokenSequence &dir, Prescanner &prescanner) {
dir.GetIntervalProvenanceRange(j, tokens - j),
"#else: excess tokens at end of directive"_port_en_US);
}
- } else if (ifStack_.empty()) {
+ }
+
----------------
klausler wrote:
This blank line doesn't conform to the style used in this function.
https://github.com/llvm/llvm-project/pull/138045
More information about the flang-commits
mailing list