Skip to content

Unclear error in -lower mode #31

@deaddoomer

Description

@deaddoomer
MODULE Test;

  TYPE
    Item = RECORD
      mode: INTEGER;
      type: INTEGER
    END;

END Test.

error (22) (6:7) identifier expected

I spent a lot of time trying to figure out what was wrong with such code.
There need a hint to use -upper mode when identifier intersects with reserved words.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions