From 3fe4de5b7f0fa3c1e2c867618a0c73739397be4f Mon Sep 17 00:00:00 2001 From: Vogt Date: Thu, 2 Jul 2020 16:34:19 +0200 Subject: [PATCH] enable special characters for cpl model names and parameters --- src/spicelib/parser/inp2p.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spicelib/parser/inp2p.c b/src/spicelib/parser/inp2p.c index 7cd0ec88e..829c4cbff 100644 --- a/src/spicelib/parser/inp2p.c +++ b/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;