nupa_assignment(), whitespace
This commit is contained in:
parent
0624584370
commit
f0fa06ea26
|
|
@ -1421,11 +1421,13 @@ nupa_assignment(dico_t *dico, const char * const s, char mode)
|
||||||
/* s has the format: ident = expression; ident= expression ... */
|
/* s has the format: ident = expression; ident= expression ... */
|
||||||
const char * const s_end = s + strlen(s);
|
const char * const s_end = s + strlen(s);
|
||||||
const char *p = s;
|
const char *p = s;
|
||||||
|
|
||||||
bool error = 0;
|
bool error = 0;
|
||||||
nupa_type dtype;
|
nupa_type dtype;
|
||||||
int wval = 0;
|
int wval = 0;
|
||||||
double rval = 0.0;
|
double rval = 0.0;
|
||||||
char *t_p; /* dstring contents value */
|
char *t_p; /* dstring contents value */
|
||||||
|
|
||||||
SPICE_DSTRING tstr; /* temporary dstring */
|
SPICE_DSTRING tstr; /* temporary dstring */
|
||||||
SPICE_DSTRING ustr; /* temporary dstring */
|
SPICE_DSTRING ustr; /* temporary dstring */
|
||||||
|
|
||||||
|
|
@ -1484,8 +1486,6 @@ nupa_assignment(dico_t *dico, const char * const s, char mode)
|
||||||
error = message(dico, " ; sign expected.\n");
|
error = message(dico, " ; sign expected.\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* else
|
|
||||||
p++; */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
spice_dstring_free(&tstr);
|
spice_dstring_free(&tstr);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue