From 82be170d0e95f397e1e4a261f1910315bfebcdec Mon Sep 17 00:00:00 2001 From: Bob Dubner <rdubner@symas.com> Date: Tue, 24 Dec 2024 23:58:34 -0500 Subject: [PATCH] Fix "missing -main" error message --- gcc/cobol/genapi.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cobol/genapi.cc b/gcc/cobol/genapi.cc index 45d42ad2a0c9..9f55e255aa19 100644 --- a/gcc/cobol/genapi.cc +++ b/gcc/cobol/genapi.cc @@ -3466,7 +3466,7 @@ parser_leave_file() if( file_level == 0 && next_program_is_main ) { cbl_error( - "error: -main switch says \"%s\" should contain the" + "-main switch says \"%s\" should contain the" " starting program, but none was found", current_filename.back().c_str()); } -- GitLab