* bad.c: Include intl.h.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2002 03:01:53 +0000 (03:01 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2002 03:01:53 +0000 (03:01 +0000)
commitd3e748368ef1a691e906e5d7689895dc1182affe
treeca41794bb585929e8499cf7afd3ea5f69332e7c1
parent25afff2f90d918f58f7554cd615c239188e9cdde
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49123 138bc75d-0d04-0410-961f-82ee72b054a4
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