Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Syntax error:Unexpected extraneous character

Hi Eclipse Photran Developers and Users,


I found photran error messages.
Syntax error:Unexpected extraneous character(...), Expected one of the following: block, close, abstract, class, return, interface, call end of statement, go, print,

aaaaa.f source program(f77 fixed format).

          IF( DABS(XS-FPX(J)).LT.TOLX.AND
     2       .DABS(YS-FPY(J)).LT.TOLX.AND
     3       .DABS(ZS-FPZ(J)).LT.TOLX )
     4        NFPE(1,J) = -IABS(NFPE(1,J))

I try to change f90 at file name. But I found same messages.


And I try to edit this source program.(period edit)

          IF( DABS(XS-FPX(J)).LT.TOLX.AND.
     2        DABS(YS-FPY(J)).LT.TOLX.AND.
     3        DABS(ZS-FPZ(J)).LT.TOLX )
     4        NFPE(1,J) = -IABS(NFPE(1,J))

This is OK.

I will edit my source program at this method always?




ECPLISE juno SP2 4.2.2M20130204-1200
ECLIPSE CDT 8.1.2.201302132326
Photran 8.0.5.201303141447
LINUX Intel Fortran comliper support 8.0.5.2013141447

Thank you.Sorry my poor English.

t_dragon_2000@JAPAN



Back to the top