]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Remove debug info from parse error.
authorDale Weiler <weilercdale@gmail.com>
Thu, 31 Jul 2014 04:44:42 +0000 (00:44 -0400)
committerDale Weiler <weilercdale@gmail.com>
Thu, 31 Jul 2014 04:44:42 +0000 (00:44 -0400)
parser.c

index 0d251d1f66e08077c0016de15944ac7daaa04c39..f95a2315784c83c52d6aaad00d76c1a278120f74 100644 (file)
--- 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);