Branch: Tag:

1996-10-09

1996-10-09 02:01:32 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

exit_on_error fixed

Rev: src/backend.c:1.4
Rev: src/builtin_functions.c:1.7
Rev: src/error.c:1.5
Rev: src/error.h:1.4
Rev: src/main.c:1.8

41:      extern JMP_BUF *recoveries;   extern struct svalue throw_value; - extern char *automatic_fatal, *exit_on_error; +       #define SETJMP(X) setjmp((init_recovery(&X)->recovery))   #define UNSETJMP(X) recoveries=X.previous;
60:   JMP_BUF *init_recovery(JMP_BUF *r);   void throw() ATTRIBUTE((noreturn));   void va_error(char *fmt, va_list args) ATTRIBUTE((noreturn)); + void exit_on_error(void *msg); + void fatal_on_error(void *msg);   void error(char *fmt,...) ATTRIBUTE((noreturn,format (printf, 1, 2)));   void fatal(char *fmt, ...) ATTRIBUTE((noreturn,format (printf, 1, 2)));   /* Prototypes end here */