--- psiconv/trunk/lib/psiconv/parse_formula.c 2001/01/30 23:15:24 100 +++ psiconv/trunk/lib/psiconv/parse_formula.c 2001/01/30 23:57:28 101 @@ -364,10 +364,22 @@ if ((res = psiconv_list_add(formula_stack,formula))) goto ERROR8; formula->type = psiconv_formula_unknown; + } else if (formula_elements[marker].formula_type == + psiconv_formula_dat_float) { + psiconv_progress(lev+3,off+len,"Next item: a float"); + formula->data.dat_float = psiconv_read_float(buf,lev+2,off+len,&leng, + &res); + if (res) + goto ERROR8; + formula->type = formula_elements[marker].formula_type; + psiconv_debug(lev+3,off+len,"Value: %f",formula->data.dat_float); + len += leng; + if ((res = psiconv_list_add(formula_stack,formula))) + goto ERROR8; + formula->type = psiconv_formula_unknown; + } else if ((formula_elements[marker].formula_type == - psiconv_formula_dat_float) || - (formula_elements[marker].formula_type == - psiconv_formula_dat_var) || + psiconv_formula_dat_var) || (formula_elements[marker].formula_type == psiconv_formula_dat_string) || (formula_elements[marker].formula_type ==