1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

Add edebug specs for macros 1value' and noreturn'.

This commit is contained in:
Jonathan Yavner 2003-11-30 06:58:00 +00:00
parent 1116910a51
commit 01a9e5933d
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,15 @@
2003-11-30 Jonathan Yavner <jyavner@member.fsf.org>
* subr.el (noreturn, 1value): New macros for test coverage. See
`testcover.el'.
* emacs-lisp/edebug.el: Add def-edebug-spec for `noreturn' and `1value'.
* emacs-lisp/testcover.el (testcover-reinstrument): Special case
for macro `1value'.
(testcover-1value): New function. Checks that a 1value form
actually returns only one value. Requested by RMS.
2003-11-29 Nick Roberts <nick@nick.uklinux.net>
* gdb-ui.el (gud-watch, gdb-var-create-handler)

View File

@ -2090,6 +2090,10 @@ expressions; a `progn' form will be returned enclosing these forms."
(def-edebug-spec push (form sexp))
(def-edebug-spec pop (sexp))
(def-edebug-spec 1value (form))
(def-edebug-spec noreturn (form))
;; Anything else?