diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/make-docfile.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 9796db4ede0..fb371db710f 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -246,7 +246,8 @@ read_c_string_or_comment (infile, printflag, comment) | |||
| 246 | c = getc (infile); | 246 | c = getc (infile); |
| 247 | } | 247 | } |
| 248 | 248 | ||
| 249 | c = getc (infile); | 249 | if (c != EOF) |
| 250 | c = getc (infile); | ||
| 250 | 251 | ||
| 251 | if (comment) | 252 | if (comment) |
| 252 | { | 253 | { |
| @@ -255,6 +256,11 @@ read_c_string_or_comment (infile, printflag, comment) | |||
| 255 | c = getc (infile); | 256 | c = getc (infile); |
| 256 | break; | 257 | break; |
| 257 | } | 258 | } |
| 259 | |||
| 260 | if (printflag > 0) | ||
| 261 | putc ('*', outfile); | ||
| 262 | else if (printflag < 0) | ||
| 263 | *p++ = '*'; | ||
| 258 | } | 264 | } |
| 259 | else | 265 | else |
| 260 | { | 266 | { |