/[public]/psiconv/trunk/lib/psiconv/parse_formula.c
ViewVC logotype

Diff of /psiconv/trunk/lib/psiconv/parse_formula.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 100 Revision 101
362 psiconv_debug(lev+3,off+len,"Value: %08x",formula->data.dat_int); 362 psiconv_debug(lev+3,off+len,"Value: %08x",formula->data.dat_int);
363 len += 4; 363 len += 4;
364 if ((res = psiconv_list_add(formula_stack,formula))) 364 if ((res = psiconv_list_add(formula_stack,formula)))
365 goto ERROR8; 365 goto ERROR8;
366 formula->type = psiconv_formula_unknown; 366 formula->type = psiconv_formula_unknown;
367 } else if (formula_elements[marker].formula_type ==
368 psiconv_formula_dat_float) {
369 psiconv_progress(lev+3,off+len,"Next item: a float");
370 formula->data.dat_float = psiconv_read_float(buf,lev+2,off+len,&leng,
371 &res);
372 if (res)
373 goto ERROR8;
374 formula->type = formula_elements[marker].formula_type;
375 psiconv_debug(lev+3,off+len,"Value: %f",formula->data.dat_float);
376 len += leng;
377 if ((res = psiconv_list_add(formula_stack,formula)))
378 goto ERROR8;
379 formula->type = psiconv_formula_unknown;
380
367 } else if ((formula_elements[marker].formula_type == 381 } else if ((formula_elements[marker].formula_type ==
368 psiconv_formula_dat_float) ||
369 (formula_elements[marker].formula_type ==
370 psiconv_formula_dat_var) || 382 psiconv_formula_dat_var) ||
371 (formula_elements[marker].formula_type == 383 (formula_elements[marker].formula_type ==
372 psiconv_formula_dat_string) || 384 psiconv_formula_dat_string) ||
373 (formula_elements[marker].formula_type == 385 (formula_elements[marker].formula_type ==
374 psiconv_formula_dat_cellref) || 386 psiconv_formula_dat_cellref) ||
375 (formula_elements[marker].formula_type == 387 (formula_elements[marker].formula_type ==

Legend:
Removed from v.100  
changed lines
  Added in v.101

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26