HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56378db
)
(read_c_string_or_comment): Don't drop a '*'
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 15 Oct 2001 10:04:31 +0000
(10:04 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 15 Oct 2001 10:04:31 +0000
(10:04 +0000)
in a C doc comment.
lib-src/make-docfile.c
patch
|
blob
|
blame
|
history
diff --git
a/lib-src/make-docfile.c
b/lib-src/make-docfile.c
index
9796db4
..
fb371db
100644
(file)
--- a/
lib-src/make-docfile.c
+++ b/
lib-src/make-docfile.c
@@
-246,7
+246,8
@@
read_c_string_or_comment (infile, printflag, comment)
c = getc (infile);
}
- c = getc (infile);
+ if (c != EOF)
+ c = getc (infile);
if (comment)
{
@@
-255,6
+256,11
@@
read_c_string_or_comment (infile, printflag, comment)
c = getc (infile);
break;
}
+
+ if (printflag > 0)
+ putc ('*', outfile);
+ else if (printflag < 0)
+ *p++ = '*';
}
else
{