Check syntax of actions in Avatar's transition

The syntax checker does not detect that there is more than one element in the right term (especially when the right-term starts with a number). for example : x = 1 + func()