pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:7263:    char *ptr;      #ifdef PIKE_DEBUG    if (prog->linenumbers || prog->strings)    Pike_fatal ("Program already got linenumber info.\n");    if (Pike_compiler->new_program == prog)    Pike_fatal ("Use store_linenumber instead when the program is compiled.\n");   #endif       add_ref((prog->strings = xalloc(sizeof(struct pike_string *)))[0] = file); +  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)