Mercurial > hg > xemacs-beta
comparison src/ChangeLog @ 2268:61855263cb07
[xemacs-hg @ 2004-09-14 14:32:29 by james]
Identify functions that don't return, including some DEFUNs.
| author | james |
|---|---|
| date | Tue, 14 Sep 2004 14:33:07 +0000 |
| parents | 5753220a0f80 |
| children | e13775448cf0 |
comparison
equal
deleted
inserted
replaced
| 2267:5753220a0f80 | 2268:61855263cb07 |
|---|---|
| 1 2004-09-13 Jerry James <james@xemacs.org> | |
| 2 | |
| 3 * s/windowsnt.h: Define (DECLARE_)DOESNT_RETURN_TYPE instead of | |
| 4 (DECLARE_)DOESNT_RETURN. | |
| 5 * buffer.c (nsberror): Mark as noreturn. | |
| 6 * cmdloop.c (Fcommand_loop_1): Mark as noreturn when | |
| 7 !LISP_COMMAND_LOOP. | |
| 8 * cmdloop.c (Freally_early_error_handler): Mark as noreturn. Use | |
| 9 RETURN_NOT_REACHED to quash compiler warnings. | |
| 10 * cmdloop.c (command_loop_3): Ditto. | |
| 11 * cmdloop.c (command_loop_2): Ditto. | |
| 12 * cmdloop.c (call_command_loop): Ditto, both versions. | |
| 13 * cmdloop.c (command_loop_1): Ditto, when !LISP_COMMAND_LOOP. | |
| 14 * cmdloop.c (Fcommand_loop_1): Ditto, when !LISP_COMMAND_LOOP. | |
| 15 * commands.h (call_command_loop): Declare as noreturn. | |
| 16 * compiler.h: Define (DECLARE_)DOESNT_RETURN_TYPE for functions | |
| 17 with non-void return types. Use them to define | |
| 18 (DECLARE_)DOESNT_RETURN. | |
| 19 * device-x.c (x_IO_error_handler): Use RETURN_NOT_REACHED. | |
| 20 * emacs.c (Frun_emacs_from_temacs): Mark as noreturn. | |
| 21 * emacs.c (Fkill_emacs): Ditto. Use RETURN_NOT_REACHED. | |
| 22 * eval.c (unwind_to_catch): Declare as noreturn. | |
| 23 * eval.c (throw_or_bomb_out): Ditto. Remove comments about | |
| 24 warnings that will now not be generated. | |
| 25 * eval.c (Fthrow): Mark as noreturn. Use RETURN_NOT_REACHED. | |
| 26 * eval.c (Fsignal): Use RETURN_NOT_REACHED. | |
| 27 * eval.c (flagged_a_squirmer): Mark as noreturn. Use | |
| 28 RETURN_NOT_REACHED. | |
| 29 * fns.c (base64_conversion_error): Declare as noreturn. | |
| 30 * frame-gtk.c (gtk_cant_notify_wm_error): Ditto. | |
| 31 * frame-x.c (x_cant_notify_wm_error): Ditto. | |
| 32 * gif_io.c (GifError): Mark as noreturn. | |
| 33 * gif_io.c (GifInternError): Ditto. | |
| 34 * gifrlib.h (GifInternError): Declare as noreturn. | |
| 35 * gifrlib.h (GifError): Ditto. | |
| 36 * lisp.h (EXFUN_NORETURN): New macro. | |
| 37 * lisp.h (DEFUN_NORETURN): New macro. | |
| 38 * lisp.h (Fkill_emacs): Declare as noreturn. | |
| 39 * lisp.h (Fthrow): Ditto. | |
| 40 * lread.c (read_syntax_error): Ditto. | |
| 41 * minibuf.c (Fread_minibuffer_internal): Mark as noreturn. Don't | |
| 42 bother calling specpdl_depth and unbind_to_1 since | |
| 43 call_command_loop never returns. | |
| 44 * objects.c (finalose): Mark as noreturn. | |
| 45 * objects.h (finalose): Declare as noreturn. | |
| 46 * process-unix.c (child_setup): Ditto. | |
| 47 * search.c (matcher_overflow): Ditto. | |
| 48 * search.c (signal_failure): Ditto. Make the return type void and | |
| 49 remove the return statement. | |
| 50 * search.c (search_command): Change the use of signal_failure to | |
| 51 match, using RETURN_NOT_REACHED. | |
| 52 | |
| 1 2004-08-18 Felix H. Gatzemeier <f.g@tzemeier.info> | 53 2004-08-18 Felix H. Gatzemeier <f.g@tzemeier.info> |
| 2 | 54 |
| 3 * doprnt.c (emacs_doprnt_1): Use sprintf to format error messages | 55 * doprnt.c (emacs_doprnt_1): Use sprintf to format error messages |
| 4 from the formatting function. | 56 from the formatting function. |
| 5 * eval.c (syntax_error): Emphasize that `reason' is not processed | 57 * eval.c (syntax_error): Emphasize that `reason' is not processed |
