ivl: Added vpiSysFuncVoid to the system function types.

This commit is contained in:
Maciej Suminski 2014-11-05 16:08:14 +01:00
parent 89d1125979
commit 25c588252f
1 changed files with 11 additions and 0 deletions

View File

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