]> gcc.gnu.org Git - gcc.git/commit
bad.c: Include intl.h.
authorZack Weinberg <zack@gcc.gnu.org>
Wed, 23 Jan 2002 03:01:53 +0000 (03:01 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 23 Jan 2002 03:01:53 +0000 (03:01 +0000)
commitf1685b7c17cfa9d0a74d2e75f63d42ae61c29f74
treeca41794bb585929e8499cf7afd3ea5f69332e7c1
parentbd571ffcd0877743e11bdc28415cd5c784c578dc
bad.c: Include intl.h.

* bad.c: Include intl.h.
(FFEBAD_MSGS1, FFEBAD_MSGS2): Replace by FFEBAD_MSG, SHORT,
LONG.  Adjust definitions to work with exgettext.
(ffebad_start_): Translate all error messages.
(ffebad_finish): Mark constant strings for translation.
* bad.h: Use FFEBAD_MSG.  Adjust prototype of ffebad_start_
and definitions of ffebad_start_msg, ffebad_start_msg_lex to
work with exgettext.
* bad.def: Use FFEBAD_MSG, SHORT, LONG throughout.

* com.c: Include intl.h.
(lang_print_error_function): Always use ffeinfo_kind_message
to get the kind label for a non-nested construct.  Translate
it.  Translate constant strings.
* info.c (FFEINFO_KIND): Adjust definition to work with exgettext.
* info-k.def: Block xgettext from slurping copyright notice
into gcc.pot.  Adjust strings for their sole use, in com.c.

* Make-lang.in (f/bad.o, f/com.o): Depend on intl.h.

From-SVN: r49123
gcc/f/ChangeLog
gcc/f/Make-lang.in
gcc/f/bad.c
gcc/f/bad.def
gcc/f/bad.h
gcc/f/com.c
gcc/f/info-k.def
gcc/f/info.c
This page took 0.065042 seconds and 5 git commands to generate.