Added ac_raise_error, MalformedEnum and SyntaxError