Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Fix for comments with brackets inside arrays #115

Merged
merged 3 commits into from
Feb 13, 2021

Conversation

attackgoat
Copy link
Contributor

Hello again! I came across a crate (Hyper) which didn't parse properly so I tracked that down. The issue was that comments were not being handled at all within arrays - and so they fell into the unhandled else which allowed parsing of the commented-brackets.

I also made a function for isComment and removed an unused if branch.

Fixes #114

attackgoat and others added 3 commits January 11, 2021 20:22
(cherry picked from commit bfccaf58535f1dd44fed57cfb324f2781b2dc7cc)
@serayuzgur
Copy link
Owner

Hi thanks , I will check and include this for the next version

@serayuzgur serayuzgur merged commit b1a0be7 into serayuzgur:master Feb 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Brackets inside comments inside arrays cause red exclamations
2 participants