diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-23 15:07:47 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2020-12-23 15:07:47 (GMT) |
commit | e5add605da7f5d3fa366658bca85e943a8b2dc87 (patch) | |
tree | 960073498e7a45018c97e4b2ddf9983b34805b45 | |
parent | 11f0c2e3735e4736a5ade8468a356ebc2fc2840d (diff) | |
parent | 90025d52ba90378d2b074f7736ad45b781779164 (diff) | |
download | Doxygen-e5add605da7f5d3fa366658bca85e943a8b2dc87.zip Doxygen-e5add605da7f5d3fa366658bca85e943a8b2dc87.tar.gz Doxygen-e5add605da7f5d3fa366658bca85e943a8b2dc87.tar.bz2 |
Merge branch 'master' of github.com:doxygen/doxygen
-rwxr-xr-x | src/to_c_cmd.py | 2 |
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') |