Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extra/comp_err.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ static int parse_input_file(const char *file_name, struct errors **top_error,
tail_error= &current_error->next_error;
continue;
}
if (*str == '#' || *str == '\n')
if (*str == '#' || *str == '\n' || *str == '\r')
continue; /* skip comment or empty lines */

fprintf(stderr, "Wrong input file format. Stop!\nLine: %s\n", str);
Expand Down