subckt.c, finishLine(), #7/9, drop condition which is always true

This commit is contained in:
rlar 2016-11-19 08:54:38 +01:00
parent 253cf5b75a
commit 99d788cd12
1 changed files with 2 additions and 3 deletions

View File

@ -1337,9 +1337,8 @@ finishLine(struct bxx_buffer *t, char *src, char *scname)
i(hname) -> i(h.subckt.hname) i(hname) -> i(h.subckt.hname)
i(bname) -> i(b.subckt.hname) i(bname) -> i(b.subckt.hname)
*/ */
if ((which == 'i' || which == 'I') && if (buf[0] == 'v' || buf[0] == 'V' || buf[0] == 'e' || buf[0] == 'h'
(buf[0] == 'v' || buf[0] == 'V' || buf[0] == 'e' || buf[0] == 'h' || buf[0] == 'b' || buf[0] == 'B') {
|| buf[0] == 'b' || buf[0] == 'B')) {
bxx_putc(t, buf[0]); bxx_putc(t, buf[0]);
bxx_putc(t, '.'); bxx_putc(t, '.');
} }