aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources')
-rw-r--r--backendC/CleanCompilerSources/scanner_2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/scanner_2.c b/backendC/CleanCompilerSources/scanner_2.c
index 8b9d255..d163dba 100644
--- a/backendC/CleanCompilerSources/scanner_2.c
+++ b/backendC/CleanCompilerSources/scanner_2.c
@@ -346,6 +346,9 @@ static int get_line_from_inline_file (char *line_buffer,int line_length)
c=*buffer_p++;
--chars_left_in_buffer;
+
+ if (c=='\r')
+ c='\n';
if (line_length>1){
--line_length;