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

Ambiguous syntax #140

Closed
Jack-Works opened this issue Feb 25, 2022 · 2 comments
Closed

Ambiguous syntax #140

Jack-Works opened this issue Feb 25, 2022 · 2 comments

Comments

@Jack-Works
Copy link
Contributor

What can we do to avoid this syntax ambiguity?

1
<video>2</video>/g

it can be parsed as...

((1<video) > 2 ) < (/video>/g)
@Jack-Works
Copy link
Contributor Author

Jack-Works commented Feb 25, 2022

Oh this is not an ambiguous syntax. According to ASI, it will be interpreted as a JSX tag. wrong conclusion

@wooorm
Copy link

wooorm commented Feb 25, 2022

in that case, #139 (comment) stands 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

No branches or pull requests

2 participants