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

JSX with comments not correctly parsed #185

Open
fisker opened this issue Mar 9, 2021 · 2 comments
Open

JSX with comments not correctly parsed #185

fisker opened this issue Mar 9, 2021 · 2 comments
Assignees

Comments

@fisker
Copy link
Collaborator

fisker commented Mar 9, 2021

Examples:

<a><// line
/a>;
<a></* block */
/a>;
</* open fragment */>
</ /* close fragment */>;
@3cp
Copy link
Member

3cp commented Mar 19, 2022

meriyah also did wrong on white spaces, it rejects following:

<a><  /a>

@3cp
Copy link
Member

3cp commented Mar 19, 2022

Cannot get my head around the cooperation between the normal js scanner and the jsx scanner.
Probably park this one for a while. Need more time to study the code base.

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

No branches or pull requests

2 participants