If function 'db' is evaluated, set

v_type to SV_DB.
This commit is contained in:
Holger Vogt 2020-10-25 20:12:32 +01:00
parent 97db844944
commit c67da190ef
1 changed files with 2 additions and 0 deletions

View File

@ -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;