mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-15 22:03:26 +00:00
Fix a bug that ate each character after a \ except a newline.
Estimated hours taken: 0.1 Branches: main util/pad_backslash.c: Fix a bug that ate each character after a \ except a newline.
This commit is contained in:
@@ -102,6 +102,7 @@ process(FILE *fp)
|
||||
cur_column = 1;
|
||||
} else {
|
||||
putchar(cur_char);
|
||||
putchar(next_char);
|
||||
cur_column++;
|
||||
}
|
||||
} else if (cur_char == '\t') {
|
||||
|
||||
Reference in New Issue
Block a user