Skip to content

Syntax highlighting errors #125

@sconwayaus

Description

@sconwayaus

Hello,

Found a couple of syntax highlighting corner cases.

  1. Declaring a class variable (maybe with parameters) causes the next control statement to highlight incorrectly (in this case the "function" on line 5 and "if" on line 18)
    error1

  2. When instantiating a module, adding a comment after the parameter list causes the instance name to highlight incorrectly (line 46).
    error2

  3. Line 56, Packet should be Green (entity.name.type), displayed as Light Blue (variable).
    Screenshot (3)

  4. scope not highlighted correctly on 284. Commenting out line 279 resolves the issue, similarly removing the space between "Packet" and "#" resolves the issue, but causes Packet to not be highlighted correctly.
    Screenshot (4)

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