Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] "01H " => syntax error, Pb with Hollerith constants ?

Title: sincerely_yours.txt
Dear photran users and developers,

I have come across something strange : whenever, in a fortran code I have the chain "01H " I get a syntax error at the corresponding line in the outline view, whatever the characters before the 0 (but there must be a space after the H) !
Is this related to Hollerith constants ?
I understand that
"Hollerith constants were deleted from the FORTRAN 77 Standard, though still described in an appendix for those wishing to continue support. Hollerith edit descriptors were allowed through Fortran 90, and were deleted from the Fortran 95 Standard." (from en.wikipedia.org)
and that you may whish to support them, but in my case it was simply the end of the name of a variable and the syntax error message was a bit misleading:
OK it began by "Unexpected extraneous character", but after that I got a long list of block delimiters after an "Expecting one of the following: ..."

--
Sincerely yours,

Michel DEVEL
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


Back to the top