Browse Source

numparam/xpressn.c, evaluate_variable(), cleanup `for' loop

pre-master-46
rlar 10 years ago
parent
commit
6d4fc501bd
  1. 5
      src/frontend/numparam/xpressn.c

5
src/frontend/numparam/xpressn.c

@ -1109,11 +1109,10 @@ evaluate(dico_t *dico, SPICE_DSTRINGPTR qstr_p, char *t, unsigned char mode)
numeric = 1;
} else if (entry->tp == NUPA_STRING) {
/* suppose source text "..." at */
int j = entry->ivl;
int j = entry->ivl + 1;
for (;;) {
j++;
char c = /* ibf->bf[j]; */ entry->sbbase[j];
char c = entry->sbbase[j++];
if ((c == '\"') || (c < ' '))
break;

Loading…
Cancel
Save