We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 ]
1]
I'm trying to find a way to solve the issue as it prevent to parse some perfectly valid YAML files.
The text was updated successfully, but these errors were encountered:
Trying to fix exosite#8
f613302
Probably related to the fix: Parsing an empty list with whitespace causes an error.
a: [ ]
Will cause the error
lua.exe: ... <file>: ParseError: unexpected token ']' stack traceback: [C]: in function 'error' ... yaml.lua:340: in function 'parse'
Tested with Lua 5.1.
Sorry, something went wrong.
No branches or pull requests
So it seems the parser is confused when an inline list does not have space juste before the
]
:will work fine, but the other valid
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.
The text was updated successfully, but these errors were encountered: