Browse Source

nupa_subcktcall(), swap `hp' and `kp'

neither `hp' nor `kp' will be used any more behind this body
pre-master-46
rlar 8 years ago
parent
commit
71ac5bccc2
  1. 8
      src/frontend/numparam/xpressn.c

8
src/frontend/numparam/xpressn.c

@ -1641,10 +1641,10 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
if (alfanum(*kp) || *kp == '.') {
/* number, identifier */
char *hp = kp;
while (*kp > ' ')
kp++;
pscopy(&ustr, hp, 0, (int) (kp - hp));
jp = kp;
while (*hp > ' ')
hp++;
pscopy(&ustr, kp, 0, (int) (hp - kp));
jp = hp;
} else if (*kp == '{') {
jp = getexpress(NULL, &ustr, jp);
} else {

Loading…
Cancel
Save