Be more clear about integral expression types.

Is that 7 a short? int? unsigned?
This commit is contained in:
Bill Currie 2012-12-05 22:18:13 +09:00
parent 7071a46936
commit f7e174f3ba

View file

@ -417,13 +417,13 @@ print_value (dstring_t *dstr, expr_t *e, int level, int id, expr_t *next)
label = va ("func %d", e->e.value->v.integer_val);
break;
case ev_integer:
label = va ("%d", e->e.value->v.integer_val);
label = va ("i %d", e->e.value->v.integer_val);
break;
case ev_uinteger:
label = va ("%u", e->e.value->v.uinteger_val);
label = va ("u %u", e->e.value->v.uinteger_val);
break;
case ev_short:
label = va ("%d", e->e.value->v.short_val);
label = va ("s %d", e->e.value->v.short_val);
break;
case ev_void:
label = "<void>";