ivl: Added vpiSysFuncVoid to the system function types.
This commit is contained in:
parent
89d1125979
commit
25c588252f
11
sys_funcs.cc
11
sys_funcs.cc
|
|
@ -193,6 +193,17 @@ int load_sys_func_table(const char*path)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (strcmp(stype,"vpiSysFuncVoid") == 0) {
|
||||||
|
cell = new struct sfunc_return_type_cell;
|
||||||
|
cell->name = lex_strings.add(name);
|
||||||
|
cell->type = IVL_VT_VOID;
|
||||||
|
cell->wid = 0;
|
||||||
|
cell->signed_flag = false;
|
||||||
|
cell->next = sfunc_stack;
|
||||||
|
sfunc_stack = cell;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
fprintf(stderr, "%s:%s: Unknown type: %s\n",
|
fprintf(stderr, "%s:%s: Unknown type: %s\n",
|
||||||
path, name, stype);
|
path, name, stype);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue