From 7d1ea80a2e2cee9fa28e42ab1ca7167b8c044a93 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Fri, 2 Feb 2024 11:15:14 +0100 Subject: [PATCH] F source fails when VNAM contains math symbols like '-'. Use INPgetNetTok for instance parameters like it has been done for nodes already. --- src/spicelib/parser/inpgval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spicelib/parser/inpgval.c b/src/spicelib/parser/inpgval.c index f9f84ad14..626681570 100644 --- a/src/spicelib/parser/inpgval.c +++ b/src/spicelib/parser/inpgval.c @@ -89,7 +89,7 @@ INPgetValue(CKTcircuit *ckt, char **line, int type, INPtables *tab) INPgetNetTok(line, &word, 1); INPtermInsert(ckt, &word, tab, &(temp.nValue)); } else if (type == IF_INSTANCE) { - INPgetTok(line, &word, 1); + INPgetNetTok(line, &word, 1); INPinsert(&word, tab); temp.uValue = word; } else if (type == IF_STRING) {