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

PTI Parser Quote Counter Fix #920

Closed
wants to merge 1 commit into from

Conversation

aniruddh-mishra
Copy link

Found a small bug that prevents the current PTI parser from throwing an error at mismatched quotations.

The "'" represents a string, while the count function expects to compare i with a character. This means that the current code always counted 0 quotes in each line. This small fix should correct the error handling in this case.

@ccoffrin
Copy link
Member

ccoffrin commented Jul 4, 2024

closing as fixed and test were added here, 17148a1

@ccoffrin ccoffrin closed this Jul 4, 2024
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.

2 participants