From c42303423a48b8932b2af8b84e8e0c15661be2bf Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Wed, 29 Jul 2015 12:37:51 +0100 Subject: [PATCH] Removed extra newline at the end of some error messages. --- re2c/src/main.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/re2c/src/main.cc b/re2c/src/main.cc index ab069d33..e82803d3 100644 --- a/re2c/src/main.cc +++ b/re2c/src/main.cc @@ -32,7 +32,7 @@ int main(int argc, char *argv[]) re2c::Input input (opts.source_file); if (!input.open ()) { - error ("cannot open source file: %s\n", opts.source_file); + error ("cannot open source file: %s", opts.source_file); return 1; } @@ -40,17 +40,17 @@ int main(int argc, char *argv[]) re2c::Output output (opts.output_file, opts.header_file); if (!output.source.open ()) { - error ("cannot open output file: %s\n", opts.output_file); + error ("cannot open output file: %s", opts.output_file); return 1; } if (tFlag && !output.header.open ()) { - error ("cannot open header file: %s\n", opts.header_file); + error ("cannot open header file: %s", opts.header_file); return 1; } if (flag_skeleton && !output.data.open ()) { - error ("cannot open data file: %s\n", output.data.file_name.c_str ()); + error ("cannot open data file: %s", output.data.file_name.c_str ()); return 1; } -- 2.40.0