Mercurial > emacs
changeset 39949:f169b10c8e00
(read_c_string_or_comment): Don't drop a '*'
in a C doc comment.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 15 Oct 2001 10:04:31 +0000 |
parents | 3b95fca1df77 |
children | df00f7799bb7 |
files | lib-src/make-docfile.c |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/make-docfile.c Mon Oct 15 09:14:09 2001 +0000 +++ b/lib-src/make-docfile.c Mon Oct 15 10:04:31 2001 +0000 @@ -246,7 +246,8 @@ c = getc (infile); } - c = getc (infile); + if (c != EOF) + c = getc (infile); if (comment) { @@ -255,6 +256,11 @@ c = getc (infile); break; } + + if (printflag > 0) + putc ('*', outfile); + else if (printflag < 0) + *p++ = '*'; } else {