From 06b71fe2d22c0a51326c359f17f17a7059d27eb5 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 25 Nov 2017 15:11:07 +0100 Subject: [PATCH] nupa_subcktcall(), use skip_non_ws() --- src/frontend/numparam/xpressn.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/numparam/xpressn.c b/src/frontend/numparam/xpressn.c index 4245d30c0..03dbbd1e7 100644 --- a/src/frontend/numparam/xpressn.c +++ b/src/frontend/numparam/xpressn.c @@ -1582,8 +1582,7 @@ nupa_subcktcall(dico_t *dico, char *s, char *x, char *inst_name) skip over instance name -- fixes bug where instance 'x1' is same name as subckt 'x1' */ - while (*x && *x != ' ') - x++; + x = skip_non_ws(x); scopy_up(&tstr, x); j = 0;