]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
this one can be reached - make it a little more helpful
authorWolfgang Bumiller <wry.git@bumiller.com>
Sat, 31 Aug 2013 08:55:03 +0000 (10:55 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Sat, 31 Aug 2013 08:55:03 +0000 (10:55 +0200)
parser.c

index ce8123dc2caaa1b6d74217cafc48747d626f3096..cbca105ca94b405722d60aaeb0903b21e5fc912e 100644 (file)
--- a/parser.c
+++ b/parser.c
@@ -1899,7 +1899,7 @@ static ast_expression* parse_expression_leave(parser_t *parser, bool stopatcomma
 
     parser->lex->flags.noops = true;
     if (vec_size(sy.out) != 1) {
-        parseerror(parser, "expression with not 1 but %lu output values...", (unsigned long) vec_size(sy.out));
+        parseerror(parser, "expression expected");
         expr = NULL;
     } else
         expr = sy.out[0].out;