f1685b7c17
* 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
42 lines
1.6 KiB
Modula-2
42 lines
1.6 KiB
Modula-2
/* info-k.def -- Public #include File (module.h template V1.0)
|
|
Copyright (C) 1995, 2002 Free Software Foundation, Inc.
|
|
Contributed by James Craig Burley.
|
|
|
|
This file is part of GNU Fortran.
|
|
|
|
GNU Fortran is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2, or (at your option)
|
|
any later version.
|
|
|
|
GNU Fortran is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with GNU Fortran; see the file COPYING. If not, write to
|
|
the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
|
02111-1307, USA.
|
|
|
|
Owning Modules:
|
|
info.c
|
|
|
|
Modifications:
|
|
*/
|
|
|
|
#
|
|
/* Kind messages are used in diagnostic location reports of the
|
|
form "<file>: In function `foo': <error message>". */
|
|
|
|
FFEINFO_KIND (FFEINFO_kindNONE, "In unknown kind", "")
|
|
FFEINFO_KIND (FFEINFO_kindENTITY, "In entity", "e")
|
|
FFEINFO_KIND (FFEINFO_kindFUNCTION, "In function", "f")
|
|
FFEINFO_KIND (FFEINFO_kindSUBROUTINE, "In subroutine", "u")
|
|
FFEINFO_KIND (FFEINFO_kindPROGRAM, "In program", "p")
|
|
FFEINFO_KIND (FFEINFO_kindBLOCKDATA, "In block-data unit", "b")
|
|
FFEINFO_KIND (FFEINFO_kindCOMMON, "In common block", "c")
|
|
FFEINFO_KIND (FFEINFO_kindCONSTRUCT, "In construct", ":")
|
|
FFEINFO_KIND (FFEINFO_kindNAMELIST, "In namelist", "n")
|
|
FFEINFO_KIND (FFEINFO_kindANY, "In anything", "~")
|