"Parsing error: syntax error" in print format which should not be there
Consider this code
program main
implicit none
print"(es11.5,3x, "// &
"es11.5)",1.d0,2.d0
end program
running lfortran fmt test.f90
results a syntax error:
input:3:21 syntax error: token type '//' is unexpected here
print"(es11.5,3x, "// &
^~
Parsing error: syntax error
However, this code compiles just fine with gfortran. Note, when I run lfortran --version
LFortran version: 0.11.0
Platform: macOS
Edited by Nick Wogan