Skip to content

Enum expressions without boundary spaces #393

@simerplaha

Description

@simerplaha

The following is valid syntax where both One and Two are valid enum IDs.

enum MyEnum { One = 1Two = 2 }

Issue

Currently, without a space between 1 and Two, Soft-parser generates an AST with the assignment One = 1Two.

Narrowing expression parsers in #387 resolves this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions