Mercurial > emacs
changeset 46394:1dd68094031a
(scan_c_file): Warn about missing `usage' info.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 15 Jul 2002 19:59:53 +0000 |
parents | 4f6ec0250812 |
children | c5b9abc5664c |
files | lib-src/make-docfile.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/make-docfile.c Mon Jul 15 16:17:01 2002 +0000 +++ b/lib-src/make-docfile.c Mon Jul 15 19:59:53 2002 +0000 @@ -722,6 +722,9 @@ fprintf (outfile, "\n\n"); write_c_args (outfile, buf, argbuf, minargs, maxargs); } + else if (defunflag && maxargs == -1 && !saw_usage) + /* The DOC should provide the usage form. */ + fprintf (stderr, "Missing `usage' for function `%s'.\n", buf); } } eof: