nupa_subcktcall(), transform pscopy(,x,y,) --> pscopy(,x+y,y-y,) (requirement strlen(x) >= y to be verified later)

This commit is contained in:
rlar 2016-05-15 19:46:20 +02:00
parent 53adeee1d3
commit 6e5ef92fd2
1 changed files with 1 additions and 1 deletions

View File

@ -1531,7 +1531,7 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
if (i >= 0) {
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 */