You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Fortran, missing loop condition is a valid open-ended syntax.
For example,
program odd_number
implicit none
integer :: N, k
N = 19
WRITE(*,*) 'Odd number between 0 and ', N
k = 0
DO
k = k + 1
if (k > N) EXIT
if (mod(k,2) .eq. 0) CYCLE
WRITE(*,*) k, ' is an odd number between 0 and ', N
END DO
end program odd_number
The above code's XML AST won't hold header element.
@adarshp I'm afraid it is not handled yet. I've opened this issue and totally forgotten about it. Although this seems not a difficult problem to solve, I will soon handle it and close this issue.
Thank you!
In Fortran, missing loop condition is a valid open-ended syntax.
For example,
The above code's XML AST won't hold
header
element.which in existing condition case will look like:
This may require handling at the level of rectifying to generate the
header
and its subelements as a default when it's missing.The text was updated successfully, but these errors were encountered: