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 parser comment ambiguity #90

Merged
merged 2 commits into from
Feb 6, 2020
Merged

Conversation

dandavison
Copy link
Owner

Quick fix for the -- comment parser ambiguity reported in #89. This PR fails to fix the issue for unified diff input. cc @masaeedu

Prior to this commit, in a language in which -- at the beginning of a
line is valid (e.g. a Haskell or SQL comment), then removal of such a
line was being confused with the --- marker used in unified/git diff
to introduce the file paths.
@dandavison dandavison merged commit d98b463 into master Feb 6, 2020
@dandavison dandavison deleted the 89-fix-parser-comment-ambiguity branch January 1, 2021 12:06
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.

1 participant