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

Show jade template filenames when throwing parse error #43

Closed
elquimista opened this issue Jan 14, 2016 · 1 comment
Closed

Show jade template filenames when throwing parse error #43

elquimista opened this issue Jan 14, 2016 · 1 comment

Comments

@elquimista
Copy link

When it throws Jade parse error, it displays line number and offset, which is quite good.
But I think it'd be better if template filename is shown as well.

@TorbenKoehn
Copy link
Member

You are right.

Sadly the parser doesn't know the file its parsing, it only knows the jade string (and directly passes it on to the lexer)

I will find an elegant solution for this.

TorbenKoehn referenced this issue Jan 15, 2016
- Changed attribute parsing so that expressions like function calls are
possible
- Compiler will now always return Compiler-Exeptions, but will include
the compiled file path (if any) in the message
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

2 participants