diff options
author | albert-github <albert.tests@gmail.com> | 2020-12-23 12:40:34 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-12-23 12:40:34 (GMT) |
commit | e00dfd2d0ac20c4e25f6452242f65cd82faf9538 (patch) | |
tree | 43421f716817b6cbddc70df48bcc827c4bc1b21f /src | |
parent | 9bf7658013e49dabaafb818a639b5ca62f845538 (diff) | |
download | Doxygen-e00dfd2d0ac20c4e25f6452242f65cd82faf9538.zip Doxygen-e00dfd2d0ac20c4e25f6452242f65cd82faf9538.tar.gz Doxygen-e00dfd2d0ac20c4e25f6452242f65cd82faf9538.tar.bz2 |
issue #8269 Make failed when building layout.cpp
When a `\r` is present of the line ending of the file `layout_default.xml` this leads to unexpected results (the `\r` should not be present at all).
By means of removing the `\r` this problem can be solved.
Diffstat (limited to 'src')
-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') |