diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-01-23 03:01:53 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-01-23 03:01:53 +0000 |
commit | f1685b7c17cfa9d0a74d2e75f63d42ae61c29f74 (patch) | |
tree | ca41794bb585929e8499cf7afd3ea5f69332e7c1 /gcc/f/info.c | |
parent | bd571ffcd0877743e11bdc28415cd5c784c578dc (diff) | |
download | gcc-f1685b7c17cfa9d0a74d2e75f63d42ae61c29f74.zip gcc-f1685b7c17cfa9d0a74d2e75f63d42ae61c29f74.tar.gz gcc-f1685b7c17cfa9d0a74d2e75f63d42ae61c29f74.tar.bz2 |
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
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 b632f41..1bedaa0 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 }; |