pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:3331: Inside #if defined(PIKE_DEBUG)
   fprintf(stderr,"identifier_level: %d\n",p->inherits[e].identifier_level);       for(d=0;d<p->inherits[e].inherit_level;d++) fprintf(stderr," ");    fprintf(stderr,"parent_identifier: %d\n",p->inherits[e].parent_identifier);       for(d=0;d<p->inherits[e].inherit_level;d++) fprintf(stderr," ");    fprintf(stderr,"parent_offset: %d\n",p->inherits[e].parent_offset);       for(d=0;d<p->inherits[e].inherit_level;d++) fprintf(stderr," ");    fprintf(stderr,"storage_offset: %ld\n", -  DO_NOT_WARN((long)p->inherits[e].storage_offset)); +  (long)p->inherits[e].storage_offset);       for(d=0;d<p->inherits[e].inherit_level;d++) fprintf(stderr," ");    fprintf(stderr,"parent: %p\n",p->inherits[e].parent);       if(p->inherits[e].parent &&    p->inherits[e].parent->prog &&    p->inherits[e].parent->prog->num_linenumbers>1)    {    for(d=0;d<p->inherits[e].inherit_level;d++) fprintf(stderr," ");    fprintf(stderr,"parent: %s\n",p->inherits[e].parent->prog->linenumbers+1);
pike.git/src/program.c:4267:    * STORAGE_NEEDED() is defined in program.h.    * /Hubbe 1999-09-29    *    * Oops, seems I read the test below the wrong way around.    * /grubba 1999-09-29    */    Pike_compiler->new_program->inherits[0].storage_offset=offset;    }       if(Pike_compiler->new_program->alignment_needed<alignment) -  Pike_compiler->new_program->alignment_needed = -  DO_NOT_WARN((unsigned INT8)alignment); +  Pike_compiler->new_program->alignment_needed = (unsigned INT8)alignment;      #ifdef PIKE_DEBUG    if(offset < Pike_compiler->new_program->storage_needed)    Pike_fatal("add_storage failed horribly!\n");       if( (offset /* + OFFSETOF(object,storage) */ - modulo_orig ) % alignment )    Pike_fatal("add_storage failed horribly(2) %ld %ld %ld %ld!\n", -  DO_NOT_WARN((long)offset), +  (long)offset,    (long)0 /* + OFFSETOF(object,storage) */, -  DO_NOT_WARN((long)modulo_orig), -  DO_NOT_WARN((long)alignment)); +  (long)modulo_orig), +  (long)alignment);      #endif       Pike_compiler->new_program->storage_needed = offset + size;       return (size_t) offset;   }      /*    * Internal function.
pike.git/src/program.c:7651:    if(Pike_compiler->last_line != current_line ||    Pike_compiler->last_file != current_file)    {    if(Pike_compiler->last_file != current_file)    {    if(Pike_compiler->last_file) free_string(Pike_compiler->last_file);    add_to_linenumbers(127);    insert_small_number(store_prog_string(current_file));    copy_shared_string(Pike_compiler->last_file, current_file);    } -  insert_small_number(DO_NOT_WARN((INT32)(PIKE_PC-Pike_compiler->last_pc))); +  insert_small_number((INT32)(PIKE_PC-Pike_compiler->last_pc));    insert_small_number(current_line-Pike_compiler->last_line);    Pike_compiler->last_line = current_line; -  Pike_compiler->last_pc = DO_NOT_WARN((INT32)PIKE_PC); +  Pike_compiler->last_pc = (INT32)PIKE_PC;    }   }      #define FIND_PROGRAM_LINE(prog, file, line) do { \    char *pos = prog->linenumbers; \    file = NULL; \    \    if (pos < prog->linenumbers + prog->num_linenumbers) { \    if (*pos == 127) { \    int strno; \