inpcom.c: no multiplier 'm' added to V, I lines in subckt

This commit is contained in:
h_vogt 2013-05-11 16:06:58 +02:00 committed by rlar
parent 08df80cebe
commit 4d4f05c380
1 changed files with 3 additions and 2 deletions

View File

@ -2648,8 +2648,9 @@ inp_fix_subckt_multiplier(struct line *subckt_card,
for (card = subckt_card->li_next;
card != NULL && !ciprefix(".ends", card->li_line);
card = card->li_next) {
/* no 'm' for B line or comment line */
if ((*(card->li_line) == '*') || (*(card->li_line) == 'b'))
/* no 'm' for B, I, V or comment line */
if ((*(card->li_line) == '*') || (*(card->li_line) == 'b') || (*(card->li_line) == 'v')
|| (*(card->li_line) == 'i'))
continue;
/* no 'm' for model cards */
if (ciprefix(".model", card->li_line))