nupa_subcktcall(), cleanup getexpress() usage

# Conflicts:
#	src/frontend/numparam/xpressn.c
This commit is contained in:
rlar 2017-11-25 13:17:42 +01:00
parent 742f34f596
commit 80701652fc
1 changed files with 1 additions and 4 deletions

View File

@ -1646,10 +1646,7 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
pscopy(&ustr, t_p, h, k - h);
j = k;
} else if (t_p[k] == '{') {
char *aux = t_p;
const char *tmp = aux + j;
tmp = getexpress(NULL, &ustr, tmp);
j = (int) (tmp - aux);
j = (int) (getexpress(NULL, &ustr, t_p + j) - t_p);
} else {
j++;
if (t_p[k] > ' ')