justjohn/twig.js — Issue #9: Can't test a function another one
Author: hadrienl
Created: 2012-02-15 13:00:11+00:00
State: open

{% if MyFunction('test') or MyFunction('truc') %}
foo
{% endif %}

=>

Twig.expression.type.expression cannot follow a Twig.expression.type.variable at template:24 near '('truc')...' OR Twig.expression.type.parameter.start cannot follow a Twig.expression.type.variable at template:24 near '(...'