summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-23 14:24:33 (GMT)
committerGitHub <noreply@github.com>2020-12-23 14:24:33 (GMT)
commit90025d52ba90378d2b074f7736ad45b781779164 (patch)
tree43421f716817b6cbddc70df48bcc827c4bc1b21f
parent9bf7658013e49dabaafb818a639b5ca62f845538 (diff)
parente00dfd2d0ac20c4e25f6452242f65cd82faf9538 (diff)
downloadDoxygen-90025d52ba90378d2b074f7736ad45b781779164.zip
Doxygen-90025d52ba90378d2b074f7736ad45b781779164.tar.gz
Doxygen-90025d52ba90378d2b074f7736ad45b781779164.tar.bz2
Merge pull request #8273 from albert-github/feature/issue_8269
issue #8269 Make failed when building layout.cpp
-rwxr-xr-xsrc/to_c_cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/to_c_cmd.py b/src/to_c_cmd.py
index 52785f1..9510fd7 100755
--- a/src/to_c_cmd.py
+++ b/src/to_c_cmd.py
@@ -5,4 +5,4 @@
# place an escaped \n and " at the end of each line
import sys
for line in sys.stdin:
- sys.stdout.write('"' + line.replace('\\','\\\\').replace('"','\\"').replace('\n','') + '\\n"\n')
+ sys.stdout.write('"' + line.replace('\\','\\\\').replace('"','\\"').replace('\n','').replace('\r','') + '\\n"\n')