mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
(read_c_string_or_comment): Don't drop a '*'
in a C doc comment.
This commit is contained in:
parent
56378db4a0
commit
7dfd439c45
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue