Branch: Tag:

2001-08-15

2001-08-15 20:58:44 by Martin Stjernholm <mast@lysator.liu.se>

Added a handler function compile_exception which gets the exceptions thrown
during compilation, instead of calling master()->handle_error for them.

Rev: src/las.c:1.263
Rev: src/program.c:1.364
Rev: src/program.h:1.142

5:   \*/      /* -  * $Id: program.h,v 1.141 2001/07/20 22:45:13 grubba Exp $ +  * $Id: program.h,v 1.142 2001/08/15 20:58:44 mast Exp $    */   #ifndef PROGRAM_H   #define PROGRAM_H
503:    struct program *prog,    INT32 *linep);   void my_yyerror(char *fmt,...) ATTRIBUTE((format(printf,1,2))); + void yy_describe_exception(struct svalue *thrown);   struct program *compile(struct pike_string *prog,    struct object *handler,    int major,