Skip to content

Incorrect parsing of nested comments #17

Closed
@holzensp

Description

@holzensp

As per the change in test/corpus/basic/comments.txt in #16;

y = 20 /*
multi
line
/* nested */
comment
*/ z = 30

produces

  (classProperty
    (identifier)
    (intLiteral))
  (blockComment)
  (classProperty
    (identifier)
    (ERROR
      (identifier))
    (intLiteral))

but nested comments should be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions