tbranyen / combyne

A template engine that works the way you expect.
MIT License
144 stars 19 forks source link

Internal Grammar has some flaws #66

Closed tbranyen closed 9 years ago

tbranyen commented 9 years ago

There are some flaws with in the internal grammar, such that it is required to have STARTIF represented as `ifinstead ofif`. This is also true for:

Corrections to the stack/tree builder are required to alleviate this. It is problematic, because currently the following template:

{%if%}...{%endif%}

Gets the incorrect error: Error: Invalid expression type: OTHER. The expected error is: Error: Missing conditions to if statement.

tbranyen commented 9 years ago

Closed via f9b0ca33a593e23c94ba3926fc7501f6c516e50c