complete previous fix
This commit is contained in:
parent
7523c0015c
commit
c52ded63b0
|
|
@ -653,7 +653,12 @@ int spice_block_netlist(FILE *fd, int i, int alert)
|
|||
fprintf(fd, "%s\n", translated_sym_def);
|
||||
my_free(_ALLOC_ID_, &sym_def);
|
||||
} else {
|
||||
const char *s = get_cell(sanitize(name), 0);
|
||||
const char *s;
|
||||
if(is_generator(name)) {
|
||||
s = get_cell(sanitize(name), 0);
|
||||
} else {
|
||||
s = sanitize(get_cell(name, 0));
|
||||
}
|
||||
fprintf(fd, "** sch_path: %s\n", sanitized_abs_sym_path(filename, ""));
|
||||
fprintf(fd, ".subckt %s ", s);
|
||||
print_spice_subckt_nodes(fd, i);
|
||||
|
|
|
|||
Loading…
Reference in New Issue