Skip to content
New issue

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

Fix parsing of invalid yaml #496

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Fix parsing of invalid yaml #496

merged 2 commits into from
Nov 1, 2024

Conversation

goccy
Copy link
Owner

@goccy goccy commented Nov 1, 2024

fix #168
fix #305

Also, fixed invalid test cases for lexer because it uses tab indent

FYI: https://yaml.org/spec/1.2.2/#61-indentation-spaces

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 86.36364% with 3 lines in your changes missing coverage. Please review.

Project coverage is 78.03%. Comparing base (8f6f26e) to head (4d5be04).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #496      +/-   ##
==========================================
+ Coverage   77.77%   78.03%   +0.26%     
==========================================
  Files          18       18              
  Lines        5902     5922      +20     
==========================================
+ Hits         4590     4621      +31     
+ Misses       1037     1028       -9     
+ Partials      275      273       -2     

@goccy goccy merged commit 9fabf36 into master Nov 1, 2024
18 checks passed
@goccy goccy deleted the fix-168-305 branch November 1, 2024 06:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid YAML is successfully parsed Empty block scalars are considered invalid
2 participants