diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-23 03:01:53 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-01-23 03:01:53 +0000 |
commit | d3e748368ef1a691e906e5d7689895dc1182affe (patch) | |
tree | ca41794bb585929e8499cf7afd3ea5f69332e7c1 /gcc/f/info.c | |
parent | 25afff2f90d918f58f7554cd615c239188e9cdde (diff) | |
download | gcc-d3e748368ef1a691e906e5d7689895dc1182affe.tar.gz |
* 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
Diffstat (limited to 'gcc/f/info.c')
-rw-r--r-- | gcc/f/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/f/info.c b/gcc/f/info.c index b632f41592f..1bedaa0772d 100644 --- a/gcc/f/info.c +++ b/gcc/f/info.c @@ -1,5 +1,5 @@ /* info.c -- Implementation File (module.c template V1.0) - Copyright (C) 1995 Free Software Foundation, Inc. + Copyright (C) 1995, 2002 Free Software Foundation, Inc. Contributed by James Craig Burley. This file is part of GNU Fortran. @@ -65,7 +65,7 @@ static const char *const ffeinfo_basictype_string_[] static const char *const ffeinfo_kind_message_[] = { -#define FFEINFO_KIND(KWD,LNAM,SNAM) LNAM, +#define FFEINFO_KIND(kwd,msgid,snam) msgid, #include "info-k.def" #undef FFEINFO_KIND }; |