C-style /*comments*/ are removed during preprocessing directive
tokenization, but Fortran !comments need to be specifically
allowed.
Fixes LLVM bugzilla 47466.
Paths
| Differential D87638
[flang] Allow Fortran comments after #include path ClosedPublic Authored by klausler on Sep 14 2020, 2:50 PM.
Details Summary C-style /*comments*/ are removed during preprocessing directive Fixes LLVM bugzilla 47466.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 14 2020, 3:16 PM Closed by commit rG4706880f06fb: [flang] Allow Fortran comments after #include path (authored by klausler). · Explain WhySep 14 2020, 4:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 291737 flang/lib/Parser/preprocessor.cpp
flang/test/Preprocessing/include-comment.F90
|