xpressn.c, formula(), #5/6 whitespace and indentation

This commit is contained in:
rlar 2015-11-07 19:10:25 +01:00
parent 577352e6bb
commit a805fe6b56
1 changed files with 10 additions and 12 deletions

View File

@ -1003,7 +1003,6 @@ formula(dico_t *dico, const char *s, const char *s_end, bool *perror)
fu = 0; fu = 0;
} else if (alfa(c)) { } else if (alfa(c)) {
const char *s_next = fetchid(s, s_end); const char *s_next = fetchid(s, s_end);
{
fu = keyword(fmathS, s, s_next); /* numeric function? */ fu = keyword(fmathS, s, s_next); /* numeric function? */
if (fu > 0) { if (fu > 0) {
state = S_init; /* S_init means: ignore for the moment */ state = S_init; /* S_init means: ignore for the moment */
@ -1015,7 +1014,6 @@ formula(dico_t *dico, const char *s, const char *s_end, bool *perror)
u = fetchnumentry(dico, spice_dstring_value(&tstr), &error); u = fetchnumentry(dico, spice_dstring_value(&tstr), &error);
state = S_atom; state = S_atom;
} }
}
s = s_next; s = s_next;
} else if (((c == '.') || ((c >= '0') && (c <= '9')))) { } else if (((c == '.') || ((c >= '0') && (c <= '9')))) {
u = fetchnumber(dico, &s, &error); u = fetchnumber(dico, &s, &error);