Browse Source

If function 'db' is evaluated, set

v_type to SV_DB.
pre-master-46
Holger Vogt 5 years ago
parent
commit
c67da190ef
  1. 2
      src/frontend/evaluate.c

2
src/frontend/evaluate.c

@ -940,6 +940,8 @@ apply_func(struct func *func, struct pnode *arg)
/* try to figure out the v_type, depending on the function */
if (eq(func->fu_name, "cph") || eq(func->fu_name, "ph"))
t->v_type = SV_PHASE;
else if (eq(func->fu_name, "db"))
t->v_type = SV_DB;
if (end)
end->v_link2 = t;

Loading…
Cancel
Save