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

refactor(parser): parse quotation marks instead of quoted strings #978

Merged
merged 1 commit into from
Mar 13, 2022

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Mar 13, 2022

drop the types.QuotedString type and simply focus on quotation
marks (and their escaped variants), which is simpler but slightly
more permissive with regards to surrounding spaces.

Fixes #972

Signed-off-by: Xavier Coulon [email protected]

@codecov
Copy link

codecov bot commented Mar 13, 2022

Codecov Report

Merging #978 (07fbbfd) into master (9bb5b66) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #978      +/-   ##
==========================================
+ Coverage   79.75%   79.86%   +0.11%     
==========================================
  Files          86       86              
  Lines        6841     6800      -41     
==========================================
- Hits         5456     5431      -25     
+ Misses        877      869       -8     
+ Partials      508      500       -8     

drop the `types.QuotedString` type and simply focus on quotation
marks (and their escaped variants), which is simpler but slightly
more permissive with regards to surrounding spaces.

Fixes bytesparadise#972

Signed-off-by: Xavier Coulon <[email protected]>
@xcoulon xcoulon force-pushed the Issue972_escape_curved_quotes branch from eed6b9b to 07fbbfd Compare March 13, 2022 16:16
@xcoulon xcoulon merged commit 1028ff0 into bytesparadise:master Mar 13, 2022
@xcoulon xcoulon deleted the Issue972_escape_curved_quotes branch March 13, 2022 19:27
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.

Regression with curved quotation marks
1 participant