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 css comment bug. #256

Merged
merged 1 commit into from
Sep 6, 2021
Merged

fix css comment bug. #256

merged 1 commit into from
Sep 6, 2021

Conversation

DanHodges
Copy link
Contributor

@DanHodges DanHodges commented Aug 14, 2021

fixes #255

Enable backtracking on comments, otherwise the parser will error when the comment is last line in a block.

@DanHodges
Copy link
Contributor Author

@lihaoyi Could I get a review at your convenience? This is pretty non-invasive 😄

@lolgab
Copy link
Member

lolgab commented Sep 5, 2021

@DanHodges Can you rebase on top of master and, instead of modifying an existing test, create a new test with a name pointing at the issue (like issue-#255 or something along those lines) with a minimal reproduction of the issue?
Thank you very much for this fix!

@DanHodges
Copy link
Contributor Author

@DanHodges Can you rebase on top of master and, instead of modifying an existing test, create a new test with a name pointing at the issue (like issue-#255 or something along those lines) with a minimal reproduction of the issue?
Thank you very much for this fix!

No problem - thanks for taking a look 😄

Copy link
Member

@lolgab lolgab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the changes!
Merging and triggering a new release.

@lolgab lolgab merged commit a1f2598 into com-lihaoyi:master Sep 6, 2021
@lolgab
Copy link
Member

lolgab commented Sep 7, 2021

Released fastparse 2.3.3 with this fix.
Thank you again!

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.

CSS fails to parse when comment is at the end of a block
2 participants