-
Notifications
You must be signed in to change notification settings - Fork 11.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Flang] Cannot scan continuation lines with preprocessor marks #100073
Labels
Comments
@klausler Do you mind having a look at this and see if this is something that can be supported again? |
How could that reproducer ever work? It has one more right parenthesis than it has left parentheses. |
klausler
added a commit
to klausler/llvm-project
that referenced
this issue
Jul 23, 2024
…tion See new test. A #line (or #) directive after a line ending with & and before its continuation shouldn't elicit an error about mismatched parentheses. Fixes llvm#100073.
@llvm/issue-subscribers-flang-frontend Author: Michael Klemm (mjklemm)
When compiling the following reproducer, Flang emits an error message:
Reproducer: subroutine sub()
implicit none
integer :: param1, param2, param3
call something(param1, param2, &
# 4 "somepath/reproducer.F90"
& param3)
)
end subroutine sub This used to work before commit 5d15f60 was merged. |
banach-space
pushed a commit
to banach-space/llvm-project
that referenced
this issue
Aug 7, 2024
llvm#100178) …tion See new test. A #line (or #) directive after a line ending with & and before its continuation shouldn't elicit an error about mismatched parentheses. Fixes llvm#100073.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When compiling the following reproducer, Flang emits an error message:
Reproducer:
This used to work before commit 5d15f60 was merged.
The text was updated successfully, but these errors were encountered: