evanmiller/erlydtl — Issue #21: Syntax error on lookup values
Author: gar1t
Created: 2012-01-13 18:36:51+00:00
State: open

My vars look like this:

[{params, [{"filter", "foo"}]}]

This variable lookup:

{{ params.filter }}

generates this error on compile:

[{{22,63},
erlydtl_parser,
["syntax error before: ",
["filter"]]}]

If I use "filter2", it's okay.

Maybe this is not a bug and I need to somehow escape the use of "filter" to avoid colliding with the macro/filter grammar.

Though it does seem to me a bug in the grammar.