Branch: Tag:


2001-08-16 04:38:53 by Martin Stjernholm <>

Further cleanups and some bug fixes in the error handling during cpp and
compilation. Errors in resolv, handle_inherit and handle_import are sent to
compile_exception, but those thrown by compile_error, compile_warning and
compile_exception are handled by the normal handle_error. Replaced some
more SAFE_APPLY_MASTER with safe_apply_handler.

Rev: src/cpp.c:1.93
Rev: src/interpret.c:1.243
Rev: src/interpret.h:1.98
Rev: src/language.yacc:1.260
Rev: src/las.c:1.265
Rev: src/preprocessor.h:1.45
Rev: src/program.c:1.366
Rev: src/program.h:1.143

5:   \*/      /* -  * $Id: interpret.h,v 1.97 2001/08/15 09:26:32 hubbe Exp $ +  * $Id: interpret.h,v 1.98 2001/08/16 04:38:50 mast Exp $    */   #ifndef INTERPRET_H   #define INTERPRET_H
362:   PMOD_EXPORT void safe_apply_low(struct object *o,int fun,int args);   PMOD_EXPORT void safe_apply_low2(struct object *o,int fun,int args, int handle_errors);   PMOD_EXPORT void safe_apply(struct object *o, char *fun ,INT32 args); - PMOD_EXPORT void safe_apply_handler(const char *fun, + PMOD_EXPORT void low_safe_apply_handler(const char *fun,    struct object *handler,    struct object *compat,    INT32 args); -  + PMOD_EXPORT int safe_apply_handler(const char *fun, +  struct object *handler, +  struct object *compat, +  INT32 args, +  TYPE_FIELD rettypes);   PMOD_EXPORT void apply_lfun(struct object *o, int fun, int args);   PMOD_EXPORT void apply_shared(struct object *o,    struct pike_string *fun,