Browse Source

Skip name and node if searching for 'tc' in an

R, L, or C line. Thus a node name 'tc' would be allowed.
pre-master-46
Holger Vogt 7 years ago
parent
commit
5a45fdbebb
  1. 6
      src/frontend/inpcom.c

6
src/frontend/inpcom.c

@ -7243,7 +7243,11 @@ pspice_compat(struct card *oldcard)
}
if (*cut_line == 'r' || *cut_line == 'l' || *cut_line == 'c') {
char *tctok = search_plain_identifier(cut_line, "tc");
/* Skip name and two nodes */
char *ntok = nexttok(cut_line);
ntok = nexttok(ntok);
ntok = nexttok(ntok);
char *tctok = search_plain_identifier(ntok, "tc");
if (tctok) {
char *tctok1 = strchr(tctok,'=');
if (tctok1)

Loading…
Cancel
Save