pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:9026:    prog->num_strings = 1;       ptr = prog->linenumbers = xalloc (1 + 1 + 1 + 11);    *ptr++ = 127; /* 1 */    *ptr++ = 0; /* String #0 */ /* 1 */    *ptr++ = 0; /* PC */ /* 1 */    ext_insert_small_number (&ptr, line); /* 11 */    prog->num_linenumbers = ptr - prog->linenumbers;   }    - void store_linenumber(INT_TYPE current_line, struct pike_string *current_file) + int store_linenumber(INT_TYPE current_line, struct pike_string *current_file)   {   /* if(!store_linenumbers) Pike_fatal("Fnord.\n"); */   #ifdef PIKE_DEBUG    if(a_flag)    {    INT_TYPE line=0;    INT32 off=0;    char *cnt=Pike_compiler->new_program->linenumbers;    struct pike_string *file = NULL;   
pike.git/src/program.c:9148:    {    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((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 = (INT32)PIKE_PC; +  +  return 1;    } -  +  return 0;   }      void store_linenumber_local_name(int local_num, int string_num)   {    add_to_linenumbers(127);    insert_small_number(~local_num);    add_to_linenumbers(0);    insert_small_number(string_num);   }