From 314ece252647b53fb1b0f31ac2189723bff46167 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 7 Mar 2018 20:35:21 +0100 Subject: [PATCH] allow '-' in XSPICE model names --- src/xspice/mif/mifgetmod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xspice/mif/mifgetmod.c b/src/xspice/mif/mifgetmod.c index 075a15f09..9c05c96ea 100644 --- a/src/xspice/mif/mifgetmod.c +++ b/src/xspice/mif/mifgetmod.c @@ -174,7 +174,7 @@ char *MIFgetMod( line = modtmp->INPmodLine->line; INPgetTok(&line,&parm,1); /* throw away '.model' */ tfree(parm); - INPgetTok(&line,&parm,1); /* throw away 'modname' */ + INPgetNetTok(&line,&parm,1); /* throw away 'modname' */ tfree(parm); /* throw away the modtype - we don't treat it as a parameter */