Remove debug info from parse error.

This commit is contained in:
Dale Weiler 2014-07-31 00:44:42 -04:00
parent bca1a7143d
commit 4c1c1bc051

View file

@ -4676,7 +4676,7 @@ static ast_value *parse_parameter_list(parser_t *parser, ast_value *var)
}
} else {
if (OPTS_OPTION_U32(OPTION_STANDARD) == COMPILER_FTEQCC && param->name[0] == '<') {
parseerror(parser, "parameter name omitted %s %d", param->name, vec_size(params));
parseerror(parser, "parameter name omitted");
goto on_error;
}
vec_push(params, param);