Exclude from model search all lines beginning
with a character contained in this list: *vibefghkt
This commit is contained in:
parent
277842f948
commit
9ab153ddc2
|
|
@ -1979,7 +1979,8 @@ get_subckts_for_subckt(struct card *start_card, char *subckt_name,
|
|||
|
||||
char *line = card->line;
|
||||
|
||||
if (*line == '*')
|
||||
/* no models embedded in these lines */
|
||||
if (strchr("*vibefghkt", *line))
|
||||
continue;
|
||||
|
||||
if ((ciprefix(".ends", line) || ciprefix(".eom", line)) && found_subckt)
|
||||
|
|
@ -2053,7 +2054,8 @@ comment_out_unused_subckt_models(struct card *start_card)
|
|||
|
||||
char *line = card->line;
|
||||
|
||||
if (*line == '*')
|
||||
/* no models embedded in these lines */
|
||||
if (strchr("*vibefghkt", *line))
|
||||
continue;
|
||||
|
||||
/* there is no .subckt, .model or .param inside .control ... .endc */
|
||||
|
|
|
|||
Loading…
Reference in New Issue