[flang-commits] [flang] [flang] Ensure directive sentinels are in cols 1-5 in pp output (PR #119406)
via flang-commits
flang-commits at lists.llvm.org
Mon Dec 16 05:52:50 PST 2024
================
@@ -159,8 +159,9 @@ void Parsing::EmitPreprocessedSource(
// which signifies a comment (directive) in both source forms.
inDirective = true;
}
- if (inDirective && directive.size() < directiveNameLength &&
- IsLetter(ch)) {
+ bool inDirectiveSentinel =
----------------
macurtis-amd wrote:
@klausler Thanks for looking at this!
Changed to braced initialization.
https://github.com/llvm/llvm-project/pull/119406
More information about the flang-commits
mailing list