Merge branch 'master' into vvp-net-out-rework

This commit is contained in:
Stephen Williams 2009-05-05 20:09:51 -07:00
commit d780af1eca
1 changed files with 2 additions and 1 deletions

View File

@ -583,7 +583,8 @@ static unsigned int get_format_char(char **rtn, int ljust, int plus,
type = vpi_get(vpiType, info->items[*idx]);
if (((type == vpiConstant || type == vpiParameter) &&
vpi_get(vpiConstType, info->items[*idx]) == vpiRealConst) ||
type == vpiRealVar ) {
type == vpiRealVar || (type == vpiSysFuncCall &&
vpi_get(vpiFuncType, info->items[*idx]) == vpiRealFunc)) {
value.format = vpiRealVal;
} else {
value.format = vpiDecStrVal;