nupa_subcktcall(), fix lvalue
This commit is contained in:
parent
0a149819a5
commit
3267bf8d63
|
|
@ -1640,7 +1640,7 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
|
||||||
|
|
||||||
if (alfanum(t_p[(kp - t_p)]) || t_p[(kp - t_p)] == '.') {
|
if (alfanum(t_p[(kp - t_p)]) || t_p[(kp - t_p)] == '.') {
|
||||||
/* number, identifier */
|
/* number, identifier */
|
||||||
int (hp - t_p) = (int) (kp - t_p);
|
char *hp = t_p + (int) (kp - t_p);
|
||||||
while (t_p[(kp - t_p)] > ' ')
|
while (t_p[(kp - t_p)] > ' ')
|
||||||
kp++;
|
kp++;
|
||||||
pscopy(&ustr, t_p, (int) (hp - t_p), (int) (kp - t_p) - (int) (hp - t_p));
|
pscopy(&ustr, t_p, (int) (hp - t_p), (int) (kp - t_p) - (int) (hp - t_p));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue