]> gcc.gnu.org Git - gcc.git/commit
pretty-print.c: Include tree.h.
authorZack Weinberg <zack@codesourcery.com>
Wed, 6 Oct 2004 04:47:42 +0000 (04:47 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 6 Oct 2004 04:47:42 +0000 (04:47 +0000)
commitd5706a1eea67117c5b76a33ec42ce96ad4ba399a
tree5a3ce60061200b7754e09f04fceb0b0f6076a700
parent12cde21b1201cee86d4fd2c87aa8f40fb09b667e
pretty-print.c: Include tree.h.

* pretty-print.c: Include tree.h.
(pp_base_prepare_to_format): New function, logic from
text_specifies_location.
(pp_base_format_text): Use gcc_assert.
* pretty-print.h (pp_prepare_to_format): New macro.
(pp_base_prepare_to_format): Prototype.
* diagnostic.c (text_specifies_location): Delete.
(bug_report_request): Delete.
(diagnostic_set_info): Don't call text_specifies_location.
(diagnostic_action_after_output): Put text from
bug_report_request inline here.  Use gcc_unreachable.
(diagnostic_report_current_function): Fix comment.
(diagnostic_report_diagnostic): Clarify logic for error recursion.
Call pp_prepare_to_format before diagnostic_starter.
(trim_filename): Use IS_DIR_SEPARATOR.
(fatal_error, internal_error): Use gcc_unreachable.
(error_recursion): Call diagnostic_action_after_output to
issue the bug_report_request message and exit.
* Makefile.in (diagnostic.o, pretty-print.o): Update dependencies.

* c-parse.in: Add list of diagnostic messages to insulate
translation template from version of yacc/bison used to
compile the grammar.
java:
* parse.y, parse-scan.y: Add list of diagnostic messages to
insulate translation template from version of yacc/bison used
to compile the grammar.
treelang:
* parse.y: Add list of diagnostic messages to insulate
translation template from version of yacc/bison used to
compile the grammar.
po:
* gcc.pot: Regenerate.

From-SVN: r88590
13 files changed:
gcc/ChangeLog
gcc/Makefile.in
gcc/c-parse.in
gcc/diagnostic.c
gcc/java/ChangeLog
gcc/java/parse-scan.y
gcc/java/parse.y
gcc/po/ChangeLog
gcc/po/gcc.pot
gcc/pretty-print.c
gcc/pretty-print.h
gcc/treelang/ChangeLog
gcc/treelang/parse.y
This page took 0.054787 seconds and 5 git commands to generate.