projects
/
xonotic
/
gmqcc.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
823b053
)
Set name for is_varargs too.
author
Dale Weiler <weilercdale@gmail.com>
Thu, 31 Jul 2014 17:13:43 +0000
(13:13 -0400)
committer
Dale Weiler <weilercdale@gmail.com>
Thu, 31 Jul 2014 17:13:43 +0000
(13:13 -0400)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index c45f68eac9d21e13a98e5cd5e99a20c0caaafc17..d694da49eca92665cc5fe543f7e7897f57e41f2a 100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-4669,6
+4669,7
@@
static ast_value *parse_parameter_list(parser_t *parser, ast_value *var)
}
if (parser->tok == TOKEN_IDENT) {
argcounter = util_strdup(parser_tokval(parser));
+ ast_value_set_name(param, argcounter);
if (!parser_next(parser) || parser->tok != ')') {
parseerror(parser, "`...` must be the last parameter of a variadic function declaration");
goto on_error;