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;
|
numeric = 1;
|
||||||
} else if (entry->tp == NUPA_STRING) {
|
} else if (entry->tp == NUPA_STRING) {
|
||||||
/* suppose source text "..." at */
|
/* suppose source text "..." at */
|
||||||
int j = entry->ivl;
|
int j = entry->ivl + 1;
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
j++;
|
char c = entry->sbbase[j++];
|
||||||
char c = /* ibf->bf[j]; */ entry->sbbase[j];
|
|
||||||
|
|
||||||
if ((c == '\"') || (c < ' '))
|
if ((c == '\"') || (c < ' '))
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue