Mercurial > emacs
comparison lib-src/make-docfile.c @ 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 | 6c1d733d1794 |
children | d7669c85c9cb |
comparison
equal
deleted
inserted
replaced
46393:4f6ec0250812 | 46394:1dd68094031a |
---|---|
720 *p = '\0'; | 720 *p = '\0'; |
721 /* Output them. */ | 721 /* Output them. */ |
722 fprintf (outfile, "\n\n"); | 722 fprintf (outfile, "\n\n"); |
723 write_c_args (outfile, buf, argbuf, minargs, maxargs); | 723 write_c_args (outfile, buf, argbuf, minargs, maxargs); |
724 } | 724 } |
725 else if (defunflag && maxargs == -1 && !saw_usage) | |
726 /* The DOC should provide the usage form. */ | |
727 fprintf (stderr, "Missing `usage' for function `%s'.\n", buf); | |
725 } | 728 } |
726 } | 729 } |
727 eof: | 730 eof: |
728 fclose (infile); | 731 fclose (infile); |
729 return 0; | 732 return 0; |