nupa_subcktcall(), transform pscopy(,x,y,) --> pscopy(,x+y,y-y,) (requirement strlen(x) >= y to be verified later)
This commit is contained in:
parent
53adeee1d3
commit
6e5ef92fd2
|
|
@ -1531,7 +1531,7 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
|
||||||
if (i >= 0) {
|
if (i >= 0) {
|
||||||
const char *optr, *jptr;
|
const char *optr, *jptr;
|
||||||
|
|
||||||
pscopy(&tstr, spice_dstring_value(&tstr), i + 7, (int) strlen(spice_dstring_value(&tstr) + i + 7));
|
pscopy(&tstr, spice_dstring_value(&tstr) + i + 7, 0, (int) strlen(spice_dstring_value(&tstr) + i + 7));
|
||||||
|
|
||||||
/* search identifier to the left of '=' assignments */
|
/* search identifier to the left of '=' assignments */
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue