mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-25 13:11:00 +00:00
[qfcc] Make new_call_expr non-const
I really don't remember why I made it const. Although there are still others, new_* exression calls are meant to be mutable.
This commit is contained in:
parent
1e19335b44
commit
38c64c61b9
2 changed files with 3 additions and 3 deletions
|
@ -702,7 +702,7 @@ expr_t *new_nil_expr (void);
|
|||
\return The new args expression node.
|
||||
*/
|
||||
expr_t *new_args_expr (void);
|
||||
const expr_t *new_call_expr (const expr_t *func, const expr_t *args,
|
||||
expr_t *new_call_expr (const expr_t *func, const expr_t *args,
|
||||
const type_t *ret_type);
|
||||
|
||||
/** Create a new value expression node.
|
||||
|
|
|
@ -2083,7 +2083,7 @@ jump_table_expr (const expr_t *table, const expr_t *index)
|
|||
return branch;
|
||||
}
|
||||
|
||||
const expr_t *
|
||||
expr_t *
|
||||
new_call_expr (const expr_t *func, const expr_t *args, const type_t *ret_type)
|
||||
{
|
||||
expr_t *branch = new_expr ();
|
||||
|
|
Loading…
Reference in a new issue