]> gcc.gnu.org Git - gcc.git/commit
Makefile.in (build/read-md.o): Depend on errors.h.
authorRichard Sandiford <rdsandiford@googlemail.com>
Thu, 10 Jun 2010 20:21:59 +0000 (20:21 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 10 Jun 2010 20:21:59 +0000 (20:21 +0000)
commitbb933490c3e9c3347c1566662688c6cafa6768e5
tree2e3c136c636393db4c15e2660800e0141d0d6d70
parentc5e88b399c526dbb7ab2bc6b4fdbc0e8100fa3d9
Makefile.in (build/read-md.o): Depend on errors.h.

gcc/
* Makefile.in (build/read-md.o): Depend on errors.h.
* read-md.h (error_with_line): Declare.
* read-md.c: Include errors.h.
(message_with_line_1): New function, extracted from...
(message_with_line): ...here.
(error_with_line): New function.
* genattrtab.c: If a call to message_with_line is followed by
"have_error = 1;", replace both statements with a call to
error_with_line.
* genoutput.c: Likewise.
* genpreds.c: Likewise.
* genrecog.c: If a call to message_with_line is followed by
"error_count++;", replace both statements with a call to
error_with_line.
(errorcount): Delete.
(main): Don't check it.
* gensupport.c: If a call to message_with_line is followed by
"errors = 1;", replace both statements with a call to error_with_line.
(errors): Delete.
(process_define_cond_exec): Check have_error instead of errors.
(init_md_reader_args_cb): Likewise.  Don't set errors.

From-SVN: r160573
gcc/ChangeLog
gcc/Makefile.in
gcc/genattrtab.c
gcc/genoutput.c
gcc/genpreds.c
gcc/genrecog.c
gcc/gensupport.c
gcc/read-md.c
gcc/read-md.h
This page took 0.051362 seconds and 5 git commands to generate.