Skip to content

The parser have trouble parsing list with no trailing space before the closing bracket #8

Description

@Godzil

So it seems the parser is confused when an inline list does not have space juste before the ]:

item:
  test: [ 1, 0, 1 ]

will work fine, but the other valid

item:
  test: [ 1, 0, 1]

will end with an error about a missing comma because it think that 1] is a string token instead of a number followed by ]

I'm trying to find a way to solve the issue as it prevent to parse some perfectly valid YAML files.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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