This happened because the lexer got confused by the unknown Tag imagekit which comes from an addon. It was lexed and parsed as a variable and the syntax does not allow dynamic bindings for variables, only for Tags. This PR introduces an T_UNKOWN_TAG token, which is returned by the lexer when he sees an Identifier which is followed by one or more whitespaces and a colon.
The formatting issues was just a side effect of the wrong parsing.
This happened because the lexer got confused by the unknown Tag
imagekit
which comes from an addon. It was lexed and parsed as a variable and the syntax does not allow dynamic bindings for variables, only for Tags. This PR introduces anT_UNKOWN_TAG
token, which is returned by the lexer when he sees an Identifier which is followed by one or more whitespaces and a colon.The formatting issues was just a side effect of the wrong parsing.
Closes #120