Skip to content

escaped name that ends at end of line fails #13

@sjs-dogsrule

Description

@sjs-dogsrule

If I have this structure, where the escaped name is the last item on the line.
wire \n_12 , \n_13
, \n_14 , \n_15 ;

I will get:
Failed to match :
Parser error: syntax error, unexpected end of file, expecting NAME or ESCAPED_NAME

The synthesis programs I use sometimes create the above structure.

If the line had the comma at the end, then it reads ok.
wire \n_12 , \n_13 ,
\n_14 , \n_15 ;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions