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

Malformed {var ...} macro doesn't get parsed at all #711

Closed
Majkl578 opened this issue Jul 25, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@Majkl578
Copy link
Contributor

commented Jul 25, 2012

{var foo => 'abc}

This should be processed normally and end with a Latte exception ("syntax error" or whatever), however it is not parsed at all.

Majkl578 added a commit to Majkl578/nette that referenced this issue Jul 26, 2012

@dg

This comment has been minimized.

Copy link
Member

commented Mar 30, 2013

This requires complete redesign of Latte parser. I hope it will be solved by someone in near future. 👍

@dg dg closed this Mar 30, 2013

dg added a commit to nette/latte that referenced this issue Sep 10, 2014

dg added a commit to nette/latte that referenced this issue Sep 10, 2014

dg added a commit to nette/latte that referenced this issue Sep 11, 2014

Parser: macros are parsed in two phases [Closes nette/nette#711] (BC …
…break)

BC break: malformed macros are not ignored and throw exception
@TomasVotruba

This comment has been minimized.

Copy link
Contributor

commented Sep 11, 2014

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.