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

Add compile warnings #14

Open
Kangaroux opened this issue Jun 24, 2017 · 0 comments
Open

Add compile warnings #14

Kangaroux opened this issue Jun 24, 2017 · 0 comments

Comments

@Kangaroux
Copy link
Owner

The compiler currently has error handling where it will raise a ParseError if it encounters some bad syntax and doesn't know how to proceed. However, there are times where it would be more appropriate to notify the user about something but still proceed with compilation.

For example, if the user writes a conditional comment but puts some text after the comment:

-#[if IE] like this

We can parse that line just fine, but the text is ignored so it serves no purpose. It would be nice to notify the user that it should be removed.

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

No branches or pull requests

1 participant