[all-commits] [llvm/llvm-project] f48f84: [flang] Fix prescanner bug w/ empty macros in line...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Wed May 28 14:02:16 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f48f844f3ccef16dc5bb3ac6e7be582f01d45317
https://github.com/llvm/llvm-project/commit/f48f844f3ccef16dc5bb3ac6e7be582f01d45317
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2025-05-28 (Wed, 28 May 2025)
Changed paths:
M flang/lib/Parser/prescan.cpp
A flang/test/Preprocessing/bug890.F90
Log Message:
-----------
[flang] Fix prescanner bug w/ empty macros in line continuation (#141274)
When processing free form source line continuation, the prescanner
treats empty keyword macros as if they were spaces or tabs. After
skipping over them, however, there's code that only works if the skipped
characters ended with an actual space or tab. If the last skipped item
was an empty keyword macro's name, the last character of that name would
end up being the first character of the continuation line. Fix.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list