Fix infinite recursion on invalid syntax (thanks knipil)