mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-13 16:38:14 +00:00
(scan_c_file): Warn about missing `usage' info.
This commit is contained in:
parent
c72fcfc334
commit
1e04216025
@ -1,3 +1,7 @@
|
||||
2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* make-docfile.c (scan_c_file): Warn about missing `usage' info.
|
||||
|
||||
2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
|
||||
|
||||
* b2m.pl: Obey the rmail file and use the unpruned header
|
||||
|
@ -722,6 +722,9 @@ scan_c_file (filename, mode)
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user