(read_c_string_or_comment): Don't drop a '*'

in a C doc comment.
This commit is contained in:
Gerd Moellmann 2001-10-15 10:04:31 +00:00
parent 56378db4a0
commit 7dfd439c45

View file

@ -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
{