summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2020-12-23 15:07:47 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2020-12-23 15:07:47 (GMT)
commite5add605da7f5d3fa366658bca85e943a8b2dc87 (patch)
tree960073498e7a45018c97e4b2ddf9983b34805b45 /src
parent11f0c2e3735e4736a5ade8468a356ebc2fc2840d (diff)
parent90025d52ba90378d2b074f7736ad45b781779164 (diff)
downloadDoxygen-e5add605da7f5d3fa366658bca85e943a8b2dc87.zip
Doxygen-e5add605da7f5d3fa366658bca85e943a8b2dc87.tar.gz
Doxygen-e5add605da7f5d3fa366658bca85e943a8b2dc87.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src')
-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')