pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: program.c,v 1.483 2003/10/21 02:16:34 nilsson Exp $ + || $Id: program.c,v 1.484 2003/11/25 18:29:30 jonasw Exp $   */      #include "global.h" - RCSID("$Id: program.c,v 1.483 2003/10/21 02:16:34 nilsson Exp $"); + RCSID("$Id: program.c,v 1.484 2003/11/25 18:29:30 jonasw Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "language.h"   #include "lex.h"   #include "pike_macros.h"   #include "fsort.h"
pike.git/src/program.c:4997:    if (!prog->linenumbers)    return "stub";       if (pc) {    ptrdiff_t offset;    if (!prog->program)    return "stub";    offset = pc - prog->program;    if ((offset < (ptrdiff_t)prog->num_program) && (offset >= 0)) {    char *base, *cnt = prog->linenumbers; -  INT32 off,line,pid; +  INT32 off = 0, line = 0;       while(cnt < prog->linenumbers + prog->num_linenumbers)    {    if(*cnt == 127)    {    cnt++;    len = get_small_number(&cnt);    shift = *cnt;    file = ++cnt;    cnt += len<<shift;