Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Parsing/Indexing errors

I'm in the process of translating legacy Fortran code to C++. I've been using Eclipse Indigo with CDT for the C++ side on RHEL 6.3 and then found out about Photran. Since Photran 8.0 came with Juno, my Sys Admin upgraded me to Juno and Photran 8.0. Then I found out that while you could place breakpoints, the debugger wouldn't stop at them so we switched back to Indigo and Photran 7.0.

Now that I have everything compiled in Photran 7, I'm having issues with the Outline view of the Fortran perspective. The first couple of lines in my main program are:

    Program fullsas
    implicit none

In the Outline view I get the following:

<Fixed Form - INCLUDE lines ignored>
[skull icon] SyntaxException: Syntax error: Unexpected end of statement (/FullSAS/Source/fullSAS/fullsas.f, line 1, column 17). Expected on of the following: block, close, contains, ..., implicit, ..., continue, ext


Also, for the rest of my Fortran files, I get an error in the Fortran Analysis/Refactoring Problems view stating that there was an unexpected of input and gives a line number that is about 3 lines longer than the actual file.

Just to let you know, I know enough Fortran to know that I hate it (or at least the way the original programmers wrote it) and can't wait to get everything transitioned to C++. I'm slowly learning several of the little idiosyncrasies with the language, so I'm not sure if I'm missing something obvious here.

Any help getting these parsing errors to go away would be greatly appreciated so that I can get on with using Eclipse to help me reverse engineer the legacy code.

Thanks.

Tim Anderson
Computer Scientist
NAWCWD 452500D
Timothy.L.Anderson1@xxxxxxxx
(760) 939-8871  DSN: 437-8871


Attachment: smime.p7s
Description: S/MIME cryptographic signature


Back to the top