Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Parsing Dimension statements in beta 4

Is anyone having problems parsing Dimension statements in beta 4?

In beta 3, the following gives no error in the Outline window (file is
test.f):

        SUBROUTINE TEST()

        DIMENSION X(5), Z(5)

        RETURN
        END

The Outline window simply says TEST.  In beta 4, I get the following
message there:

java.util.HashMap cannot be cast to
org.eclipse.photran.internal.core.parser.ASTArrayDeclaratorNode

If I separate the statement into two declarations as follows, I get the
same Outline as beta 3:

        SUBROUTINE TEST()

        DIMENSION X(5)
        DIMENSION Z(5)

        RETURN
        END

Has something changed in how this is handled, or have I borked my install
of beta 4?

Thanks,
Jason


Back to the top