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.602 2006/07/05 02:21:51 mast Exp $ + || $Id: program.c,v 1.603 2006/07/05 19:28:11 mast Exp $   */      #include "global.h"   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "lex.h"
pike.git/src/program.c:6066:    struct program *p = PROG_FROM_PTR (o->prog, idref);    struct identifier *id = p->identifiers + idref->identifier_offset;    if (IDENTIFIER_IS_PIKE_FUNCTION(id->identifier_flags))    return low_get_line (p->program + id->func.offset, p, linep);    return low_get_program_line(o->prog, linep);    }    *linep = 0;    return NULL;   }    - void va_yyerror(const char *fmt, va_list args) + PMOD_EXPORT void va_yyerror(const char *fmt, va_list args)   {    struct string_builder s;    struct pike_string *tmp;    init_string_builder(&s, 0);    string_builder_vsprintf(&s, fmt, args);    tmp = finish_string_builder(&s);    low_yyerror(tmp);    free_string(tmp);   }    - void my_yyerror(const char *fmt,...) + PMOD_EXPORT void my_yyerror(const char *fmt,...)   {    va_list args;    va_start(args,fmt);    va_yyerror (fmt, args);    va_end(args);   }      struct pike_string *format_exception_for_error_msg (struct svalue *thrown)   {    struct pike_string *s = NULL;