Browse Source

enable special characters for cpl model names and parameters

pre-master-46
Vogt 6 years ago
committed by Holger Vogt
parent
commit
3fe4de5b7f
  1. 4
      src/spicelib/parser/inp2p.c

4
src/spicelib/parser/inp2p.c

@ -71,7 +71,7 @@ int num, i;
INPgetNetTok(&line,&(nname1[i]),1);
INPtermInsert(ckt,&(nname1[i]),tab,&(node1[i]));
}
INPgetTok(&line,&ground,1);
INPgetNetTok(&line,&ground,1);
INPtermInsert(ckt,&ground,tab,&groundnode);
for (i = 0; i < num; i++) {
INPgetNetTok(&line,&(nname2[i]),1);
@ -101,7 +101,7 @@ int num, i;
mdfast = tab->defPmod;
}
IFC(newInstance,(ckt,mdfast,&fast,name));
INPgetTok(&line,&model,1);
INPgetNetTok(&line,&model,1);
if ((strcmp(model, "length") == 0) || (strcmp(model, "len") == 0)) {
lenval = INPevaluate(&line,&error1,1);
lenvalgiven = 1;

Loading…
Cancel
Save