nupa_subcktcall(), swap `hp' and `kp'
neither `hp' nor `kp' will be used any more behind this body
This commit is contained in:
parent
07112d62fb
commit
71ac5bccc2
|
|
@ -1641,10 +1641,10 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
|
||||||
if (alfanum(*kp) || *kp == '.') {
|
if (alfanum(*kp) || *kp == '.') {
|
||||||
/* number, identifier */
|
/* number, identifier */
|
||||||
char *hp = kp;
|
char *hp = kp;
|
||||||
while (*kp > ' ')
|
while (*hp > ' ')
|
||||||
kp++;
|
hp++;
|
||||||
pscopy(&ustr, hp, 0, (int) (kp - hp));
|
pscopy(&ustr, kp, 0, (int) (hp - kp));
|
||||||
jp = kp;
|
jp = hp;
|
||||||
} else if (*kp == '{') {
|
} else if (*kp == '{') {
|
||||||
jp = getexpress(NULL, &ustr, jp);
|
jp = getexpress(NULL, &ustr, jp);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue