这是indexloc提供的服务,不要输入任何密码
Skip to content

Slashdash node doesn't accept semicolon terminator #107

@eugenesvk

Description

@eugenesvk

Slash-dashed simple node fails with ; terminator, though couldn't find anything in the spec changes to warrant that (py/js parsers parse this fine)

With kdl-rs 6.1.0

/-n 1;
  × Failed to parse KDL document

Error:
  × Found invalid node name
   ╭────
 1 │ /-n 1;
   ·      ┬
   ·      ╰── not node name
   ╰────
  help: This can be any string type, including a quoted, raw, or multiline string, as well as a plain identifier string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs more infoMore information is needed before work can continue

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions