pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:8476:    }    else {    wanted_file = 0;    }    printf("file: %s\n", file->str);    continue;    }       off+=get_small_number(&cnt);    line+=get_small_number(&cnt); -  printf("line: %d %p\n", line, off); +  // printf("line: %d %p\n", line, off);       if(wanted_file && line == linep) { printf("found\n"); return off; }    }    } else {    fprintf(stderr, "No program of linenumbers program:%p linenumbers:%p\n",    prog->program, prog->linenumbers);    }    -  return NULL; +  return 0;   }      PMOD_EXPORT struct pike_string *low_get_line (PIKE_OPCODE_T *pc,    struct program *prog,    INT_TYPE *linep)   {    linep[0] = 0;       if (prog->program && prog->linenumbers) {    ptrdiff_t offset = pc - prog->program;