Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Question about photran parser.

I'm getting a series of errors from the photran parser on what I think is valid fortran code. Here is a representative sample:

FORMAT(1X,I10,1X,I10,1X,E15.7,I10,1X,I10,1X,I3/)

The error is

Syntax error (cstart.F, line 931, column 55: Unexpected T_SLASHRPAREN "/)"

It's also unhappy with

9973 FORMAT(/,1X,'!!!!!! EXECUTION WILL NOW BE TERMINATED !!!!!!',//)

Syntax error (hstart.F, line 117, column 70: Unexpected T_SLASHSLASH "//)"

I'm not strong on fortran but our domain scientist here thinks this is valid fortran and so does the compiler. Any suggestions?

Thanks
Howard

--
Howard Lander <mailto:howard@xxxxxxxxx>
Senior Research Software Developer
Renaissance Computing Institute <http://www.renci.org>
The University of North Carolina at Chapel Hill
Duke University
North Carolina State University
100 Europa Drive
Suite 540
Chapel Hill, NC 27517
919-445-9651


Back to the top