mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
Make operator type overrides clear.
This commit is contained in:
parent
aec9f256a7
commit
977c48d728
1 changed files with 4 additions and 0 deletions
|
@ -56,9 +56,13 @@ print_operand (operand_t *op)
|
|||
{
|
||||
switch (op->op_type) {
|
||||
case op_symbol:
|
||||
if (op->type != op->o.symbol->type->type)
|
||||
printf ("(%s) ", pr_type_name[op->type]);
|
||||
printf ("%s", op->o.symbol->name);
|
||||
break;
|
||||
case op_value:
|
||||
if (op->type != op->o.value->type)
|
||||
printf ("(%s) ", pr_type_name[op->type]);
|
||||
switch (op->o.value->type) {
|
||||
case ev_string:
|
||||
printf ("\"%s\"", op->o.value->v.string_val);
|
||||
|
|
Loading…
Reference in a new issue