From a146e6abfb67e8ae37526a2ee993e7f9db95332f Mon Sep 17 00:00:00 2001 From: h_vogt Date: Wed, 15 May 2013 21:09:09 +0200 Subject: [PATCH] inpcom.c: disable `m' for E, H --- src/frontend/inpcom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/frontend/inpcom.c b/src/frontend/inpcom.c index 19f8f696a..56eb9830d 100644 --- a/src/frontend/inpcom.c +++ b/src/frontend/inpcom.c @@ -2658,8 +2658,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, V or comment line */ - if ((*(card->li_line) == '*') || (*(card->li_line) == 'b') || (*(card->li_line) == 'v')) + /* no 'm' for B, V, E, H or comment line */ + if ((*(card->li_line) == '*') || (*(card->li_line) == 'b') || (*(card->li_line) == 'v') || + (*(card->li_line) == 'e') || (*(card->li_line) == 'h')) continue; /* no 'm' for model cards */ if (ciprefix(".model", card->li_line))