diff options
Diffstat (limited to 'gold/script.cc')
-rw-r--r-- | gold/script.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gold/script.cc b/gold/script.cc index 365cedf..b672385 100644 --- a/gold/script.cc +++ b/gold/script.cc @@ -1166,9 +1166,7 @@ yyerror(void* closurev, const char* message) { Parser_closure* closure = static_cast<Parser_closure*>(closurev); - fprintf(stderr, _("%s: %s: %s\n"), - program_name, closure->filename(), message); - gold_exit(false); + gold_error(_("%s: %s\n"), closure->filename(), message); } // Called by the bison parser to add a file to the link. |