You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that if there are extra brackets at the end of code executed when a state is reached, even if they are properly balanced, they are not parsed correctly unless there is a space before them.
e.g.
TEST
:
{{if(true); else {} }}
;
works, but
TEST
:
{{if(true); else {}}}
;
results in a parse error.
Cheers,
Marcus.
The text was updated successfully, but these errors were encountered:
Right. It's probably not massively important, but I think just counting opening/closing brackets would suffice. That will work for properly-formed JavaScript, and may fail for mal-formed JavaScript, which is what you'd want anyway.
It appears that if there are extra brackets at the end of code executed when a state is reached, even if they are properly balanced, they are not parsed correctly unless there is a space before them.
e.g.
works, but
results in a parse error.
Cheers,
Marcus.
The text was updated successfully, but these errors were encountered: