no m= at the end of model cards

This commit is contained in:
dwarning 2011-02-21 19:36:28 +00:00
parent ebda0af288
commit 05118f717c
1 changed files with 3 additions and 0 deletions

View File

@ -2299,6 +2299,9 @@ inp_fix_subckt_multiplier( struct line *subckt_card,
/* no 'm' for B line or comment line */
if ((*(card->li_line) == '*') || (*(card->li_line) == 'b'))
continue;
/* no 'm' for model cards */
if (ciprefix(".model", card->li_line))
continue;
new_str = TMALLOC(char, strlen( card->li_line ) + 7);
sprintf( new_str, "%s m={m}", card->li_line );