Community
Participate
Working Groups
If you continue a line for an if-construct the then is not highlighted red as usual. See the below code as an example. if (a > b .and. & (c > d) then call work(a,c) endif
Thanks for the bug report. The syntax highlighting currently works on one (physical) line at a time, so it's fairly easy to break it by inserting line continuations creatively. We'll keep this on file... eventually we should change it to work in terms of statements (taking line continuations into account) rather than physical lines in the file. I thought we had a bug open for this problem, but I can't find it, so I've adjusted the name of this bug to be a bit more general. Thanks again.
*** Bug 319869 has been marked as a duplicate of this bug. ***
I thought I had opened a duplicate, but can't find it. Anyway, I don't think continuation lines are that rare, so this should have a higher priority? Maybe to be fixed in 7.0?
This has been fixed in Photran 8/Juno. Commit 3d413256d609149729aecad9e4e6c872e0962dfd
Closing for 8.0