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

Validate balanced tags #181

Open
thumphries opened this issue Mar 13, 2017 · 1 comment
Open

Validate balanced tags #181

thumphries opened this issue Mar 13, 2017 · 1 comment
Labels

Comments

@thumphries
Copy link
Contributor

New frontend is applicative and thus can't fail on the contents of opening/closing tags.

Need to add the close tag to the definition of Element and make sure it is checked somewhere.

@thumphries
Copy link
Contributor Author

Alternatively, could have a lexically-balanced pass before hitting the parser, providing better errors for dangling parens, braces, and tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant