Browse Source

findsubname(), decrement later

pre-master-46
rlar 8 years ago
parent
commit
31ad5ca970
  1. 4
      src/frontend/numparam/spicenum.c

4
src/frontend/numparam/spicenum.c

@ -174,11 +174,11 @@ findsubname(dico_t *dico, SPICE_DSTRINGPTR dstr_p)
nest--;
else if (p[-1] == '}')
nest++;
p--;
if (nest <= 0) {
p--;
break;
}
p--;
}
p_end = p; /* p_end points to '{' */

Loading…
Cancel
Save