Browse Source

Remove dot lines somewhat later.

pre-master-46
Holger Vogt 5 years ago
parent
commit
8b376b4581
  1. 6
      src/frontend/inpcom.c

6
src/frontend/inpcom.c

@ -2310,7 +2310,7 @@ static void comment_out_unused_subckt_models(struct card *start_card)
char *line = card->line;
/* no models embedded in these lines */
if (strchr(".*vibefghkt", *line))
if (strchr("*vibefghkt", *line))
continue;
/* there is no .subckt, .model or .param inside .control ... .endc */
@ -2331,6 +2331,10 @@ static void comment_out_unused_subckt_models(struct card *start_card)
if (ciprefix(".ends", line) || ciprefix(".eom", line))
processing_subckt = FALSE;
/* no models embedded in these lines */
if (*line == '.')
continue;
if (!processing_subckt) {
if (*line == 'x') {
char *subckt_name = get_instance_subckt(line);

Loading…
Cancel
Save