mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-21 23:50:56 +00:00
Make the >8 parameter message a warning
This commit is contained in:
parent
41235108c4
commit
e8d1e5dbc0
1 changed files with 2 additions and 2 deletions
4
parser.c
4
parser.c
|
@ -2637,8 +2637,8 @@ static ast_value *parse_parameter_list(parser_t *parser, ast_value *var)
|
|||
}
|
||||
|
||||
/* sanity check */
|
||||
if (vec_size(params) > 8)
|
||||
parseerror(parser, "more than 8 parameters are currently not supported");
|
||||
if (vec_size(params) > 8 && opts_standard == COMPILER_QCC)
|
||||
parsewarning(parser, WARN_EXTENSIONS, "more than 8 parameters are not supported by this standard");
|
||||
|
||||
/* parse-out */
|
||||
if (!parser_next(parser)) {
|
||||
|
|
Loading…
Reference in a new issue