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

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

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

Revision 94 Revision 159
22#include <stdlib.h> 22#include <stdlib.h>
23#include <string.h> 23#include <string.h>
24 24
25#include "parse_routines.h" 25#include "parse_routines.h"
26#include "error.h" 26#include "error.h"
27
28#ifdef DMALLOC
29#include <dmalloc.h>
30#endif
31
27 32
28static int psiconv_parse_layout_section(const psiconv_buffer buf, 33static int psiconv_parse_layout_section(const psiconv_buffer buf,
29 int lev,psiconv_u32 off, 34 int lev,psiconv_u32 off,
30 int *length, 35 int *length,
31 psiconv_text_and_layout result, 36 psiconv_text_and_layout result,
709 psiconv_warn(lev+3,off+len, 714 psiconv_warn(lev+3,off+len,
710 "Layout section inlines: not enough element"); 715 "Layout section inlines: not enough element");
711 psiconv_debug(lev+3,off+len,"Can't read element!"); 716 psiconv_debug(lev+3,off+len,"Can't read element!");
712 } else { 717 } else {
713 total ++; 718 total ++;
719 in_line.object = NULL;
714 if (!(in_line.layout = psiconv_clone_character_layout 720 if (!(in_line.layout = psiconv_clone_character_layout
715 (para->base_character))) 721 (para->base_character)))
716 goto ERROR4; 722 goto ERROR4;
717 psiconv_progress(lev+4,off+len,"Going to read the element type"); 723 psiconv_progress(lev+4,off+len,"Going to read the element type");
718 temp = psiconv_read_u8(buf,lev+4,len+off,&res); 724 temp = psiconv_read_u8(buf,lev+4,len+off,&res);

Legend:
Removed from v.94  
changed lines
  Added in v.159

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