subckt.c, finishLine(), #9/9, unconditionally transform instance name in i() expressions
This commit is contained in:
parent
dc092c4ebc
commit
a5dd826d19
|
|
@ -1349,16 +1349,10 @@ finishLine(struct bxx_buffer *t, char *src, char *scname)
|
|||
}
|
||||
} else {
|
||||
/*
|
||||
i(vname) -> i(v.subckt.vname)
|
||||
i(ename) -> i(e.subckt.ename)
|
||||
i(hname) -> i(h.subckt.hname)
|
||||
i(bname) -> i(b.subckt.hname)
|
||||
*/
|
||||
if (buf[0] == 'v' || buf[0] == 'V' || buf[0] == 'e' || buf[0] == 'h'
|
||||
|| buf[0] == 'b' || buf[0] == 'B') {
|
||||
bxx_putc(t, buf[0]);
|
||||
bxx_putc(t, '.');
|
||||
}
|
||||
* i(instance_name) --> i(instance_name[0].subckt.instance_name)
|
||||
*/
|
||||
bxx_putc(t, buf[0]);
|
||||
bxx_putc(t, '.');
|
||||
bxx_put_cstring(t, scname);
|
||||
bxx_putc(t, '.');
|
||||
bxx_put_substring(t, buf, buf_end);
|
||||
|
|
|
|||
Loading…
Reference in New Issue