numparam/xpressn.c, evaluate_variable(), cleanup `for' loop
This commit is contained in:
parent
fdfaf0c84a
commit
6d4fc501bd
|
|
@ -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…
Reference in New Issue