]> gcc.gnu.org Git - gcc.git/commit
Unify error and message functions:
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 1 Feb 1994 00:13:20 +0000 (19:13 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 1 Feb 1994 00:13:20 +0000 (19:13 -0500)
commiteb711c86b329bfa59b2cb1f3c5ec07d1a14f8151
treec9d8b465fe21aae649c1676e409789ede65bb310
parent7ecd5f1a30c8b5c48ed8659b1c7571a3180ea24e
Unify error and message functions:

* toplev.c: Include "gvarargs.h".
(fatal_insn_not_found): Omit superfluous argument to error.
(vmessage, v_message_with_file_and_line): New functions.
(v_message_with_decl, file_and_line_for_asm): Likewise.
(v_error_with_file_and_line, v_error_with_decl): Likewise.
(v_error_for_asm, verror, vfatal): Likewise.
(v_warning_with_file_and_line, v_warning_with_decl): Likewise.
(v_warning_for_asm, vwarning): Likewise.
(error_with_file_and_line, error_with_decl, error, fatal): Now just wrappers
for above functions.
(error_for_asm, warning_with_file_and_line): Likewise.
(warning_with_decl, warning_for_asm, warning): Likewise.

From-SVN: r6451
gcc/toplev.c
This page took 0.049767 seconds and 5 git commands to generate.