Browse Source

getword(), transform while loop

pre-master-46
rlar 10 years ago
parent
commit
cc452a4c90
  1. 4
      src/frontend/numparam/xpressn.c

4
src/frontend/numparam/xpressn.c

@ -1320,9 +1320,9 @@ static const char *
getword(const char *s, const char * const s_end, SPICE_DSTRINGPTR tstr_p)
/* isolate a word from s after position "after". return i= last read+1 */
{
do
s++;
while ((s < s_end) && !alfa(s[-1]))
s++;
while ((s < s_end) && !alfa(s[-1]));
spice_dstring_reinit(tstr_p);

Loading…
Cancel
Save