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

Bug: Hemmet does not parse DOM expression, which Emmet does #22

Open
uhbif19 opened this issue Aug 7, 2022 · 3 comments
Open

Bug: Hemmet does not parse DOM expression, which Emmet does #22

uhbif19 opened this issue Aug 7, 2022 · 3 comments

Comments

@uhbif19
Copy link
Contributor

uhbif19 commented Aug 7, 2022

Expression is: (a>b)+div

Megaparsec says:

unexpected '+'
expecting end of input
@astynax
Copy link
Owner

astynax commented Aug 8, 2022

It was a design decision: to have a tree (Tree) but not a forest ([Tree]) on the top level.

@uhbif19
Copy link
Contributor Author

uhbif19 commented Aug 8, 2022

Oh, well. I thought it was bug in brackets parsing, but seems like all other cases work well.

@astynax
Copy link
Owner

astynax commented Aug 8, 2022

I have looked to the code, it is ok to have a forest! So it is a bug, good catch!

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