Branch: Tag:

2008-05-21

2008-05-21 21:55:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added {va_,}yyreport(). yywarning() is now based on va_yyreport().

Rev: src/program.c:1.700
Rev: src/program.h:1.247

2:   || 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.h,v 1.246 2008/05/16 18:20:08 grubba Exp $ + || $Id: program.h,v 1.247 2008/05/21 21:55:49 grubba Exp $   */      #ifndef PROGRAM_H
304:   #define ID_FINAL 0x04 /* Symbol may not be overloaded */   #define ID_NOMASK 0x04 /* Symbol may not be overloaded (deprecated) */   #define ID_PUBLIC 0x08 /* Anti private */ - #define ID_USED 0x10 /* This reference has been used. Check + #define ID_USED 0x10 /* This identifier has been used. Check    * that the type is compatible when    * overloading. */   #define ID_LOCAL 0x20 /* Locally referenced symbol (not virtual) */
934:   PMOD_EXPORT struct program *program_from_svalue(const struct svalue *s);   struct find_child_cache_s;   int find_child(struct program *parent, struct program *child); + void va_yyreport(int severity_level, const char *system, +  const char *fmt, va_list args); + void yyreport(int severity_level, const char *system, const char *fmt, ...);   void yywarning(char *fmt, ...);   struct implements_cache_s;   PMOD_EXPORT int implements(struct program *a, struct program *b);