From: Dale Weiler Date: Thu, 31 Jul 2014 04:44:42 +0000 (-0400) Subject: Remove debug info from parse error. X-Git-Tag: xonotic-v0.8.1~9^2~27 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4c1c1bc0519b666c92ce7bcab4c02c292d7cbfe7;p=xonotic%2Fgmqcc.git Remove debug info from parse error. --- diff --git a/parser.c b/parser.c index 0d251d1..f95a231 100644 --- a/parser.c +++ b/parser.c @@ -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);