mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
TYPE_FUNCTION in ir_value_dump to show '(function)' rather than '(void)'
This commit is contained in:
parent
2cba6f08fe
commit
93d372f222
1 changed files with 3 additions and 0 deletions
3
ir.c
3
ir.c
|
@ -2850,6 +2850,9 @@ void ir_value_dump(ir_value* v, int (*oprintf)(const char*, ...))
|
|||
case TYPE_VOID:
|
||||
oprintf("(void)");
|
||||
break;
|
||||
case TYPE_FUNCTION:
|
||||
oprintf("(function)");
|
||||
break;
|
||||
case TYPE_FLOAT:
|
||||
oprintf("%g", v->constval.vfloat);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue