projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update.
[chise/xemacs-chise.git-]
/
lib-src
/
make-docfile.c
diff --git
a/lib-src/make-docfile.c
b/lib-src/make-docfile.c
index
aeee24a
..
4cbe8c2
100644
(file)
--- a/
lib-src/make-docfile.c
+++ b/
lib-src/make-docfile.c
@@
-477,6
+477,12
@@
write_c_args (FILE *out, const char *func, char *buff, int minargs,
in_ident = 0;
just_spaced = 0;
}
+ /* If the character is carriage return, escape it for the C compiler. */
+ else if (c == '\n')
+ {
+ putc('\\', out);
+ putc('\n', out);
+ }
else if (c != ' ' || ! just_spaced)
{
if (c >= 'a' && c <= 'z')