-
Notifications
You must be signed in to change notification settings - Fork 134
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
Can not start a new line in Fortran with "&" #582
Comments
Oh dear, this definitely should work! This looks like it should only happen if we think the previous line didn't end with an It does look like we don't actually have any tests for this, which is a mistake! |
It seems to be my comment that is throwing things.
|
Thanks! Ah, that is quite painful: there's a comment in the middle of the string literal. Valid Fortran, but quite difficult to parse. This might take me a little bit of time to get to, so one workaround would be to move the comment out of the string. You could put a |
Yes, that works as a fairly pain-free workaround. |
Hi,
I am getting the following error:
Warning: Error parsing src/main.f90.
Can not start a new line in Fortran with "&": & world &
As far as I know, this is standard Fortran syntax for line continuation of strings.
https://stackoverflow.com/questions/16776270/line-continuation-of-strings-in-fortran
Is this something that can be fixed?
Thanks!
The text was updated successfully, but these errors were encountered: