Skip to content

correctly scope OF keyword in ARRAY declarations #95

@michaeldistel

Description

@michaeldistel

Summary

The OF keyword in ARRAY [..] OF <type> declarations may not be scoped correctly — it could be missed or fall through to a catch-all rule. Verify and fix.

Example

MyArray : ARRAY [0..9] OF INT;
Matrix  : ARRAY [0..3, 0..3] OF REAL;

OF should be scoped as a keyword (e.g. keyword.operator.of.st or keyword.other.st), not as an identifier.

Acceptance criteria

  • OF in ARRAY declarations scoped as a keyword
  • Multi-dimensional array syntax (ARRAY [0..3, 0..3]) handled correctly
  • OF in CASE ... OF unaffected

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions