Compare commits

...
25 Commits
Author SHA1 Message Date
Akim Demaille 6a4ca91b73 1.34. 2002-03-25 10:09:07 +00:00
Akim Demaille f02ecea550 Version 1.35. 2002-03-25 10:08:20 +00:00
Akim Demaille 5bc2230d3c Regen. 2002-03-25 09:26:27 +00:00
Akim Demaille a0a0185e9a Update. 2002-03-22 10:44:38 +00:00
Paul Eggert 679eba1067 Merge fixes from Debian bison_1.34-1.diff.
* configure.in (AC_PREREQ): 2.53.
* po/es.po ("Conflict in state %d between rule %d and token %s
resolved as %s.\n"): Fix typo by replacing "%s" with "%d'.
2002-03-20 22:45:06 +00:00
Paul Eggert 0e96bb2121 (AC_PREREQ): 2.53. 2002-03-20 22:44:00 +00:00
Paul Eggert 3c9127d55c ("Conflict in state %d between rule %d and token %s
resolved as %s.\n"): Fix typo by replacing "%s" with "%d'.
From Debian bison_1.34-1.diff.
2002-03-20 22:00:51 +00:00
Akim Demaille 67d5db69e7 . 2002-03-20 09:30:41 +00:00
Akim Demaille a15f4278a3 (log_resolution): Resolution is const. 2002-03-20 09:24:55 +00:00
Akim Demaille f3b206a9a6 Remove intl/gettext.h. 2002-03-20 09:00:32 +00:00
Akim Demaille b12d2b3054 Version 1.34a. 2002-03-20 08:54:18 +00:00
Akim Demaille f4b4269b3b Update. 2002-03-20 08:53:25 +00:00
Akim Demaille 2185ba74ba * Gettext 0.11.1. 2002-03-20 08:43:13 +00:00
Akim Demaille ec178c6427 Regen. 2002-03-20 08:30:40 +00:00
Paul Eggert 70bcf94ae8 * src/bison.simple (YYCOPY): New macro.
(YYSTACK_RELOCATE): Use it.
	Remove Type arg; no longer needed.  All callers changed.
	(yymemcpy): Remove; no longer needed.
2002-03-20 07:20:15 +00:00
Paul Eggert 41ee433e39 (YYCOPY): New macro.
(YYSTACK_RELOCATE): Use it.
Remove Type arg; no longer needed.  All callers changed.
(yymemcpy): Remove; no longer needed.
2002-03-20 07:18:54 +00:00
Paul Eggert 9bd1a920de * Makefile.am (AUTOMAKE_OPTIONS): 1.6.
* doc/Makefile.am (AUTOMAKE_OPTIONS): Remove.
* Makefile.in, aclocal.m4, config.hin, configure,
config/Makefile.in, config/depcomp, config/install-sh,
doc/Makefile.am, lib/Makefile.in, m4/Makefile.in, src/Makefile.in,
tests/Makefile.in: Regenerate using Automake 1.6.
2002-03-19 10:55:47 +00:00
Paul Eggert 334414e7f8 Regenerate using Automake 1.6. 2002-03-19 10:54:32 +00:00
Paul Eggert 7bbd91208c (AUTOMAKE_OPTIONS): Remove. 2002-03-19 10:50:32 +00:00
Paul Eggert 078493afa4 (AUTOMAKE_OPTIONS): 1.6. 2002-03-19 10:49:23 +00:00
Paul Eggert 897c1dd9a9 Fix the problem with union yyalloc and C++.
* src/bison.simple (union yyalloc, YYSTACK_GAP_MAX, YYSTACK_BYTES,
YYSTACK_RELOCATE): Do not define if yyoverflow is defined, or if
this is a C++ parser and YYSTYPE or YYLTYPE has nontrivial
constructors or destructors.
(yymemcpy) [! defined YYSTACK_RELOCATE]: Do not define; not needed.
(yyparse) [! defined YYSTACK_RELOCATE]: Do not relocate the stack.

* src/reader.c (parse_union_decl): Define YYSTYPE_IS_TRIVIAL if we
use our YYSTYPE.  It must be trivial, or our own union wouldn't be
valid C++ anyway.
(readgram): Define YYSTYPE_IS_TRIVIAL if it is int.
(reader_output_yylsp): Define YYLTYPE_IS_TRIVIAL if we use our
YYLTYPE.
2002-03-18 21:53:39 +00:00
Paul Eggert a6624adaee (parse_union_decl): Define YYSTYPE_IS_TRIVIAL if we use our YYSTYPE.
It must be trivial, or our own union wouldn't be valid C++ anyway.
(readgram): Define YYSTYPE_IS_TRIVIAL if it is int.
(reader_output_yylsp): Define YYLTYPE_IS_TRIVIAL if we use our YYLTYPE.
2002-03-18 21:53:05 +00:00
Paul Eggert 8afe2396ab (union yyalloc, YYSTACK_GAP_MAX, YYSTACK_BYTES, YYSTACK_RELOCATE):
Do not define if yyoverflow is defined, or if this is a C++ parser and
either YYSTYPE or YYLTYPE has nontrivial constructors or destructors.
(yymemcpy) [! defined YYSTACK_RELOCATE]: Do not define; not needed.
(yyparse) [! defined YYSTACK_RELOCATE]: Do not relocate the stack.
2002-03-18 21:48:47 +00:00
Akim Demaille d7be63a140 * src/files.c (compute_output_file_names): s/would be both named/
/would both be named/.
Reported by Jim Meyering.
* tests/output.at (Clashing Output Files): Adjust.
2002-03-12 16:52:21 +00:00
Akim Demaille b8fae6b493 1.34. 2002-03-12 16:14:06 +00:00
66 changed files with 5206 additions and 3338 deletions
+193 -121
View File
@@ -113,6 +113,13 @@ But in fact, some languages have dialects in different countries. For
example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The example, `de_AT' is used for Austria, and `pt_BR' for Brazil. The
country code serves to distinguish the dialects. country code serves to distinguish the dialects.
The locale naming convention of `LL_CC', with `LL' denoting the
language and `CC' denoting the country, is the one use on systems based
on GNU libc. On other systems, some variations of this scheme are
used, such as `LL' or `LL_CC.ENCODING'. You can get the list of
locales supported by your system for your country by running the command
`locale -a | grep '^LL''.
Not all programs have translations for all languages. By default, an Not all programs have translations for all languages. By default, an
English message is shown in place of a nonexistent translation. If you English message is shown in place of a nonexistent translation. If you
understand other languages, you can set up a priority list of languages. understand other languages, you can set up a priority list of languages.
@@ -164,128 +171,193 @@ Available Packages
================== ==================
Languages are not equally supported in all packages. The following Languages are not equally supported in all packages. The following
matrix shows the current state of internationalization, as of September matrix shows the current state of internationalization, as of March
2001. The matrix shows, in regard of each package, for which languages 2002. The matrix shows, in regard of each package, for which languages
PO files have been submitted to translation coordination, with a PO files have been submitted to translation coordination, with a
translation percentage of at least 50%. translation percentage of at least 50%.
Ready PO files bg cs da de el en eo es et fi fr gl he hr id it ja Ready PO files bg ca cs da de el en eo es et fi fr
+----------------------------------------------------+ +-------------------------------------+
a2ps | [] [] [] | a2ps | [] [] [] [] |
bash | [] [] [] [] | bash | [] [] [] [] |
bfd | | bfd | [] [] |
binutils | [] | binutils | [] [] |
bison | [] [] [] [] [] | bison | [] [] [] |
clisp | [] [] [] [] | clisp | [] [] [] [] |
cpio | [] [] [] [] [] | cpio | [] [] [] [] |
diffutils | [] [] [] [] [] [] [] | diffutils | [] [] [] [] [] [] |
enscript | [] [] | enscript | [] [] |
error | [] [] | error | [] [] |
fetchmail | | fetchmail | () [] [] [] () |
fileutils | [] [] [] [] [] [] [] [] | fileutils | [] [] [] [] [] |
findutils | [] [] [] [] [] [] [] [] | findutils | [] [] [] [] [] |
flex | [] [] [] | flex | [] [] [] [] |
freetype | | gas | [] [] |
gas | | gawk | [] [] |
gawk | [] [] | gcal | [] [] |
gcal | | gcc | [] [] |
gcc | | gettext | [] [] [] [] [] |
gettext | [] [] [] [] [] [] [] [] [] [] | gnupg | [] [] [] [] [] [] |
gnupg | [] [] [] [] [] [] [] | gprof | [] [] |
gprof | | grep | [] [] [] [] [] [] |
grep | [] [] [] [] [] [] [] [] | hello | [] [] [] [] [] [] [] [] |
hello | [] [] [] [] [] [] [] [] [] [] [] | id-utils | [] [] [] |
id-utils | [] [] [] | indent | [] [] [] [] [] |
indent | [] [] [] [] [] | jpilot | () [] [] [] |
jpilot | [] | jwhois | [] [] |
kbd | | kbd | [] [] |
ld | [] | ld | [] [] |
libc | [] [] [] [] [] [] [] [] | libc | [] [] [] [] [] [] [] |
lilypond | [] | lilypond | [] [] |
lynx | [] [] [] [] | lynx | [] [] [] [] |
m4 | [] [] [] [] [] [] [] [] | m4 | [] [] [] [] [] |
make | [] [] [] [] [] [] | make | [] [] [] [] |
mysecretdiary | [] | mysecretdiary | [] [] |
nano | [] [] [] | nano | [] () [] [] [] [] |
opcodes | | nano_1_0 | [] () [] [] [] [] |
parted | [] [] [] | opcodes | [] [] [] |
ptx | [] [] [] [] [] [] [] | parted | [] [] [] [] |
python | | ptx | [] [] [] [] [] |
recode | [] [] [] [] [] [] [] [] [] | python | |
sed | [] [] [] [] [] [] [] [] [] [] [] [] | recode | [] [] [] [] [] [] |
sh-utils | [] [] [] [] [] [] [] [] [] [] | sed | [] [] [] [] [] [] [] [] |
sharutils | [] [] [] [] [] [] [] [] | sh-utils | [] [] [] [] [] [] [] [] |
sketch | | sharutils | [] [] [] [] [] [] |
soundtracker | [] [] [] | sketch | () [] () |
sp | | soundtracker | [] [] [] |
tar | [] [] [] [] [] [] [] [] | sp | |
texinfo | [] [] [] [] [] [] | tar | [] [] [] [] [] [] |
textutils | [] [] [] [] [] [] [] [] | texinfo | [] [] [] [] [] |
util-linux | [] [] | textutils | [] [] [] [] [] |
wdiff | [] [] [] | util-linux | [] [] [] [] |
wget | [] [] [] [] [] [] [] [] [] [] | vorbis-tools | |
+----------------------------------------------------+ wdiff | [] [] [] [] [] |
bg cs da de el en eo es et fi fr gl he hr id it ja wget | [] [] [] [] [] [] [] [] |
0 14 24 32 11 1 8 23 13 1 33 22 4 0 7 9 18 +-------------------------------------+
bg ca cs da de el en eo es et fi fr
1 12 11 31 36 9 1 8 39 15 1 50
ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh gl he hr hu id it ja ko lv nb nl nn
+----------------------------------------------------+ +-------------------------------------+
a2ps | [] [] [] | 6 a2ps | () () [] |
bash | | 4 bash | |
bfd | | 0 bfd | [] |
binutils | | 1 binutils | [] |
bison | [] | 6 bison | [] [] |
clisp | [] | 5 clisp | [] |
cpio | [] [] [] [] [] | 10 cpio | [] [] [] |
diffutils | [] [] [] [] | 11 diffutils | [] [] [] |
enscript | [] [] [] | 5 enscript | [] |
error | [] [] | 4 error | [] |
fetchmail | | 0 fetchmail | |
fileutils | [] [] [] [] [] [] [] [] [] | 17 fileutils | [] [] [] |
findutils | [] [] [] [] [] [] [] [] | 16 findutils | [] [] [] [] [] [] |
flex | [] [] [] | 6 flex | [] |
freetype | | 0 gas | |
gas | | 0 gawk | [] |
gawk | [] | 3 gcal | |
gcal | | 0 gcc | |
gcc | | 0 gettext | [] |
gettext | [] [] [] [] [] [] [] [] | 18 gnupg | [] [] [] |
gnupg | [] [] [] | 10 gprof | |
gprof | | 0 grep | [] |
grep | [] [] [] [] | 12 hello | [] [] [] [] [] [] [] [] [] [] |
hello | [] [] [] [] [] [] [] [] [] [] [] | 22 id-utils | [] |
id-utils | [] [] [] | 6 indent | [] [] [] |
indent | [] [] [] [] [] [] [] | 12 jpilot | () () |
jpilot | | 1 jwhois | |
kbd | [] | 1 kbd | |
ld | | 1 ld | |
libc | [] [] [] [] [] [] [] [] | 16 libc | [] [] [] [] |
lilypond | [] [] | 3 lilypond | [] [] |
lynx | [] [] [] [] | 8 lynx | [] [] |
m4 | [] [] [] [] | 12 m4 | [] [] [] [] |
make | [] [] [] [] [] [] | 12 make | [] [] [] [] |
mysecretdiary | | 1 mysecretdiary | |
nano | [] | 4 nano | [] [] [] () [] () [] |
opcodes | [] | 1 nano_1_0 | [] [] [] () [] () [] |
parted | [] [] | 5 opcodes | [] |
ptx | [] [] [] [] [] [] [] [] | 15 parted | [] [] [] |
python | | 0 ptx | [] [] [] [] |
recode | [] [] [] [] | 13 python | |
sed | [] [] [] [] [] [] [] | 19 recode | [] [] [] |
sh-utils | [] [] [] [] [] [] [] [] [] [] [] | 21 sed | [] [] [] [] [] [] [] |
sharutils | [] [] [] | 11 sh-utils | [] [] [] [] [] |
sketch | | 0 sharutils | [] [] [] |
soundtracker | | 3 sketch | () |
sp | | 0 soundtracker | [] |
tar | [] [] [] [] [] [] [] | 15 sp | |
texinfo | [] | 7 tar | [] [] [] |
textutils | [] [] [] [] [] [] [] [] | 16 texinfo | [] [] |
util-linux | [] [] | 4 textutils | [] [] |
wdiff | [] [] [] [] | 7 util-linux | () [] |
wget | [] [] [] [] [] [] [] | 17 vorbis-tools | |
+----------------------------------------------------+ wdiff | |
33 teams ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh wget | [] [] [] [] [] |
53 domains 9 1 6 20 0 6 17 1 13 25 10 11 23 21 2 2 387 +-------------------------------------+
gl he hr hu id it ja ko lv nb nl nn
19 7 0 4 6 11 22 9 1 8 19 4
no pl pt pt_BR ru sk sl sv tr uk zh_TW
+----------------------------------------+
a2ps | () () () [] [] [] () | 8
bash | | 4
bfd | [] [] | 5
binutils | [] | 4
bison | [] [] [] | 8
clisp | | 5
cpio | [] [] [] [] | 11
diffutils | [] [] [] [] [] | 14
enscript | [] [] [] | 6
error | [] [] [] | 6
fetchmail | () () [] | 4
fileutils | [] [] [] [] | 12
findutils | [] [] [] [] [] [] [] | 18
flex | [] [] [] | 8
gas | [] | 3
gawk | [] [] | 5
gcal | [] [] | 4
gcc | [] | 3
gettext | [] [] [] [] | 10
gnupg | [] [] [] | 12
gprof | [] [] | 4
grep | [] [] [] | 10
hello | [] [] [] [] [] [] [] | 25
id-utils | [] [] | 6
indent | [] [] [] [] | 12
jpilot | () () | 3
jwhois | () () [] | 3
kbd | [] [] | 4
ld | [] [] | 4
libc | [] [] [] [] [] [] | 17
lilypond | [] | 5
lynx | [] [] [] | 9
m4 | [] [] [] | 12
make | [] [] [] [] | 12
mysecretdiary | [] [] | 4
nano | () [] [] [] [] | 14
nano_1_0 | () [] [] [] | 13
opcodes | [] [] | 6
parted | [] [] [] | 10
ptx | [] [] [] [] [] [] | 15
python | | 0
recode | [] [] [] [] | 13
sed | [] [] [] [] [] [] | 21
sh-utils | [] [] [] [] [] [] [] [] [] | 22
sharutils | [] [] [] | 12
sketch | [] () | 3
soundtracker | [] | 5
sp | | 0
tar | [] [] [] [] [] [] [] | 16
texinfo | [] [] [] | 10
textutils | [] [] [] [] | 11
util-linux | [] [] [] | 8
vorbis-tools | [] | 1
wdiff | [] [] [] [] | 9
wget | [] [] [] [] [] [] [] | 20
+----------------------------------------+
35 teams no pl pt pt_BR ru sk sl sv tr uk zh_TW
55 domains 5 13 2 12 25 11 11 41 34 4 7 489
Some counters in the preceding matrix are higher than the number of Some counters in the preceding matrix are higher than the number of
visible blocks let us expect. This is because a few extra PO files are visible blocks let us expect. This is because a few extra PO files are
@@ -298,9 +370,9 @@ distributed as such by its maintainer. There might be an observable
lag between the mere existence a PO file and its wide availability in a lag between the mere existence a PO file and its wide availability in a
distribution. distribution.
If September 2001 seems to be old, you may fetch a more recent copy If March 2002 seems to be old, you may fetch a more recent copy of
of this `ABOUT-NLS' file on most GNU archive sites. The most this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
up-to-date matrix with full percentage details can be found at matrix with full percentage details can be found at
`http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'. `http://www.iro.umontreal.ca/contrib/po/HTML/matrix.html'.
Using `gettext' in new packages Using `gettext' in new packages
+59
View File
@@ -1,3 +1,62 @@
2002-03-25 Akim Demaille <[email protected]>
Version 1.35.
2002-03-20 Paul Eggert <[email protected]>
Merge fixes from Debian bison_1.34-1.diff.
* configure.in (AC_PREREQ): 2.53.
* po/es.po ("Conflict in state %d between rule %d and token %s
resolved as %s.\n"): Fix typo by replacing "%s" with "%d'.
2002-03-20 Akim Demaille <[email protected]>
Version 1.34a.
2002-03-20 Akim Demaille <[email protected]>
* Gettext 0.11.1.
2002-03-19 Paul Eggert <[email protected]>
* src/bison.simple (YYCOPY): New macro.
(YYSTACK_RELOCATE): Use it.
Remove Type arg; no longer needed. All callers changed.
(yymemcpy): Remove; no longer needed.
* Makefile.am (AUTOMAKE_OPTIONS): 1.6.
* doc/Makefile.am (AUTOMAKE_OPTIONS): Remove.
* Makefile.in, aclocal.m4, config.hin, configure,
config/Makefile.in, config/depcomp, config/install-sh,
doc/Makefile.am, lib/Makefile.in, m4/Makefile.in, src/Makefile.in,
tests/Makefile.in: Regenerate using Automake 1.6.
2002-03-18 Paul Eggert <[email protected]>
Fix the problem with union yyalloc and C++.
* src/bison.simple (union yyalloc, YYSTACK_GAP_MAX, YYSTACK_BYTES,
YYSTACK_RELOCATE): Do not define if yyoverflow is defined, or if
this is a C++ parser and YYSTYPE or YYLTYPE has nontrivial
constructors or destructors.
(yymemcpy) [! defined YYSTACK_RELOCATE]: Do not define; not needed.
(yyparse) [! defined YYSTACK_RELOCATE]: Do not relocate the stack.
* src/reader.c (parse_union_decl): Define YYSTYPE_IS_TRIVIAL if we
use our YYSTYPE. It must be trivial, or our own union wouldn't be
valid C++ anyway.
(readgram): Define YYSTYPE_IS_TRIVIAL if it is int.
(reader_output_yylsp): Define YYLTYPE_IS_TRIVIAL if we use our
YYLTYPE.
2002-03-12 Akim Demaille <[email protected]>
* src/files.c (compute_output_file_names): s/would be both named/
/would both be named/.
Reported by Jim Meyering.
* tests/output.at (Clashing Output Files): Adjust.
2002-03-12 Akim Demaille <[email protected]> 2002-03-12 Akim Demaille <[email protected]>
Version 1.34. Version 1.34.
+2 -2
View File
@@ -14,13 +14,13 @@
## 02111-1307 USA ## 02111-1307 USA
## Process this file with automake to produce Makefile.in -*-Makefile-*- ## Process this file with automake to produce Makefile.in -*-Makefile-*-
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha dist-bzip2 AUTOMAKE_OPTIONS = 1.6 check-news readme-alpha dist-bzip2
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
SUBDIRS = config intl po lib src doc m4 tests SUBDIRS = config intl po lib src doc m4 tests
EXTRA_DIST = REFERENCES configure.bat OChangeLog Makefile.maint GNUmakefile EXTRA_DIST = config/config.rpath REFERENCES configure.bat OChangeLog Makefile.maint GNUmakefile
DISTCLEANFILES = intl/libintl.h DISTCLEANFILES = intl/libintl.h
+11 -9
View File
@@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.5c from Makefile.am. # Makefile.in generated by automake 1.6 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -48,6 +48,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@@ -67,7 +68,6 @@ AMTAR = @AMTAR@
AUTOM4TE = @AUTOM4TE@ AUTOM4TE = @AUTOM4TE@
AWK = @AWK@ AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@ CATOBJEXT = @CATOBJEXT@
CC = @CC@ CC = @CC@
CPP = @CPP@ CPP = @CPP@
@@ -76,8 +76,8 @@ DEPDIR = @DEPDIR@
GCC = @GCC@ GCC = @GCC@
GENCAT = @GENCAT@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@ GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
HAVE_LIB = @HAVE_LIB@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@ INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@ INTLBISON = @INTLBISON@
@@ -86,10 +86,12 @@ INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIB = @LIB@ LIB = @LIB@
LIBICONV = @LIBICONV@ LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LTLIB = @LTLIB@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@ POSUB = @POSUB@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
STRIP = @STRIP@ STRIP = @STRIP@
@@ -103,13 +105,13 @@ am__include = @am__include@
am__quote = @am__quote@ am__quote = @am__quote@
install_sh = @install_sh@ install_sh = @install_sh@
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha dist-bzip2 AUTOMAKE_OPTIONS = 1.6 check-news readme-alpha dist-bzip2
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
SUBDIRS = config intl po lib src doc m4 tests SUBDIRS = config intl po lib src doc m4 tests
EXTRA_DIST = REFERENCES configure.bat OChangeLog Makefile.maint GNUmakefile EXTRA_DIST = config/config.rpath REFERENCES configure.bat OChangeLog Makefile.maint GNUmakefile
DISTCLEANFILES = intl/libintl.h DISTCLEANFILES = intl/libintl.h
@@ -158,7 +160,7 @@ $(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF) cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): configure.in m4/c-bs-a.m4 m4/codeset.m4 m4/dmalloc.m4 m4/error.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/malloc.m4 m4/mbrtowc.m4 m4/mbstate_t.m4 m4/prereq.m4 m4/progtest.m4 m4/realloc.m4 m4/strerror_r.m4 m4/warning.m4 $(ACLOCAL_M4): configure.in m4/c-bs-a.m4 m4/codeset.m4 m4/dmalloc.m4 m4/error.m4 m4/gettext.m4 m4/glibc21.m4 m4/iconv.m4 m4/isc-posix.m4 m4/lcmessage.m4 m4/lib-ld.m4 m4/lib-link.m4 m4/lib-prefix.m4 m4/malloc.m4 m4/mbrtowc.m4 m4/mbstate_t.m4 m4/prereq.m4 m4/progtest.m4 m4/realloc.m4 m4/strerror_r.m4 m4/warning.m4
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.h: stamp-h1 config.h: stamp-h1
@@ -297,7 +299,7 @@ distdir: $(DISTFILES)
fi fi
$(am__remove_distdir) $(am__remove_distdir)
mkdir $(distdir) mkdir $(distdir)
$(mkinstalldirs) $(distdir)/intl $(distdir)/po $(distdir)/tests $(mkinstalldirs) $(distdir)/config $(distdir)/intl $(distdir)/po $(distdir)/tests
@for file in $(DISTFILES); do \ @for file in $(DISTFILES); do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+19 -3
View File
@@ -1,15 +1,31 @@
Bison News Bison News
---------- ----------
Changes in version 1.35, 2002-03-25:
* C Skeleton
Some projects use Bison's C parser with C++ compilers, and define
YYSTYPE as a class. The recent adjustment of C parsers for data
alignment and 64 bit architectures made this impossible.
Because for the time being no real solution for C++ parser
generation exists, kludges were implemented in the parser to
maintain this use. In the future, when Bison has C++ parsers, this
kludge will be disabled.
This kludge also addresses some C++ problems when the stack was
extended.
Changes in version 1.34, 2002-03-12: Changes in version 1.34, 2002-03-12:
* File name clashes are detected * File name clashes are detected
$ bison foo.y -d -o foo.x $ bison foo.y -d -o foo.x
fatal error: header and parser would be both named `foo.x' fatal error: header and parser would both be named `foo.x'
* A missing `;' ending a rule triggers a warning * A missing `;' at the end of a rule triggers a warning
In accordance with POSIX, and in agreement with other In accordance with POSIX, and in agreement with other
Yacc implementations, Bison will mandate this semicolon in a near Yacc implementations, Bison will mandate this semicolon in the near
future. This eases the implementation of a Bison parser of Bison future. This eases the implementation of a Bison parser of Bison
grammars by making this grammar LALR(1) instead of LR(2). To grammars by making this grammar LALR(1) instead of LR(2). To
facilitate the transition, this release introduces a warning. facilitate the transition, this release introduces a warning.
Vendored
+1378 -376
View File
File diff suppressed because it is too large Load Diff
+5 -1
View File
@@ -28,7 +28,8 @@
/* Define if backslash-a works in C strings. */ /* Define if backslash-a works in C strings. */
#undef HAVE_C_BACKSLASH_A #undef HAVE_C_BACKSLASH_A
/* Define to 1 if you have the `dcgettext' function. */ /* Define if the GNU dcgettext() function is already present or preinstalled.
*/
#undef HAVE_DCGETTEXT #undef HAVE_DCGETTEXT
/* Define to 1 if you have the declaration of `memchr', and to 0 if you don't. /* Define to 1 if you have the declaration of `memchr', and to 0 if you don't.
@@ -81,6 +82,9 @@
/* Define to 1 if you have the `getcwd' function. */ /* Define to 1 if you have the `getcwd' function. */
#undef HAVE_GETCWD #undef HAVE_GETCWD
/* Define to 1 if you have the `getc_unlocked' function. */
#undef HAVE_GETC_UNLOCKED
/* Define to 1 if you have the `getegid' function. */ /* Define to 1 if you have the `getegid' function. */
#undef HAVE_GETEGID #undef HAVE_GETEGID
+10 -7
View File
@@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.5c from Makefile.am. # Makefile.in generated by automake 1.6 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -48,6 +48,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@@ -67,7 +68,6 @@ AMTAR = @AMTAR@
AUTOM4TE = @AUTOM4TE@ AUTOM4TE = @AUTOM4TE@
AWK = @AWK@ AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@ CATOBJEXT = @CATOBJEXT@
CC = @CC@ CC = @CC@
CPP = @CPP@ CPP = @CPP@
@@ -76,8 +76,8 @@ DEPDIR = @DEPDIR@
GCC = @GCC@ GCC = @GCC@
GENCAT = @GENCAT@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@ GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
HAVE_LIB = @HAVE_LIB@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@ INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@ INTLBISON = @INTLBISON@
@@ -86,10 +86,12 @@ INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIB = @LIB@ LIB = @LIB@
LIBICONV = @LIBICONV@ LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LTLIB = @LTLIB@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@ POSUB = @POSUB@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
STRIP = @STRIP@ STRIP = @STRIP@
@@ -108,8 +110,9 @@ mkinstalldirs = $(SHELL) $(top_srcdir)/config/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/config.h CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES = CONFIG_CLEAN_FILES =
DIST_SOURCES = DIST_SOURCES =
DIST_COMMON = Makefile.am Makefile.in config.guess config.sub depcomp \ DIST_COMMON = Makefile.am Makefile.in config.guess config.rpath \
install-sh mdate-sh missing mkinstalldirs texinfo.tex config.sub depcomp install-sh mdate-sh missing mkinstalldirs \
texinfo.tex
all: all-am all: all-am
.SUFFIXES: .SUFFIXES:
+11 -11
View File
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc. # 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-03-04' timestamp='2002-03-20'
# This file is free software; you can redistribute it and/or modify it # This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by # under the terms of the GNU General Public License as published by
@@ -98,7 +98,7 @@ trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15
set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in set_cc_for_build='case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int dummy(){}" > $dummy.c ; ,,) echo "int dummy(){}" > $dummy.c ;
for c in cc gcc c89 ; do for c in cc gcc c89 c99 ; do
($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ; ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 ;
if test $? = 0 ; then if test $? = 0 ; then
CC_FOR_BUILD="$c"; break ; CC_FOR_BUILD="$c"; break ;
@@ -760,7 +760,7 @@ EOF
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;; exit 0 ;;
ia64:Linux:*:*) ia64:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux echo ${UNAME_MACHINE}-unknown-linux-gnu
exit 0 ;; exit 0 ;;
m68*:Linux:*:*) m68*:Linux:*:*)
echo ${UNAME_MACHINE}-unknown-linux-gnu echo ${UNAME_MACHINE}-unknown-linux-gnu
@@ -771,15 +771,15 @@ EOF
#undef CPU #undef CPU
#undef mips #undef mips
#undef mipsel #undef mipsel
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mipsel CPU=mipsel
#else #else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips CPU=mips
#else #else
CPU= CPU=
#endif #endif
#endif #endif
EOF EOF
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=` eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
rm -f $dummy.c rm -f $dummy.c
@@ -1059,12 +1059,12 @@ EOF
echo `uname -p`-apple-darwin${UNAME_RELEASE} echo `uname -p`-apple-darwin${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:procnto*:*:* | *:QNX:[0123456789]*:*) *:procnto*:*:* | *:QNX:[0123456789]*:*)
if test "${UNAME_MACHINE}" = "x86pc"; then UNAME_PROCESSOR=`uname -p`
if test "$UNAME_PROCESSOR" = "x86"; then
UNAME_PROCESSOR=i386
UNAME_MACHINE=pc UNAME_MACHINE=pc
echo i386-${UNAME_MACHINE}-nto-qnx
else
echo `uname -p`-${UNAME_MACHINE}-nto-qnx
fi fi
echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
*:QNX:*:4*) *:QNX:*:4*)
echo i386-pc-qnx echo i386-pc-qnx
+1 -1
View File
@@ -324,7 +324,7 @@ makedepend)
if test "$stat" != 0; then exit $stat; fi if test "$stat" != 0; then exit $stat; fi
rm -f "$depfile" rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile" cat < "$tmpdepfile" > "$depfile"
tail +3 "$tmpdepfile" | tr ' ' ' sed '1,2d' "$tmpdepfile" | tr ' ' '
' | \ ' | \
## Some versions of the HPUX 10.20 sed can't process this invocation ## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround. ## correctly. Breaking it into two sed invocations is a workaround.
+17 -17
View File
@@ -109,7 +109,7 @@ then
echo "install: no input file specified" echo "install: no input file specified"
exit 1 exit 1
else else
true :
fi fi
if [ x"$dir_arg" != x ]; then if [ x"$dir_arg" != x ]; then
@@ -120,7 +120,7 @@ if [ x"$dir_arg" != x ]; then
instcmd=: instcmd=:
chmodcmd="" chmodcmd=""
else else
instcmd=mkdir instcmd=$mkdirprog
fi fi
else else
@@ -130,7 +130,7 @@ else
if [ -f $src -o -d $src ] if [ -f $src -o -d $src ]
then then
true :
else else
echo "install: $src does not exist" echo "install: $src does not exist"
exit 1 exit 1
@@ -141,7 +141,7 @@ else
echo "install: no destination specified" echo "install: no destination specified"
exit 1 exit 1
else else
true :
fi fi
# If destination is a directory, append the input filename; if your system # If destination is a directory, append the input filename; if your system
@@ -151,7 +151,7 @@ else
then then
dst="$dst"/`basename $src` dst="$dst"/`basename $src`
else else
true :
fi fi
fi fi
@@ -163,8 +163,8 @@ dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'`
# Skip lots of stat calls in the usual case. # Skip lots of stat calls in the usual case.
if [ ! -d "$dstdir" ]; then if [ ! -d "$dstdir" ]; then
defaultIFS=' defaultIFS='
' '
IFS="${IFS-${defaultIFS}}" IFS="${IFS-${defaultIFS}}"
oIFS="${IFS}" oIFS="${IFS}"
@@ -183,7 +183,7 @@ while [ $# -ne 0 ] ; do
then then
$mkdirprog "${pathcomp}" $mkdirprog "${pathcomp}"
else else
true :
fi fi
pathcomp="${pathcomp}/" pathcomp="${pathcomp}/"
@@ -194,10 +194,10 @@ if [ x"$dir_arg" != x ]
then then
$doit $instcmd $dst && $doit $instcmd $dst &&
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else : ; fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else : ; fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else : ; fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else : ; fi
else else
# If we're going to rename the final executable, determine the name now. # If we're going to rename the final executable, determine the name now.
@@ -216,7 +216,7 @@ else
then then
dstfile=`basename $dst` dstfile=`basename $dst`
else else
true :
fi fi
# Make a temp file name in the proper directory. # Make a temp file name in the proper directory.
@@ -235,10 +235,10 @@ else
# ignore errors from any of these, just make sure not to ignore # ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $instcmd $src $dsttmp" command. # errors from the above "$doit $instcmd $src $dsttmp" command.
if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else :;fi &&
if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else :;fi &&
if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else :;fi &&
if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else :;fi &&
# Now rename the file to the real destination. # Now rename the file to the real destination.
+1 -1
View File
@@ -1 +1 @@
1.33b 1.34
+10 -4
View File
@@ -3,7 +3,7 @@
% Load plain if necessary, i.e., if running under initex. % Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
% %
\def\texinfoversion{2002-03-11.08} \def\texinfoversion{2002-03-13.06}
% %
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, % Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
% 2000, 01, 02 Free Software Foundation, Inc. % 2000, 01, 02 Free Software Foundation, Inc.
@@ -1656,8 +1656,6 @@ where each line of input produces a line of output.}
\global\let\contents = \relax \global\let\contents = \relax
\global\let\shortcontents = \relax \global\let\shortcontents = \relax
\fi \fi
%
\ifpdf \pdfmakepagedesttrue \fi
} }
\def\finishtitlepage{% \def\finishtitlepage{%
@@ -3925,7 +3923,7 @@ width0pt\relax} \fi
% argument, which will end up as the last argument to the \...entry macro. % argument, which will end up as the last argument to the \...entry macro.
% %
% We open the .toc file here instead of at @setfilename or any other % We open the .toc file here instead of at @setfilename or any other
% given time so that @contents can be put in the document anywhere. % fixed time so that @contents can be put in the document anywhere.
% %
\newif\iftocfileopened \newif\iftocfileopened
\def\writetocentry#1{% \def\writetocentry#1{%
@@ -3934,6 +3932,14 @@ width0pt\relax} \fi
\global\tocfileopenedtrue \global\tocfileopenedtrue
\fi \fi
\iflinks \write\tocfile{#1{\folio}}\fi \iflinks \write\tocfile{#1{\folio}}\fi
%
% Tell \shipout to create a page destination if we're doing pdf, which
% will be the target of the links in the table of contents. We can't
% just do it on every page because the title pages are numbered 1 and
% 2 (the page numbers aren't printed), and so are the first two pages
% of the document. Thus, we'd have two destinations named `1', and
% two named `2'.
\ifpdf \pdfmakepagedesttrue \fi
} }
\newskip\contentsrightmargin \contentsrightmargin=1in \newskip\contentsrightmargin \contentsrightmargin=1in
Vendored
+1771 -945
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -1,6 +1,6 @@
# Configure template for GNU Bison. -*-Autoconf-*- # Configure template for GNU Bison. -*-Autoconf-*-
# #
# Copyright 2001, 2002 Free Software Foundation, Inc. # Copyright (C) 2001, 2002 Free Software Foundation, Inc.
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -18,12 +18,12 @@
# 02111-1307 USA # 02111-1307 USA
# We need a recent Autoconf to run a recent Autotest. # We need a recent Autoconf to run a recent Autotest.
AC_PREREQ(2.52g) AC_PREREQ(2.53)
AC_INIT([GNU Bison], [1.34], [[email protected]]) AC_INIT([GNU Bison], [1.35], [[email protected]])
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE([bison], [1.34]) AM_INIT_AUTOMAKE
AM_CONFIG_HEADER(config.h:config.hin) AM_CONFIG_HEADER(config.h:config.hin)
# Initialize the test suite. # Initialize the test suite.
-1
View File
@@ -1,5 +1,4 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*- ## Process this file with automake to produce Makefile.in -*-Makefile-*-
AUTOMAKE_OPTIONS = 1.4
info_TEXINFOS = bison.texinfo info_TEXINFOS = bison.texinfo
man_MANS = bison.1 man_MANS = bison.1
+2 -2
View File
@@ -1,4 +1,4 @@
@set UPDATED 25 February 2002 @set UPDATED 25 February 2002
@set UPDATED-MONTH February 2002 @set UPDATED-MONTH February 2002
@set EDITION 1.34 @set EDITION 1.35
@set VERSION 1.34 @set VERSION 1.35
+2 -2
View File
@@ -1,4 +1,4 @@
2001-09-13 GNU <bug-gnu-utils@gnu.org> 2002-03-12 GNU <bug-gnu-gettext@gnu.org>
* Version 0.10.40 released. * Version 0.11.1 released.
+42 -18
View File
@@ -1,5 +1,5 @@
# Makefile for directory with message catalog handling in GNU NLS Utilities. # Makefile for directory with message catalog handling in GNU NLS Utilities.
# Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. # Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
# #
# This program is free software; you can redistribute it and/or modify it # This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published # under the terms of the GNU Library General Public License as published
@@ -52,39 +52,40 @@ YACC = @INTLBISON@ -y -d
YFLAGS = --name-prefix=__gettext YFLAGS = --name-prefix=__gettext
DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ DEFS = -DLOCALEDIR=\"$(localedir)\" -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \
-DLIBDIR=\"$(libdir)\" @DEFS@ -DLIBDIR=\"$(libdir)\" -DIN_LIBINTL @DEFS@
CPPFLAGS = @CPPFLAGS@ CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@ CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@ LDFLAGS = @LDFLAGS@
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
HEADERS = $(COMHDRS) libgnuintl.h libgettext.h loadinfo.h HEADERS = $(COMHDRS) libgnuintl.h loadinfo.h
COMHDRS = gettext.h gettextP.h hash-string.h COMHDRS = gmo.h gettextP.h hash-string.h plural-exp.h eval-plural.h os2compat.h
SOURCES = $(COMSRCS) intl-compat.c SOURCES = $(COMSRCS) intl-compat.c
COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \ COMSRCS = bindtextdom.c dcgettext.c dgettext.c gettext.c \
finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c \ finddomain.c loadmsgcat.c localealias.c textdomain.c l10nflist.c \
explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y \ explodename.c dcigettext.c dcngettext.c dngettext.c ngettext.c plural.y \
localcharset.c plural-exp.c localcharset.c localename.c osdep.c os2compat.c
OBJECTS = @INTLOBJS@ bindtextdom.$lo dcgettext.$lo dgettext.$lo gettext.$lo \ OBJECTS = @INTLOBJS@ bindtextdom.$lo dcgettext.$lo dgettext.$lo gettext.$lo \
finddomain.$lo loadmsgcat.$lo localealias.$lo textdomain.$lo l10nflist.$lo \ finddomain.$lo loadmsgcat.$lo localealias.$lo textdomain.$lo l10nflist.$lo \
explodename.$lo dcigettext.$lo dcngettext.$lo dngettext.$lo ngettext.$lo \ explodename.$lo dcigettext.$lo dcngettext.$lo dngettext.$lo ngettext.$lo \
plural.$lo localcharset.$lo plural.$lo plural-exp.$lo localcharset.$lo localename.$lo osdep.$lo
GETTOBJS = intl-compat.$lo GETTOBJS = intl-compat.$lo
DISTFILES.common = Makefile.in \ DISTFILES.common = Makefile.in \
config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES) config.charset locale.alias ref-add.sin ref-del.sin $(HEADERS) $(SOURCES)
DISTFILES.generated = plural.c DISTFILES.generated = plural.c
DISTFILES.normal = VERSION DISTFILES.normal = VERSION
DISTFILES.gettext = COPYING.LIB-2 COPYING.LIB-2.1 libintl.glibc DISTFILES.gettext = COPYING.LIB-2.0 COPYING.LIB-2.1 libintl.glibc
DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c DISTFILES.obsolete = xopen-msg.sed linux-msg.sed po2tbl.sed.in cat-compat.c \
COPYING.LIB-2 gettext.h libgettext.h plural-eval.c
# Libtool's library version information for libintl. # Libtool's library version information for libintl.
# Before making a gettext release, the gettext maintainer must change this # Before making a gettext release, the gettext maintainer must change this
# according to the libtool documentation, section "Library interface versions". # according to the libtool documentation, section "Library interface versions".
# Maintainers of other packages that include the intl directory must *not* # Maintainers of other packages that include the intl directory must *not*
# change these values. # change these values.
LTV_CURRENT=1 LTV_CURRENT=2
LTV_REVISION=1 LTV_REVISION=0
LTV_AGE=0 LTV_AGE=0
.SUFFIXES: .SUFFIXES:
@@ -118,7 +119,7 @@ libintl.a libgnuintl.a: $(OBJECTS)
libintl.la libgnuintl.la: $(OBJECTS) libintl.la libgnuintl.la: $(OBJECTS)
$(LIBTOOL) --mode=link \ $(LIBTOOL) --mode=link \
$(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \ $(CC) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) $(LDFLAGS) -o $@ \
$(OBJECTS) @LIBICONV@ \ $(OBJECTS) @LTLIBICONV@ -lc \
-version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \ -version-info $(LTV_CURRENT):$(LTV_REVISION):$(LTV_AGE) \
-rpath $(libdir) \ -rpath $(libdir) \
-no-undefined -no-undefined
@@ -152,7 +153,7 @@ install-exec: all
: ; \ : ; \
fi fi
if test '@USE_INCLUDED_LIBINTL@' = yes; then \ if test '@USE_INCLUDED_LIBINTL@' = yes; then \
$(mkinstalldirs) $(DESTDIR)$(libdir); \ test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
temp=$(DESTDIR)$(libdir)/t-charset.alias; \ temp=$(DESTDIR)$(libdir)/t-charset.alias; \
dest=$(DESTDIR)$(libdir)/charset.alias; \ dest=$(DESTDIR)$(libdir)/charset.alias; \
if test -f $(DESTDIR)$(libdir)/charset.alias; then \ if test -f $(DESTDIR)$(libdir)/charset.alias; then \
@@ -185,7 +186,7 @@ install-data: all
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
$(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \ $(INSTALL_DATA) VERSION $(DESTDIR)$(gettextsrcdir)/VERSION; \
$(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \ $(INSTALL_DATA) ChangeLog.inst $(DESTDIR)$(gettextsrcdir)/ChangeLog; \
dists="COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common)"; \ dists="COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common)"; \
for file in $$dists; do \ for file in $$dists; do \
$(INSTALL_DATA) $(srcdir)/$$file \ $(INSTALL_DATA) $(srcdir)/$$file \
$(DESTDIR)$(gettextsrcdir)/$$file; \ $(DESTDIR)$(gettextsrcdir)/$$file; \
@@ -205,6 +206,27 @@ install-data: all
: ; \ : ; \
fi fi
install-strip: install
installdirs:
if test "$(PACKAGE)" = "gettext" \
&& test '@INTLOBJS@' = '$(GETTOBJS)'; then \
$(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(includedir); \
else \
: ; \
fi
if test '@USE_INCLUDED_LIBINTL@' = yes; then \
test @GLIBC21@ != no || $(mkinstalldirs) $(DESTDIR)$(libdir); \
$(mkinstalldirs) $(DESTDIR)$(localedir); \
else \
: ; \
fi
if test "$(PACKAGE)" = "gettext"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
else \
: ; \
fi
# Define this as empty until I found a useful application. # Define this as empty until I found a useful application.
installcheck: installcheck:
@@ -244,7 +266,7 @@ uninstall:
: ; \ : ; \
fi fi
if test "$(PACKAGE)" = "gettext"; then \ if test "$(PACKAGE)" = "gettext"; then \
for file in VERSION ChangeLog COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \ for file in VERSION ChangeLog COPYING.LIB-2.0 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \ done; \
else \ else \
@@ -254,8 +276,11 @@ uninstall:
info dvi: info dvi:
$(OBJECTS): ../config.h libgnuintl.h $(OBJECTS): ../config.h libgnuintl.h
bindtextdom.$lo finddomain.$lo loadmsgcat.$lo: gettextP.h gettext.h loadinfo.h bindtextdom.$lo dcgettext.$lo dcigettext.$lo dcngettext.$lo dgettext.$lo dngettext.$lo finddomain.$lo gettext.$lo intl-compat.$lo loadmsgcat.$lo localealias.$lo ngettext.$lo textdomain.$lo: gettextP.h gmo.h loadinfo.h
dcgettext.$lo: gettextP.h gettext.h hash-string.h loadinfo.h dcigettext.$lo: hash-string.h
explodename.$lo l10nflist.$lo: loadinfo.h
dcigettext.$lo loadmsgcat.$lo plural.$lo plural-exp.$lo: plural-exp.h
dcigettext.$lo: eval-plural.h
tags: TAGS tags: TAGS
@@ -300,8 +325,7 @@ dist distdir: Makefile
$(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \ $(MAKE) $(DISTFILES.common) $(DISTFILES.generated) $$additional; \
for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \ for file in ChangeLog $(DISTFILES.common) $(DISTFILES.generated) $$additional; do \
if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ if test -f $$file; then dir=.; else dir=$(srcdir); fi; \
ln $$dir/$$file $(distdir) 2> /dev/null \ cp -p $$dir/$$file $(distdir); \
|| cp -p $$dir/$$file $(distdir); \
done done
Makefile: Makefile.in ../config.status Makefile: Makefile.in ../config.status
+1 -1
View File
@@ -1 +1 @@
GNU gettext library from gettext-0.10.40 GNU gettext library from gettext-0.11.1
+1 -1
View File
@@ -85,7 +85,7 @@ __libc_rwlock_define (extern, _nl_state_lock)
static void set_binding_values PARAMS ((const char *domainname, static void set_binding_values PARAMS ((const char *domainname,
const char **dirnamep, const char **dirnamep,
const char **codesetp)); const char **codesetp));
/* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP /* Specifies the directory name *DIRNAMEP and the output codeset *CODESETP
to be used for the DOMAINNAME message catalog. to be used for the DOMAINNAME message catalog.
If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not If *DIRNAMEP or *CODESETP is NULL, the corresponding attribute is not
+20 -4
View File
@@ -1,7 +1,7 @@
#! /bin/sh #! /bin/sh
# Output a system dependent table of character encoding aliases. # Output a system dependent table of character encoding aliases.
# #
# Copyright (C) 2000-2001 Free Software Foundation, Inc. # Copyright (C) 2000-2002 Free Software Foundation, Inc.
# #
# This program is free software; you can redistribute it and/or modify it # This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU Library General Public License as published # under the terms of the GNU Library General Public License as published
@@ -235,10 +235,12 @@ case "$os" in
#echo "sun_eu_greek ?" # what is this? #echo "sun_eu_greek ?" # what is this?
echo "UTF-8 UTF-8" echo "UTF-8 UTF-8"
;; ;;
freebsd*) freebsd* | os2*)
# FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore # FreeBSD 4.2 doesn't have nl_langinfo(CODESET); therefore
# localcharset.c falls back to using the full locale name # localcharset.c falls back to using the full locale name
# from the environment variables. # from the environment variables.
# Likewise for OS/2. OS/2 has XFree86 just like FreeBSD. Just
# reuse FreeBSD's locale data for OS/2.
echo "C ASCII" echo "C ASCII"
echo "US-ASCII ASCII" echo "US-ASCII ASCII"
for l in la_LN lt_LN; do for l in la_LN lt_LN; do
@@ -270,6 +272,20 @@ case "$os" in
echo "ja_JP.Shift_JIS SHIFT_JIS" echo "ja_JP.Shift_JIS SHIFT_JIS"
echo "ko_KR.EUC EUC-KR" echo "ko_KR.EUC EUC-KR"
;; ;;
netbsd*)
echo "646 ASCII"
echo "ISO8859-1 ISO-8859-1"
echo "ISO8859-2 ISO-8859-2"
echo "ISO8859-4 ISO-8859-4"
echo "ISO8859-5 ISO-8859-5"
echo "ISO8859-15 ISO-8859-15"
echo "eucCN GB2312"
echo "eucJP EUC-JP"
echo "eucKR EUC-KR"
echo "eucTW EUC-TW"
echo "BIG5 BIG5"
echo "SJIS SHIFT_JIS"
;;
beos*) beos*)
# BeOS has a single locale, and it has UTF-8 encoding. # BeOS has a single locale, and it has UTF-8 encoding.
echo "* UTF-8" echo "* UTF-8"
@@ -394,8 +410,8 @@ case "$os" in
echo "bg_BG CP866" # not CP855 ?? echo "bg_BG CP866" # not CP855 ??
echo "mk CP866" # not CP855 ?? echo "mk CP866" # not CP855 ??
echo "mk_MK CP866" # not CP855 ?? echo "mk_MK CP866" # not CP855 ??
echo "ru KOI8-R" # not CP866 ?? echo "ru CP866"
echo "ru_RU KOI8-R" # not CP866 ?? echo "ru_RU CP866"
# ISO-8859-6 languages # ISO-8859-6 languages
echo "ar CP864" echo "ar CP864"
echo "ar_AE CP864" echo "ar_AE CP864"
+26 -118
View File
@@ -1,5 +1,5 @@
/* Implementation of the internal dcigettext function. /* Implementation of the internal dcigettext function.
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. Copyright (C) 1995-1999, 2000-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published under the terms of the GNU Library General Public License as published
@@ -56,13 +56,7 @@ extern int errno;
#include <stddef.h> #include <stddef.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#if !HAVE_STRCHR && !defined _LIBC
# ifndef strchr
# define strchr index
# endif
#endif
#if defined HAVE_UNISTD_H || defined _LIBC #if defined HAVE_UNISTD_H || defined _LIBC
# include <unistd.h> # include <unistd.h>
@@ -75,6 +69,7 @@ extern int errno;
#endif #endif
#include "gettextP.h" #include "gettextP.h"
#include "plural-exp.h"
#ifdef _LIBC #ifdef _LIBC
# include <libintl.h> # include <libintl.h>
#else #else
@@ -198,16 +193,6 @@ static void *mempcpy PARAMS ((void *dest, const void *src, size_t n));
# define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL) # define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL)
#endif #endif
/* XPG3 defines the result of `setlocale (category, NULL)' as:
``Directs `setlocale()' to query `category' and return the current
setting of `local'.''
However it does not specify the exact format. Neither do SUSV2 and
ISO C 99. So we can use this feature only on selected systems (e.g.
those using GNU C Library). */
#if defined _LIBC || (defined __GNU_LIBRARY__ && __GNU_LIBRARY__ >= 2)
# define HAVE_LOCALE_NULL
#endif
/* This is the type used for the search tree where known translations /* This is the type used for the search tree where known translations
are stored. */ are stored. */
struct known_translation_t struct known_translation_t
@@ -280,7 +265,11 @@ const char _nl_default_default_domain[] = "messages";
const char *_nl_current_default_domain = _nl_default_default_domain; const char *_nl_current_default_domain = _nl_default_default_domain;
/* Contains the default location of the message catalogs. */ /* Contains the default location of the message catalogs. */
#if defined __EMX__
extern const char _nl_default_dirname[];
#else
const char _nl_default_dirname[] = LOCALEDIR; const char _nl_default_dirname[] = LOCALEDIR;
#endif
/* List with bindings of specific domains created by bindtextdomain() /* List with bindings of specific domains created by bindtextdomain()
calls. */ calls. */
@@ -292,9 +281,6 @@ static char *plural_lookup PARAMS ((struct loaded_l10nfile *domain,
const char *translation, const char *translation,
size_t translation_len)) size_t translation_len))
internal_function; internal_function;
static unsigned long int plural_eval PARAMS ((struct expression *pexp,
unsigned long int n))
internal_function;
static const char *category_to_name PARAMS ((int category)) internal_function; static const char *category_to_name PARAMS ((int category)) internal_function;
static const char *guess_category_value PARAMS ((int category, static const char *guess_category_value PARAMS ((int category,
const char *categoryname)) const char *categoryname))
@@ -395,6 +381,9 @@ static int enable_secure;
} }
#endif #endif
/* Get the function to evaluate the plural expression. */
#include "eval-plural.h"
/* Look up MSGID in the DOMAINNAME message catalog for the current /* Look up MSGID in the DOMAINNAME message catalog for the current
CATEGORY locale and, if PLURAL is nonzero, search over string CATEGORY locale and, if PLURAL is nonzero, search over string
depending on the plural form determined by N. */ depending on the plural form determined by N. */
@@ -438,6 +427,12 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category)
if (domainname == NULL) if (domainname == NULL)
domainname = _nl_current_default_domain; domainname = _nl_current_default_domain;
/* OS/2 specific: backward compatibility with older libintl versions */
#ifdef LC_MESSAGES_COMPAT
if (category == LC_MESSAGES_COMPAT)
category = LC_MESSAGES;
#endif
#if defined HAVE_TSEARCH || defined _LIBC #if defined HAVE_TSEARCH || defined _LIBC
msgid_len = strlen (msgid1) + 1; msgid_len = strlen (msgid1) + 1;
@@ -1005,87 +1000,6 @@ plural_lookup (domain, n, translation, translation_len)
} }
/* Function to evaluate the plural expression and return an index value. */
static unsigned long int
internal_function
plural_eval (pexp, n)
struct expression *pexp;
unsigned long int n;
{
switch (pexp->nargs)
{
case 0:
switch (pexp->operation)
{
case var:
return n;
case num:
return pexp->val.num;
default:
break;
}
/* NOTREACHED */
break;
case 1:
{
/* pexp->operation must be lnot. */
unsigned long int arg = plural_eval (pexp->val.args[0], n);
return ! arg;
}
case 2:
{
unsigned long int leftarg = plural_eval (pexp->val.args[0], n);
if (pexp->operation == lor)
return leftarg || plural_eval (pexp->val.args[1], n);
else if (pexp->operation == land)
return leftarg && plural_eval (pexp->val.args[1], n);
else
{
unsigned long int rightarg = plural_eval (pexp->val.args[1], n);
switch (pexp->operation)
{
case mult:
return leftarg * rightarg;
case divide:
return leftarg / rightarg;
case module:
return leftarg % rightarg;
case plus:
return leftarg + rightarg;
case minus:
return leftarg - rightarg;
case less_than:
return leftarg < rightarg;
case greater_than:
return leftarg > rightarg;
case less_or_equal:
return leftarg <= rightarg;
case greater_or_equal:
return leftarg >= rightarg;
case equal:
return leftarg == rightarg;
case not_equal:
return leftarg != rightarg;
default:
break;
}
}
/* NOTREACHED */
break;
}
case 3:
{
/* pexp->operation must be qmop. */
unsigned long int boolarg = plural_eval (pexp->val.args[0], n);
return plural_eval (pexp->val.args[boolarg ? 1 : 2], n);
}
}
/* NOTREACHED */
return 0;
}
/* Return string representation of locale CATEGORY. */ /* Return string representation of locale CATEGORY. */
static const char * static const char *
internal_function internal_function
@@ -1166,27 +1080,21 @@ guess_category_value (category, categoryname)
/* We have to proceed with the POSIX methods of looking to `LC_ALL', /* We have to proceed with the POSIX methods of looking to `LC_ALL',
`LC_xxx', and `LANG'. On some systems this can be done by the `LC_xxx', and `LANG'. On some systems this can be done by the
`setlocale' function itself. */ `setlocale' function itself. */
#if defined _LIBC || (defined HAVE_SETLOCALE && defined HAVE_LC_MESSAGES && defined HAVE_LOCALE_NULL) #ifdef _LIBC
retval = setlocale (category, NULL); retval = setlocale (category, NULL);
#else #else
/* Setting of LC_ALL overwrites all other. */ retval = _nl_locale_name (category, categoryname);
retval = getenv ("LC_ALL");
if (retval == NULL || retval[0] == '\0')
{
/* Next comes the name of the desired category. */
retval = getenv (categoryname);
if (retval == NULL || retval[0] == '\0')
{
/* Last possibility is the LANG environment variable. */
retval = getenv ("LANG");
if (retval == NULL || retval[0] == '\0')
/* We use C as the default domain. POSIX says this is
implementation defined. */
return "C";
}
}
#endif #endif
/* Ignore LANGUAGE if the locale is set to "C" because
1. "C" locale usually uses the ASCII encoding, and most international
messages use non-ASCII characters. These characters get displayed
as question marks (if using glibc's iconv()) or as invalid 8-bit
characters (because other iconv()s refuse to convert most non-ASCII
characters to ASCII). In any case, the output is ugly.
2. The precise output of some programs in the "C" locale is specified
by POSIX and should not depend on environment variables like
"LANGUAGE". We allow such programs to use gettext(). */
return language != NULL && strcmp (retval, "C") != 0 ? language : retval; return language != NULL && strcmp (retval, "C") != 0 ? language : retval;
} }
-102
View File
@@ -1,102 +0,0 @@
/* Description of GNU message catalog format: general file layout.
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 2, or (at your option)
any later version.
This program 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
#ifndef _GETTEXT_H
#define _GETTEXT_H 1
#if HAVE_LIMITS_H || _LIBC
# include <limits.h>
#endif
/* @@ end of prolog @@ */
/* The magic number of the GNU message catalog format. */
#define _MAGIC 0x950412de
#define _MAGIC_SWAPPED 0xde120495
/* Revision number of the currently used .mo (binary) file format. */
#define MO_REVISION_NUMBER 0
/* The following contortions are an attempt to use the C preprocessor
to determine an unsigned integral type that is 32 bits wide. An
alternative approach is to use autoconf's AC_CHECK_SIZEOF macro, but
as of version autoconf-2.13, the AC_CHECK_SIZEOF macro doesn't work
when cross-compiling. */
#if __STDC__
# define UINT_MAX_32_BITS 4294967295U
#else
# define UINT_MAX_32_BITS 0xFFFFFFFF
#endif
/* If UINT_MAX isn't defined, assume it's a 32-bit type.
This should be valid for all systems GNU cares about because
that doesn't include 16-bit systems, and only modern systems
(that certainly have <limits.h>) have 64+-bit integral types. */
#ifndef UINT_MAX
# define UINT_MAX UINT_MAX_32_BITS
#endif
#if UINT_MAX == UINT_MAX_32_BITS
typedef unsigned nls_uint32;
#else
# if USHRT_MAX == UINT_MAX_32_BITS
typedef unsigned short nls_uint32;
# else
# if ULONG_MAX == UINT_MAX_32_BITS
typedef unsigned long nls_uint32;
# else
/* The following line is intended to throw an error. Using #error is
not portable enough. */
"Cannot determine unsigned 32-bit data type."
# endif
# endif
#endif
/* Header for binary .mo file format. */
struct mo_file_header
{
/* The magic number. */
nls_uint32 magic;
/* The revision number of the file format. */
nls_uint32 revision;
/* The number of strings pairs. */
nls_uint32 nstrings;
/* Offset of table with start offsets of original strings. */
nls_uint32 orig_tab_offset;
/* Offset of table with start offsets of translation strings. */
nls_uint32 trans_tab_offset;
/* Size of hashing table. */
nls_uint32 hash_tab_size;
/* Offset of first hashing entry. */
nls_uint32 hash_tab_offset;
};
struct string_desc
{
/* Length of addressed string. */
nls_uint32 length;
/* Offset of string in file. */
nls_uint32 offset;
};
/* @@ begin of epilog @@ */
#endif /* gettext.h */
+6 -57
View File
@@ -32,12 +32,12 @@
#include "loadinfo.h" #include "loadinfo.h"
#include "gettext.h" /* Get nls_uint32. */ #include "gmo.h" /* Get nls_uint32. */
/* @@ end of prolog @@ */ /* @@ end of prolog @@ */
#ifndef PARAMS #ifndef PARAMS
# if __STDC__ # if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
# define PARAMS(args) args # define PARAMS(args) args
# else # else
# define PARAMS(args) () # define PARAMS(args) ()
@@ -72,51 +72,6 @@ SWAP (i)
#endif #endif
/* This is the representation of the expressions to determine the
plural form. */
struct expression
{
int nargs; /* Number of arguments. */
enum operator
{
/* Without arguments: */
var, /* The variable "n". */
num, /* Decimal number. */
/* Unary operators: */
lnot, /* Logical NOT. */
/* Binary operators: */
mult, /* Multiplication. */
divide, /* Division. */
module, /* Module operation. */
plus, /* Addition. */
minus, /* Subtraction. */
less_than, /* Comparison. */
greater_than, /* Comparison. */
less_or_equal, /* Comparison. */
greater_or_equal, /* Comparison. */
equal, /* Comparision for equality. */
not_equal, /* Comparision for inequality. */
land, /* Logical AND. */
lor, /* Logical OR. */
/* Ternary operators: */
qmop /* Question mark operator. */
} operation;
union
{
unsigned long int num; /* Number value for `num'. */
struct expression *args[3]; /* Up to three arguments. */
} val;
};
/* This is the data structure to pass information to the parser and get
the result in a thread-safe way. */
struct parse_args
{
const char *cp;
struct expression *res;
};
/* The representation of an opened message catalog. */ /* The representation of an opened message catalog. */
struct loaded_domain struct loaded_domain
{ {
@@ -167,6 +122,10 @@ struct binding
This variable is part of the external ABI of the GNU libintl. */ This variable is part of the external ABI of the GNU libintl. */
extern int _nl_msg_cat_cntr; extern int _nl_msg_cat_cntr;
#ifndef _LIBC
const char *_nl_locale_name PARAMS ((int category, const char *categoryname));
#endif
struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname, struct loaded_l10nfile *_nl_find_domain PARAMS ((const char *__dirname,
char *__locale, char *__locale,
const char *__domainname, const char *__domainname,
@@ -237,16 +196,6 @@ extern char *bind_textdomain_codeset__ PARAMS ((const char *__domainname,
const char *__codeset)); const char *__codeset));
#endif #endif
#ifdef _LIBC
extern void __gettext_free_exp PARAMS ((struct expression *exp))
internal_function;
extern int __gettextparse PARAMS ((void *arg));
#else
extern void gettext_free_exp__ PARAMS ((struct expression *exp))
internal_function;
extern int gettextparse__ PARAMS ((void *arg));
#endif
/* @@ begin of epilog @@ */ /* @@ begin of epilog @@ */
#endif /* gettextP.h */ #endif /* gettextP.h */
+1 -1
View File
@@ -19,7 +19,7 @@
/* @@ end of prolog @@ */ /* @@ end of prolog @@ */
#ifndef PARAMS #ifndef PARAMS
# if __STDC__ # if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
# define PARAMS(Args) Args # define PARAMS(Args) Args
# else # else
# define PARAMS(Args) () # define PARAMS(Args) ()
+5 -10
View File
@@ -28,11 +28,6 @@
#endif #endif
#include <string.h> #include <string.h>
#if !HAVE_STRCHR && !defined _LIBC
# ifndef strchr
# define strchr index
# endif
#endif
#if defined _LIBC || defined HAVE_ARGZ_H #if defined _LIBC || defined HAVE_ARGZ_H
# include <argz.h> # include <argz.h>
@@ -356,11 +351,11 @@ _nl_normalize_codeset (codeset, name_len)
size_t cnt; size_t cnt;
for (cnt = 0; cnt < name_len; ++cnt) for (cnt = 0; cnt < name_len; ++cnt)
if (isalnum (codeset[cnt])) if (isalnum ((unsigned char) codeset[cnt]))
{ {
++len; ++len;
if (isalpha (codeset[cnt])) if (isalpha ((unsigned char) codeset[cnt]))
only_digit = 0; only_digit = 0;
} }
@@ -374,9 +369,9 @@ _nl_normalize_codeset (codeset, name_len)
wp = retval; wp = retval;
for (cnt = 0; cnt < name_len; ++cnt) for (cnt = 0; cnt < name_len; ++cnt)
if (isalpha (codeset[cnt])) if (isalpha ((unsigned char) codeset[cnt]))
*wp++ = tolower (codeset[cnt]); *wp++ = tolower ((unsigned char) codeset[cnt]);
else if (isdigit (codeset[cnt])) else if (isdigit ((unsigned char) codeset[cnt]))
*wp++ = codeset[cnt]; *wp++ = codeset[cnt];
*wp = '\0'; *wp = '\0';
+29 -20
View File
@@ -42,11 +42,13 @@
# define gettext gettext # define gettext gettext
#endif #endif
#ifndef PARAMS /* Use _INTL_PARAMS, not PARAMS, in order to avoid clashes with identifiers
# if __STDC__ || defined __cplusplus used by programs. Similarly, test __PROTOTYPES, not PROTOTYPES. */
# define PARAMS(args) args #ifndef _INTL_PARAMS
# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
# define _INTL_PARAMS(args) args
# else # else
# define PARAMS(args) () # define _INTL_PARAMS(args) ()
# endif # endif
#endif #endif
@@ -57,49 +59,56 @@ extern "C" {
/* Look up MSGID in the current default message catalog for the current /* Look up MSGID in the current default message catalog for the current
LC_MESSAGES locale. If not found, returns MSGID itself (the default LC_MESSAGES locale. If not found, returns MSGID itself (the default
text). */ text). */
extern char *gettext PARAMS ((const char *__msgid)); extern char *gettext _INTL_PARAMS ((const char *__msgid));
/* Look up MSGID in the DOMAINNAME message catalog for the current /* Look up MSGID in the DOMAINNAME message catalog for the current
LC_MESSAGES locale. */ LC_MESSAGES locale. */
extern char *dgettext PARAMS ((const char *__domainname, const char *__msgid)); extern char *dgettext _INTL_PARAMS ((const char *__domainname,
const char *__msgid));
/* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
locale. */ locale. */
extern char *dcgettext PARAMS ((const char *__domainname, const char *__msgid, extern char *dcgettext _INTL_PARAMS ((const char *__domainname,
int __category)); const char *__msgid,
int __category));
/* Similar to `gettext' but select the plural form corresponding to the /* Similar to `gettext' but select the plural form corresponding to the
number N. */ number N. */
extern char *ngettext PARAMS ((const char *__msgid1, const char *__msgid2, extern char *ngettext _INTL_PARAMS ((const char *__msgid1,
unsigned long int __n)); const char *__msgid2,
unsigned long int __n));
/* Similar to `dgettext' but select the plural form corresponding to the /* Similar to `dgettext' but select the plural form corresponding to the
number N. */ number N. */
extern char *dngettext PARAMS ((const char *__domainname, const char *__msgid1, extern char *dngettext _INTL_PARAMS ((const char *__domainname,
const char *__msgid2, unsigned long int __n)); const char *__msgid1,
const char *__msgid2,
unsigned long int __n));
/* Similar to `dcgettext' but select the plural form corresponding to the /* Similar to `dcgettext' but select the plural form corresponding to the
number N. */ number N. */
extern char *dcngettext PARAMS ((const char *__domainname, const char *__msgid1, extern char *dcngettext _INTL_PARAMS ((const char *__domainname,
const char *__msgid2, unsigned long int __n, const char *__msgid1,
int __category)); const char *__msgid2,
unsigned long int __n,
int __category));
/* Set the current default message catalog to DOMAINNAME. /* Set the current default message catalog to DOMAINNAME.
If DOMAINNAME is null, return the current default. If DOMAINNAME is null, return the current default.
If DOMAINNAME is "", reset to the default of "messages". */ If DOMAINNAME is "", reset to the default of "messages". */
extern char *textdomain PARAMS ((const char *__domainname)); extern char *textdomain _INTL_PARAMS ((const char *__domainname));
/* Specify that the DOMAINNAME message catalog will be found /* Specify that the DOMAINNAME message catalog will be found
in DIRNAME rather than in the system locale data base. */ in DIRNAME rather than in the system locale data base. */
extern char *bindtextdomain PARAMS ((const char *__domainname, extern char *bindtextdomain _INTL_PARAMS ((const char *__domainname,
const char *__dirname)); const char *__dirname));
/* Specify the character encoding in which the messages from the /* Specify the character encoding in which the messages from the
DOMAINNAME message catalog will be returned. */ DOMAINNAME message catalog will be returned. */
extern char *bind_textdomain_codeset PARAMS ((const char *__domainname, extern char *bind_textdomain_codeset _INTL_PARAMS ((const char *__domainname,
const char *__codeset)); const char *__codeset));
/* Optimized version of the functions above. */ /* Optimized version of the functions above. */
+13 -1
View File
@@ -20,8 +20,20 @@
#ifndef _LOADINFO_H #ifndef _LOADINFO_H
#define _LOADINFO_H 1 #define _LOADINFO_H 1
/* Declarations of locale dependent catalog lookup functions.
Implemented in
localealias.c Possibly replace a locale name by another.
explodename.c Split a locale name into its various fields.
l10nflist.c Generate a list of filenames of possible message catalogs.
finddomain.c Find and open the relevant message catalogs.
The main function _nl_find_domain() in finddomain.c is declared
in gettextP.h.
*/
#ifndef PARAMS #ifndef PARAMS
# if __STDC__ # if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES
# define PARAMS(args) args # define PARAMS(args) args
# else # else
# define PARAMS(args) () # define PARAMS(args) ()
+11 -133
View File
@@ -71,8 +71,9 @@ char *alloca ();
# undef HAVE_MMAP # undef HAVE_MMAP
#endif #endif
#include "gettext.h" #include "gmo.h"
#include "gettextP.h" #include "gettextP.h"
#include "plural-exp.h"
#ifdef _LIBC #ifdef _LIBC
# include "../locale/localeinfo.h" # include "../locale/localeinfo.h"
@@ -91,16 +92,6 @@ char *alloca ();
# define munmap __munmap # define munmap __munmap
#endif #endif
/* Names for the libintl functions are a problem. They must not clash
with existing names and they should follow ANSI C. But this source
code is also used in GNU C Library where the names have a __
prefix. So we have to make a difference here. */
#ifdef _LIBC
# define PLURAL_PARSE __gettextparse
#else
# define PLURAL_PARSE gettextparse__
#endif
/* For those losing systems which don't have `alloca' we have to add /* For those losing systems which don't have `alloca' we have to add
some additional code emulating it. */ some additional code emulating it. */
#ifdef HAVE_ALLOCA #ifdef HAVE_ALLOCA
@@ -132,73 +123,6 @@ char *alloca ();
cached by one of GCC's features. */ cached by one of GCC's features. */
int _nl_msg_cat_cntr; int _nl_msg_cat_cntr;
#if (defined __GNUC__ && !defined __APPLE_CC__) \
|| (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
/* These structs are the constant expression for the germanic plural
form determination. It represents the expression "n != 1". */
static const struct expression plvar =
{
.nargs = 0,
.operation = var,
};
static const struct expression plone =
{
.nargs = 0,
.operation = num,
.val =
{
.num = 1
}
};
static struct expression germanic_plural =
{
.nargs = 2,
.operation = not_equal,
.val =
{
.args =
{
[0] = (struct expression *) &plvar,
[1] = (struct expression *) &plone
}
}
};
# define INIT_GERMANIC_PLURAL()
#else
/* For compilers without support for ISO C 99 struct/union initializers:
Initialization at run-time. */
static struct expression plvar;
static struct expression plone;
static struct expression germanic_plural;
static void
init_germanic_plural ()
{
if (plone.val.num == 0)
{
plvar.nargs = 0;
plvar.operation = var;
plone.nargs = 0;
plone.operation = num;
plone.val.num = 1;
germanic_plural.nargs = 2;
germanic_plural.operation = not_equal;
germanic_plural.val.args[0] = &plvar;
germanic_plural.val.args[1] = &plone;
}
}
# define INIT_GERMANIC_PLURAL() init_germanic_plural ()
#endif
/* Initialize the codeset dependent parts of an opened message catalog. /* Initialize the codeset dependent parts of an opened message catalog.
Return the header entry. */ Return the header entry. */
@@ -271,7 +195,7 @@ _nl_init_domain_conv (domain_file, domain, domainbinding)
outcharset = (*_nl_current[LC_CTYPE])->values[_NL_ITEM_INDEX (CODESET)].string; outcharset = (*_nl_current[LC_CTYPE])->values[_NL_ITEM_INDEX (CODESET)].string;
# else # else
# if HAVE_ICONV # if HAVE_ICONV
extern const char *locale_charset (void); extern const char *locale_charset PARAMS ((void));
outcharset = locale_charset (); outcharset = locale_charset ();
# endif # endif
# endif # endif
@@ -288,8 +212,10 @@ _nl_init_domain_conv (domain_file, domain, domainbinding)
domain->conv = (__gconv_t) -1; domain->conv = (__gconv_t) -1;
# else # else
# if HAVE_ICONV # if HAVE_ICONV
/* When using GNU libiconv, we want to use transliteration. */ /* When using GNU libc >= 2.2 or GNU libiconv >= 1.5,
# if _LIBICONV_VERSION >= 0x0105 we want to use transliteration. */
# if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || __GLIBC__ > 2 \
|| _LIBICONV_VERSION >= 0x0105
len = strlen (outcharset); len = strlen (outcharset);
{ {
char *tmp = (char *) alloca (len + 10 + 1); char *tmp = (char *) alloca (len + 10 + 1);
@@ -299,7 +225,8 @@ _nl_init_domain_conv (domain_file, domain, domainbinding)
} }
# endif # endif
domain->conv = iconv_open (outcharset, charset); domain->conv = iconv_open (outcharset, charset);
# if _LIBICONV_VERSION >= 0x0105 # if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2) || __GLIBC__ > 2 \
|| _LIBICONV_VERSION >= 0x0105
freea (outcharset); freea (outcharset);
# endif # endif
# endif # endif
@@ -491,56 +418,7 @@ _nl_load_domain (domain_file, domainbinding)
nullentry = _nl_init_domain_conv (domain_file, domain, domainbinding); nullentry = _nl_init_domain_conv (domain_file, domain, domainbinding);
/* Also look for a plural specification. */ /* Also look for a plural specification. */
if (nullentry != NULL) EXTRACT_PLURAL_EXPRESSION (nullentry, &domain->plural, &domain->nplurals);
{
const char *plural;
const char *nplurals;
plural = strstr (nullentry, "plural=");
nplurals = strstr (nullentry, "nplurals=");
if (plural == NULL || nplurals == NULL)
goto no_plural;
else
{
/* First get the number. */
char *endp;
unsigned long int n;
struct parse_args args;
nplurals += 9;
while (*nplurals != '\0' && isspace (*nplurals))
++nplurals;
#if defined HAVE_STRTOUL || defined _LIBC
n = strtoul (nplurals, &endp, 10);
#else
for (endp = nplurals, n = 0; *endp >= '0' && *endp <= '9'; endp++)
n = n * 10 + (*endp - '0');
#endif
domain->nplurals = n;
if (nplurals == endp)
goto no_plural;
/* Due to the restrictions bison imposes onto the interface of the
scanner function we have to put the input string and the result
passed up from the parser into the same structure which address
is passed down to the parser. */
plural += 7;
args.cp = plural;
if (PLURAL_PARSE (&args) != 0)
goto no_plural;
domain->plural = args.res;
}
}
else
{
/* By default we are using the Germanic form: singular form only
for `one', the plural form otherwise. Yes, this is also what
English is using since English is a Germanic language. */
no_plural:
INIT_GERMANIC_PLURAL ();
domain->plural = &germanic_plural;
domain->nplurals = 2;
}
} }
@@ -550,7 +428,7 @@ internal_function
_nl_unload_domain (domain) _nl_unload_domain (domain)
struct loaded_domain *domain; struct loaded_domain *domain;
{ {
if (domain->plural != &germanic_plural) if (domain->plural != &__gettext_germanic_plural)
__gettext_free_exp (domain->plural); __gettext_free_exp (domain->plural);
_nl_free_domain_conv (domain); _nl_free_domain_conv (domain);
+84 -10
View File
@@ -1,6 +1,6 @@
/* Determine a canonical name for the current locale's character encoding. /* Determine a canonical name for the current locale's character encoding.
Copyright (C) 2000-2001 Free Software Foundation, Inc. Copyright (C) 2000-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published under the terms of the GNU Library General Public License as published
@@ -42,7 +42,12 @@
# define WIN32 # define WIN32
#endif #endif
#ifndef WIN32 #if defined __EMX__
/* Assume EMX program runs on OS/2, even if compiled under DOS. */
# define OS2
#endif
#if !defined WIN32
# if HAVE_LANGINFO_CODESET # if HAVE_LANGINFO_CODESET
# include <langinfo.h> # include <langinfo.h>
# else # else
@@ -50,10 +55,19 @@
# include <locale.h> # include <locale.h>
# endif # endif
# endif # endif
#else /* WIN32 */ #elif defined WIN32
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
# include <windows.h> # include <windows.h>
#endif #endif
#if defined OS2
# define INCL_DOS
# include <os2.h>
#endif
#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
/* Win32, OS/2, DOS */
# define ISSLASH(C) ((C) == '/' || (C) == '\\')
#endif
#ifndef DIRECTORY_SEPARATOR #ifndef DIRECTORY_SEPARATOR
# define DIRECTORY_SEPARATOR '/' # define DIRECTORY_SEPARATOR '/'
@@ -63,6 +77,11 @@
# define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR) # define ISSLASH(C) ((C) == DIRECTORY_SEPARATOR)
#endif #endif
#ifdef HAVE_GETC_UNLOCKED
# undef getc
# define getc getc_unlocked
#endif
/* The following static variable is declared 'volatile' to avoid a /* The following static variable is declared 'volatile' to avoid a
possible multithread problem in the function get_charset_aliases. If we possible multithread problem in the function get_charset_aliases. If we
are running in a threaded environment, and if two threads initialize are running in a threaded environment, and if two threads initialize
@@ -86,7 +105,7 @@ get_charset_aliases ()
cp = charset_aliases; cp = charset_aliases;
if (cp == NULL) if (cp == NULL)
{ {
#ifndef WIN32 #if !defined WIN32
FILE *fp; FILE *fp;
const char *dir = LIBDIR; const char *dir = LIBDIR;
const char *base = "charset.alias"; const char *base = "charset.alias";
@@ -138,19 +157,19 @@ get_charset_aliases ()
continue; continue;
} }
ungetc (c, fp); ungetc (c, fp);
if (fscanf(fp, "%50s %50s", buf1, buf2) < 2) if (fscanf (fp, "%50s %50s", buf1, buf2) < 2)
break; break;
l1 = strlen (buf1); l1 = strlen (buf1);
l2 = strlen (buf2); l2 = strlen (buf2);
if (res_size == 0) if (res_size == 0)
{ {
res_size = l1 + 1 + l2 + 1; res_size = l1 + 1 + l2 + 1;
res_ptr = malloc (res_size + 1); res_ptr = (char *) malloc (res_size + 1);
} }
else else
{ {
res_size += l1 + 1 + l2 + 1; res_size += l1 + 1 + l2 + 1;
res_ptr = realloc (res_ptr, res_size + 1); res_ptr = (char *) realloc (res_ptr, res_size + 1);
} }
if (res_ptr == NULL) if (res_ptr == NULL)
{ {
@@ -174,14 +193,16 @@ get_charset_aliases ()
if (file_name != NULL) if (file_name != NULL)
free (file_name); free (file_name);
#else /* WIN32 */ #else
/* To avoid the troubles of installing a separate file in the same /* To avoid the troubles of installing a separate file in the same
directory as the DLL and of retrieving the DLL's directory at directory as the DLL and of retrieving the DLL's directory at
runtime, simply inline the aliases here. */ runtime, simply inline the aliases here. */
# if defined WIN32
cp = "CP936" "\0" "GBK" "\0" cp = "CP936" "\0" "GBK" "\0"
"CP1361" "\0" "JOHAB" "\0"; "CP1361" "\0" "JOHAB" "\0";
# endif
#endif #endif
charset_aliases = cp; charset_aliases = cp;
@@ -205,7 +226,7 @@ locale_charset ()
const char *codeset; const char *codeset;
const char *aliases; const char *aliases;
#ifndef WIN32 #if !(defined WIN32 || defined OS2)
# if HAVE_LANGINFO_CODESET # if HAVE_LANGINFO_CODESET
@@ -242,7 +263,7 @@ locale_charset ()
# endif # endif
#else /* WIN32 */ #elif defined WIN32
static char buf[2 + 10 + 1]; static char buf[2 + 10 + 1];
@@ -250,6 +271,59 @@ locale_charset ()
sprintf (buf, "CP%u", GetACP ()); sprintf (buf, "CP%u", GetACP ());
codeset = buf; codeset = buf;
#elif defined OS2
const char *locale;
static char buf[2 + 10 + 1];
ULONG cp[3];
ULONG cplen;
/* Allow user to override the codeset, as set in the operating system,
with standard language environment variables. */
locale = getenv ("LC_ALL");
if (locale == NULL || locale[0] == '\0')
{
locale = getenv ("LC_CTYPE");
if (locale == NULL || locale[0] == '\0')
locale = getenv ("LANG");
}
if (locale != NULL && locale[0] != '\0')
{
/* If the locale name contains an encoding after the dot, return it. */
const char *dot = strchr (locale, '.');
if (dot != NULL)
{
const char *modifier;
dot++;
/* Look for the possible @... trailer and remove it, if any. */
modifier = strchr (dot, '@');
if (modifier == NULL)
return dot;
if (modifier - dot < sizeof (buf))
{
memcpy (buf, dot, modifier - dot);
buf [modifier - dot] = '\0';
return buf;
}
}
/* Resolve through the charset.alias file. */
codeset = locale;
}
else
{
/* OS/2 has a function returning the locale's codepage as a number. */
if (DosQueryCp (sizeof (cp), cp, &cplen))
codeset = "";
else
{
sprintf (buf, "CP%u", cp[0]);
codeset = buf;
}
}
#endif #endif
if (codeset == NULL) if (codeset == NULL)
+29 -14
View File
@@ -29,6 +29,9 @@
#include <ctype.h> #include <ctype.h>
#include <stdio.h> #include <stdio.h>
#if defined _LIBC || defined HAVE___FSETLOCKING
# include <stdio_ext.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#ifdef __GNUC__ #ifdef __GNUC__
@@ -49,13 +52,7 @@ char *alloca ();
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#if !HAVE_STRCHR && !defined _LIBC
# ifndef strchr
# define strchr index
# endif
#endif
#include "gettextP.h" #include "gettextP.h"
@@ -71,6 +68,7 @@ char *alloca ();
# define mempcpy __mempcpy # define mempcpy __mempcpy
# endif # endif
# define HAVE_MEMPCPY 1 # define HAVE_MEMPCPY 1
# define HAVE___FSETLOCKING 1
/* We need locking here since we can be called from different places. */ /* We need locking here since we can be called from different places. */
# include <bits/libc-lock.h> # include <bits/libc-lock.h>
@@ -82,6 +80,15 @@ __libc_lock_define_initialized (static, lock);
# define internal_function # define internal_function
#endif #endif
/* Some optimizations for glibc. */
#ifdef _LIBC
# define FEOF(fp) feof_unlocked (fp)
# define FGETS(buf, n, fp) fgets_unlocked (buf, n, fp)
#else
# define FEOF(fp) feof (fp)
# define FGETS(buf, n, fp) fgets (buf, n, fp)
#endif
/* For those losing systems which don't have `alloca' we have to add /* For those losing systems which don't have `alloca' we have to add
some additional code emulating it. */ some additional code emulating it. */
#ifdef HAVE_ALLOCA #ifdef HAVE_ALLOCA
@@ -128,7 +135,7 @@ const char *
_nl_expand_alias (name) _nl_expand_alias (name)
const char *name; const char *name;
{ {
static const char *locale_alias_path = LOCALE_ALIAS_PATH; static const char *locale_alias_path;
struct alias_map *retval; struct alias_map *retval;
const char *result = NULL; const char *result = NULL;
size_t added; size_t added;
@@ -137,6 +144,9 @@ _nl_expand_alias (name)
__libc_lock_lock (lock); __libc_lock_lock (lock);
#endif #endif
if (locale_alias_path == NULL)
locale_alias_path = LOCALE_ALIAS_PATH;
do do
{ {
struct alias_map item; struct alias_map item;
@@ -212,8 +222,13 @@ read_alias_file (fname, fname_len)
if (fp == NULL) if (fp == NULL)
return 0; return 0;
#ifdef HAVE___FSETLOCKING
/* No threads present. */
__fsetlocking (fp, FSETLOCKING_BYCALLER);
#endif
added = 0; added = 0;
while (!feof (fp)) while (!FEOF (fp))
{ {
/* It is a reasonable approach to use a fix buffer here because /* It is a reasonable approach to use a fix buffer here because
a) we are only interested in the first two fields a) we are only interested in the first two fields
@@ -225,7 +240,7 @@ read_alias_file (fname, fname_len)
char *value; char *value;
char *cp; char *cp;
if (fgets (buf, sizeof buf, fp) == NULL) if (FGETS (buf, sizeof buf, fp) == NULL)
/* EOF reached. */ /* EOF reached. */
break; break;
@@ -235,7 +250,7 @@ read_alias_file (fname, fname_len)
{ {
char altbuf[BUFSIZ]; char altbuf[BUFSIZ];
do do
if (fgets (altbuf, sizeof altbuf, fp) == NULL) if (FGETS (altbuf, sizeof altbuf, fp) == NULL)
/* Make sure the inner loop will be left. The outer loop /* Make sure the inner loop will be left. The outer loop
will exit at the `feof' test. */ will exit at the `feof' test. */
break; break;
@@ -244,21 +259,21 @@ read_alias_file (fname, fname_len)
cp = buf; cp = buf;
/* Ignore leading white space. */ /* Ignore leading white space. */
while (isspace (cp[0])) while (isspace ((unsigned char) cp[0]))
++cp; ++cp;
/* A leading '#' signals a comment line. */ /* A leading '#' signals a comment line. */
if (cp[0] != '\0' && cp[0] != '#') if (cp[0] != '\0' && cp[0] != '#')
{ {
alias = cp++; alias = cp++;
while (cp[0] != '\0' && !isspace (cp[0])) while (cp[0] != '\0' && !isspace ((unsigned char) cp[0]))
++cp; ++cp;
/* Terminate alias name. */ /* Terminate alias name. */
if (cp[0] != '\0') if (cp[0] != '\0')
*cp++ = '\0'; *cp++ = '\0';
/* Now look for the beginning of the value. */ /* Now look for the beginning of the value. */
while (isspace (cp[0])) while (isspace ((unsigned char) cp[0]))
++cp; ++cp;
if (cp[0] != '\0') if (cp[0] != '\0')
@@ -267,7 +282,7 @@ read_alias_file (fname, fname_len)
size_t value_len; size_t value_len;
value = cp++; value = cp++;
while (cp[0] != '\0' && !isspace (cp[0])) while (cp[0] != '\0' && !isspace ((unsigned char) cp[0]))
++cp; ++cp;
/* Terminate value. */ /* Terminate value. */
if (cp[0] == '\n') if (cp[0] == '\n')
+26 -30
View File
@@ -50,30 +50,26 @@
# include <config.h> # include <config.h>
#endif #endif
#include <stddef.h>
#include <stdlib.h> #include <stdlib.h>
#include "gettextP.h" #include "plural-exp.h"
/* Names for the libintl functions are a problem. They must not clash /* The main function generated by the parser is called __gettextparse,
with existing names and they should follow ANSI C. But this source but we want it to be called PLURAL_PARSE. */
code is also used in GNU C Library where the names have a __ #ifndef _LIBC
prefix. So we have to make a difference here. */ # define __gettextparse PLURAL_PARSE
#ifdef _LIBC
# define FREE_EXPRESSION __gettext_free_exp
#else
# define FREE_EXPRESSION gettext_free_exp__
# define __gettextparse gettextparse__
#endif #endif
#define YYLEX_PARAM &((struct parse_args *) arg)->cp #define YYLEX_PARAM &((struct parse_args *) arg)->cp
#define YYPARSE_PARAM arg #define YYPARSE_PARAM arg
#line 53 "plural.y" #line 49 "plural.y"
typedef union { typedef union {
unsigned long int num; unsigned long int num;
enum operator op; enum operator op;
struct expression *exp; struct expression *exp;
} YYSTYPE; } YYSTYPE;
#line 59 "plural.y" #line 55 "plural.y"
/* Prototypes for local functions. */ /* Prototypes for local functions. */
static struct expression *new_exp PARAMS ((int nargs, enum operator op, static struct expression *new_exp PARAMS ((int nargs, enum operator op,
@@ -235,8 +231,8 @@ static const short yyrhs[] = { 17,
#if YYDEBUG != 0 #if YYDEBUG != 0
static const short yyrline[] = { 0, static const short yyrline[] = { 0,
178, 186, 190, 194, 198, 202, 206, 210, 214, 218, 174, 182, 186, 190, 194, 198, 202, 206, 210, 214,
222, 227 218, 223
}; };
#endif #endif
@@ -303,7 +299,7 @@ static const short yycheck[] = { 1,
#define YYPURE 1 #define YYPURE 1
/* -*-C-*- Note some compilers choke on comments on `#line' lines. */ /* -*-C-*- Note some compilers choke on comments on `#line' lines. */
#line 3 "/home/haible/gnu/arch/linuxlibc6/share/bison.simple" #line 3 "/usr/local/share/bison.simple"
/* This file comes from bison-1.28. */ /* This file comes from bison-1.28. */
/* Skeleton output parser for bison, /* Skeleton output parser for bison,
@@ -517,7 +513,7 @@ __yy_memcpy (char *to, char *from, unsigned int count)
#endif #endif
#endif #endif
#line 217 "/home/haible/gnu/arch/linuxlibc6/share/bison.simple" #line 217 "/usr/local/share/bison.simple"
/* The user can define YYPARSE_PARAM as the name of an argument to be passed /* The user can define YYPARSE_PARAM as the name of an argument to be passed
into yyparse. The argument should have type void *. into yyparse. The argument should have type void *.
@@ -846,7 +842,7 @@ yyreduce:
switch (yyn) { switch (yyn) {
case 1: case 1:
#line 179 "plural.y" #line 175 "plural.y"
{ {
if (yyvsp[0].exp == NULL) if (yyvsp[0].exp == NULL)
YYABORT; YYABORT;
@@ -854,75 +850,75 @@ case 1:
; ;
break;} break;}
case 2: case 2:
#line 187 "plural.y" #line 183 "plural.y"
{ {
yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp); yyval.exp = new_exp_3 (qmop, yyvsp[-4].exp, yyvsp[-2].exp, yyvsp[0].exp);
; ;
break;} break;}
case 3: case 3:
#line 191 "plural.y" #line 187 "plural.y"
{ {
yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp); yyval.exp = new_exp_2 (lor, yyvsp[-2].exp, yyvsp[0].exp);
; ;
break;} break;}
case 4: case 4:
#line 195 "plural.y" #line 191 "plural.y"
{ {
yyval.exp = new_exp_2 (land, yyvsp[-2].exp, yyvsp[0].exp); yyval.exp = new_exp_2 (land, yyvsp[-2].exp, yyvsp[0].exp);
; ;
break;} break;}
case 5: case 5:
#line 199 "plural.y" #line 195 "plural.y"
{ {
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
; ;
break;} break;}
case 6: case 6:
#line 203 "plural.y" #line 199 "plural.y"
{ {
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
; ;
break;} break;}
case 7: case 7:
#line 207 "plural.y" #line 203 "plural.y"
{ {
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
; ;
break;} break;}
case 8: case 8:
#line 211 "plural.y" #line 207 "plural.y"
{ {
yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp); yyval.exp = new_exp_2 (yyvsp[-1].op, yyvsp[-2].exp, yyvsp[0].exp);
; ;
break;} break;}
case 9: case 9:
#line 215 "plural.y" #line 211 "plural.y"
{ {
yyval.exp = new_exp_1 (lnot, yyvsp[0].exp); yyval.exp = new_exp_1 (lnot, yyvsp[0].exp);
; ;
break;} break;}
case 10: case 10:
#line 219 "plural.y" #line 215 "plural.y"
{ {
yyval.exp = new_exp_0 (var); yyval.exp = new_exp_0 (var);
; ;
break;} break;}
case 11: case 11:
#line 223 "plural.y" #line 219 "plural.y"
{ {
if ((yyval.exp = new_exp_0 (num)) != NULL) if ((yyval.exp = new_exp_0 (num)) != NULL)
yyval.exp->val.num = yyvsp[0].num; yyval.exp->val.num = yyvsp[0].num;
; ;
break;} break;}
case 12: case 12:
#line 228 "plural.y" #line 224 "plural.y"
{ {
yyval.exp = yyvsp[-1].exp; yyval.exp = yyvsp[-1].exp;
; ;
break;} break;}
} }
/* the action file gets copied in in place of this dollarsign */ /* the action file gets copied in in place of this dollarsign */
#line 543 "/home/haible/gnu/arch/linuxlibc6/share/bison.simple" #line 543 "/usr/local/share/bison.simple"
yyvsp -= yylen; yyvsp -= yylen;
yyssp -= yylen; yyssp -= yylen;
@@ -1142,7 +1138,7 @@ yyerrhandle:
} }
return 1; return 1;
} }
#line 233 "plural.y" #line 229 "plural.y"
void void
+7 -11
View File
@@ -30,25 +30,21 @@
# include <config.h> # include <config.h>
#endif #endif
#include <stddef.h>
#include <stdlib.h> #include <stdlib.h>
#include "gettextP.h" #include "plural-exp.h"
/* Names for the libintl functions are a problem. They must not clash /* The main function generated by the parser is called __gettextparse,
with existing names and they should follow ANSI C. But this source but we want it to be called PLURAL_PARSE. */
code is also used in GNU C Library where the names have a __ #ifndef _LIBC
prefix. So we have to make a difference here. */ # define __gettextparse PLURAL_PARSE
#ifdef _LIBC
# define FREE_EXPRESSION __gettext_free_exp
#else
# define FREE_EXPRESSION gettext_free_exp__
# define __gettextparse gettextparse__
#endif #endif
#define YYLEX_PARAM &((struct parse_args *) arg)->cp #define YYLEX_PARAM &((struct parse_args *) arg)->cp
#define YYPARSE_PARAM arg #define YYPARSE_PARAM arg
%} %}
%pure_parser %pure_parser
%expect 10 %expect 7
%union { %union {
unsigned long int num; unsigned long int num;
+1 -1
View File
@@ -32,7 +32,7 @@ libbison_a_SOURCES = \
basename.c dirname.h dirname.c \ basename.c dirname.h dirname.c \
getopt.h getopt.c getopt1.c \ getopt.h getopt.c getopt1.c \
quote.h quote.c quotearg.h quotearg.c \ quote.h quote.c quotearg.h quotearg.c \
xalloc.h xmalloc.c xstrdup.c xstrndup.c xalloc.h xmalloc.c xstrdup.c xstrndup.c gettext.h
libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@ libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
libbison_a_DEPENDENCIES = $(libbison_a_LIBADD) libbison_a_DEPENDENCIES = $(libbison_a_LIBADD)
+8 -6
View File
@@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.5c from Makefile.am. # Makefile.in generated by automake 1.6 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -48,6 +48,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@@ -67,7 +68,6 @@ AMTAR = @AMTAR@
AUTOM4TE = @AUTOM4TE@ AUTOM4TE = @AUTOM4TE@
AWK = @AWK@ AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@ CATOBJEXT = @CATOBJEXT@
CC = @CC@ CC = @CC@
CPP = @CPP@ CPP = @CPP@
@@ -76,8 +76,8 @@ DEPDIR = @DEPDIR@
GCC = @GCC@ GCC = @GCC@
GENCAT = @GENCAT@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@ GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
HAVE_LIB = @HAVE_LIB@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@ INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@ INTLBISON = @INTLBISON@
@@ -86,10 +86,12 @@ INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIB = @LIB@ LIB = @LIB@
LIBICONV = @LIBICONV@ LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LTLIB = @LTLIB@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@ POSUB = @POSUB@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
STRIP = @STRIP@ STRIP = @STRIP@
@@ -120,7 +122,7 @@ libbison_a_SOURCES = \
basename.c dirname.h dirname.c \ basename.c dirname.h dirname.c \
getopt.h getopt.c getopt1.c \ getopt.h getopt.c getopt1.c \
quote.h quote.c quotearg.h quotearg.c \ quote.h quote.c quotearg.h quotearg.c \
xalloc.h xmalloc.c xstrdup.c xstrndup.c xalloc.h xmalloc.c xstrdup.c xstrndup.c gettext.h
libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@ libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
+59
View File
@@ -0,0 +1,59 @@
/* Convenience header for conditional use of GNU <libintl.h>.
Copyright (C) 1995-1998, 2000-2002 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
by the Free Software Foundation; either version 2, or (at your option)
any later version.
This program 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
USA. */
#ifndef _LIBGETTEXT_H
#define _LIBGETTEXT_H 1
/* NLS can be disabled through the configure --disable-nls option. */
#if ENABLE_NLS
/* Get declarations of GNU message catalog functions. */
# include <libintl.h>
#else
/* Disabled NLS.
The casts to 'const char *' serve the purpose of producing warnings
for invalid uses of the value returned from these functions.
On pre-ANSI systems without 'const', the config.h file is supposed to
contain "#define const". */
# define gettext(Msgid) ((const char *) (Msgid))
# define dgettext(Domainname, Msgid) ((const char *) (Msgid))
# define dcgettext(Domainname, Msgid, Category) ((const char *) (Msgid))
# define ngettext(Msgid1, Msgid2, N) \
((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
# define dngettext(Domainname, Msgid1, Msgid2, N) \
((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
# define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \
((N) == 1 ? (const char *) (Msgid1) : (const char *) (Msgid2))
# define textdomain(Domainname) ((const char *) (Domainname))
# define bindtextdomain(Domainname, Dirname) ((const char *) (Dirname))
# define bind_textdomain_codeset(Domainname, Codeset) ((const char *) (Codeset))
#endif
/* A pseudo function call that serves as a marker for the automated
extraction of messages, but does not call gettext(). The run-time
translation is done at a different place in the code.
The argument, String, should be a literal string. Concatenated strings
and other string expressions won't work.
The macro's expansion is not parenthesized, so that it is suitable as
initializer for static 'char[]' or 'const char[]' variables. */
#define gettext_noop(String) String
#endif /* _LIBGETTEXT_H */
+1 -1
View File
@@ -1,5 +1,5 @@
## Process this file with automake to produce Makefile.in -*-Makefile-*- ## Process this file with automake to produce Makefile.in -*-Makefile-*-
EXTRA_DIST = \ EXTRA_DIST = lib-ld.m4 lib-link.m4 lib-prefix.m4 \
c-bs-a.m4 \ c-bs-a.m4 \
codeset.m4 \ codeset.m4 \
dmalloc.m4 \ dmalloc.m4 \
+8 -6
View File
@@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.5c from Makefile.am. # Makefile.in generated by automake 1.6 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -48,6 +48,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@@ -67,7 +68,6 @@ AMTAR = @AMTAR@
AUTOM4TE = @AUTOM4TE@ AUTOM4TE = @AUTOM4TE@
AWK = @AWK@ AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@ CATOBJEXT = @CATOBJEXT@
CC = @CC@ CC = @CC@
CPP = @CPP@ CPP = @CPP@
@@ -76,8 +76,8 @@ DEPDIR = @DEPDIR@
GCC = @GCC@ GCC = @GCC@
GENCAT = @GENCAT@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@ GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
HAVE_LIB = @HAVE_LIB@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@ INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@ INTLBISON = @INTLBISON@
@@ -86,10 +86,12 @@ INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIB = @LIB@ LIB = @LIB@
LIBICONV = @LIBICONV@ LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LTLIB = @LTLIB@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@ POSUB = @POSUB@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
STRIP = @STRIP@ STRIP = @STRIP@
@@ -102,7 +104,7 @@ WERROR_CFLAGS = @WERROR_CFLAGS@
am__include = @am__include@ am__include = @am__include@
am__quote = @am__quote@ am__quote = @am__quote@
install_sh = @install_sh@ install_sh = @install_sh@
EXTRA_DIST = \ EXTRA_DIST = lib-ld.m4 lib-link.m4 lib-prefix.m4 \
c-bs-a.m4 \ c-bs-a.m4 \
codeset.m4 \ codeset.m4 \
dmalloc.m4 \ dmalloc.m4 \
+7 -1
View File
@@ -1,4 +1,10 @@
#serial AM1 # codeset.m4 serial AM1 (gettext-0.10.40)
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl From Bruno Haible. dnl From Bruno Haible.
+446 -275
View File
@@ -1,27 +1,40 @@
# Macro to add for using GNU gettext. # gettext.m4 serial 13 (gettext-0.11.1)
# Ulrich Drepper <[email protected]>, 1995. dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
# dnl This file is free software, distributed under the terms of the GNU
# This file can be copied and used freely without restrictions. It can dnl General Public License. As a special exception to the GNU General
# be used in projects which are not available under the GNU General Public dnl Public License, this file may be distributed as part of a program
# License or the GNU Library General Public License but which still want dnl that contains a configuration script generated by Autoconf, under
# to provide support for the GNU gettext functionality. dnl the same distribution terms as the rest of that program.
# Please note that the actual code of the GNU gettext library is covered dnl
# by the GNU Library General Public License, and the rest of the GNU dnl This file can can be used in projects which are not available under
# gettext package package is covered by the GNU General Public License. dnl the GNU General Public License or the GNU Library General Public
# They are *not* in the public domain. dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Library General Public License, and the rest of the GNU
dnl gettext package package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
# serial 10 dnl Authors:
dnl Ulrich Drepper <[email protected]>, 1995-2000.
dnl Bruno Haible <[email protected]>, 2000-2002.
dnl Usage: AM_WITH_NLS([TOOLSYMBOL], [NEEDSYMBOL], [LIBDIR]). dnl Macro to add for using GNU gettext.
dnl If TOOLSYMBOL is specified and is 'use-libtool', then a libtool library
dnl Usage: AM_GNU_GETTEXT([INTLSYMBOL], [NEEDSYMBOL], [INTLDIR]).
dnl INTLSYMBOL can be one of 'external', 'no-libtool', 'use-libtool'. The
dnl default (if it is not specified or empty) is 'no-libtool'.
dnl INTLSYMBOL should be 'external' for packages with no intl directory,
dnl and 'no-libtool' or 'use-libtool' for packages with an intl directory.
dnl If INTLSYMBOL is 'use-libtool', then a libtool library
dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static, dnl $(top_builddir)/intl/libintl.la will be created (shared and/or static,
dnl depending on --{enable,disable}-{shared,static} and on the presence of dnl depending on --{enable,disable}-{shared,static} and on the presence of
dnl AM-DISABLE-SHARED). Otherwise, a static library dnl AM-DISABLE-SHARED). If INTLSYMBOL is 'no-libtool', a static library
dnl $(top_builddir)/intl/libintl.a will be created. dnl $(top_builddir)/intl/libintl.a will be created.
dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
dnl implementations (in libc or libintl) without the ngettext() function dnl implementations (in libc or libintl) without the ngettext() function
dnl will be ignored. dnl will be ignored.
dnl LIBDIR is used to find the intl libraries. If empty, dnl INTLDIR is used to find the intl libraries. If empty,
dnl the value `$(top_builddir)/intl/' is used. dnl the value `$(top_builddir)/intl/' is used.
dnl dnl
dnl The result of the configuration is one of three cases: dnl The result of the configuration is one of three cases:
@@ -35,29 +48,53 @@ dnl Catalog extension: .mo after installation, .gmo in source tree
dnl 3) No internationalization, always use English msgid. dnl 3) No internationalization, always use English msgid.
dnl Catalog format: none dnl Catalog format: none
dnl Catalog extension: none dnl Catalog extension: none
dnl If INTLSYMBOL is 'external', only cases 2 and 3 can occur.
dnl The use of .gmo is historical (it was needed to avoid overwriting the dnl The use of .gmo is historical (it was needed to avoid overwriting the
dnl GNU format catalogs when building on a platform with an X/Open gettext), dnl GNU format catalogs when building on a platform with an X/Open gettext),
dnl but we keep it in order not to force irrelevant filename changes on the dnl but we keep it in order not to force irrelevant filename changes on the
dnl maintainers. dnl maintainers.
dnl dnl
AC_DEFUN([AM_WITH_NLS], AC_DEFUN([AM_GNU_GETTEXT],
[AC_MSG_CHECKING([whether NLS is requested]) [
dnl Default is enabled NLS dnl Argument checking.
AC_ARG_ENABLE(nls, ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [no-libtool], , [ifelse([$1], [use-libtool], ,
[ --disable-nls do not use Native Language Support], [errprint([ERROR: invalid first argument to AM_GNU_GETTEXT
USE_NLS=$enableval, USE_NLS=yes) ])])])])])
AC_MSG_RESULT($USE_NLS) ifelse([$2], [], , [ifelse([$2], [need-ngettext], ,
AC_SUBST(USE_NLS) [errprint([ERROR: invalid second argument to AM_GNU_GETTEXT
])])])
define(gt_included_intl, ifelse([$1], [external], [no], [yes]))
define(gt_libtool_suffix_prefix, ifelse([$1], [use-libtool], [l], []))
AC_REQUIRE([AM_PO_SUBDIRS])dnl
ifelse(gt_included_intl, yes, [
AC_REQUIRE([AM_INTL_SUBDIR])dnl
])
dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
AC_REQUIRE([AC_LIB_RPATH])
AC_MSG_CHECKING([whether NLS is requested])
dnl Default is enabled NLS
AC_ARG_ENABLE(nls,
[ --disable-nls do not use Native Language Support],
USE_NLS=$enableval, USE_NLS=yes)
AC_MSG_RESULT($USE_NLS)
AC_SUBST(USE_NLS)
ifelse(gt_included_intl, yes, [
BUILD_INCLUDED_LIBINTL=no BUILD_INCLUDED_LIBINTL=no
USE_INCLUDED_LIBINTL=no USE_INCLUDED_LIBINTL=no
INTLLIBS= ])
LIBINTL=
LTLIBINTL=
POSUB=
dnl If we use NLS figure out what method dnl If we use NLS figure out what method
if test "$USE_NLS" = "yes"; then if test "$USE_NLS" = "yes"; then
AC_DEFINE(ENABLE_NLS, 1, gt_use_preinstalled_gnugettext=no
[Define to 1 if translation of program messages to the user's native language ifelse(gt_included_intl, yes, [
is requested.])
AC_MSG_CHECKING([whether included gettext is requested]) AC_MSG_CHECKING([whether included gettext is requested])
AC_ARG_WITH(included-gettext, AC_ARG_WITH(included-gettext,
[ --with-included-gettext use the GNU gettext library included here], [ --with-included-gettext use the GNU gettext library included here],
@@ -67,214 +104,158 @@ AC_DEFUN([AM_WITH_NLS],
nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext" nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
if test "$nls_cv_force_use_gnu_gettext" != "yes"; then if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
])
dnl User does not insist on using GNU NLS library. Figure out what dnl User does not insist on using GNU NLS library. Figure out what
dnl to use. If GNU gettext is available we use this. Else we have dnl to use. If GNU gettext is available we use this. Else we have
dnl to fall back to GNU NLS library. dnl to fall back to GNU NLS library.
CATOBJEXT=NONE
dnl Add a version number to the cache macros. dnl Add a version number to the cache macros.
define(gt_cv_func_gnugettext_libc, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libc]) define([gt_api_version], ifelse([$2], [need-ngettext], 2, 1))
define(gt_cv_func_gnugettext_libintl, [gt_cv_func_gnugettext]ifelse([$2], need-ngettext, 2, 1)[_libintl]) define([gt_cv_func_gnugettext_libc], [gt_cv_func_gnugettext]gt_api_version[_libc])
define([gt_cv_func_gnugettext_libintl], [gt_cv_func_gnugettext]gt_api_version[_libintl])
AC_CHECK_HEADER(libintl.h, AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
[AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc, [AC_TRY_LINK([#include <libintl.h>
[AC_TRY_LINK([#include <libintl.h> extern int _nl_msg_cat_cntr;
extern int _nl_msg_cat_cntr;], extern int *_nl_domain_bindings;],
[bindtextdomain ("", ""); [bindtextdomain ("", "");
return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr], return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings],
gt_cv_func_gnugettext_libc=yes, gt_cv_func_gnugettext_libc=yes,
gt_cv_func_gnugettext_libc=no)]) gt_cv_func_gnugettext_libc=no)])
if test "$gt_cv_func_gnugettext_libc" != "yes"; then if test "$gt_cv_func_gnugettext_libc" != "yes"; then
AC_CACHE_CHECK([for GNU gettext in libintl], dnl Sometimes libintl requires libiconv, so first search for libiconv.
gt_cv_func_gnugettext_libintl, ifelse(gt_included_intl, yes, , [
[gt_save_LIBS="$LIBS" AM_ICONV_LINK
LIBS="$LIBS -lintl $LIBICONV" ])
AC_TRY_LINK([#include <libintl.h> dnl Search for libintl and define LIBINTL, LTLIBINTL and INCINTL
extern int _nl_msg_cat_cntr;], dnl accordingly. Don't use AC_LIB_LINKFLAGS_BODY([intl],[iconv])
[bindtextdomain ("", ""); dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr], dnl even if libiconv doesn't exist.
gt_cv_func_gnugettext_libintl=yes, AC_LIB_LINKFLAGS_BODY([intl])
gt_cv_func_gnugettext_libintl=no) AC_CACHE_CHECK([for GNU gettext in libintl],
LIBS="$gt_save_LIBS"]) gt_cv_func_gnugettext_libintl,
fi [gt_save_CPPFLAGS="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $INCINTL"
gt_save_LIBS="$LIBS"
LIBS="$LIBS $LIBINTL"
dnl Now see whether libintl exists and does not depend on libiconv.
AC_TRY_LINK([#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();],
[bindtextdomain ("", "");
return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
gt_cv_func_gnugettext_libintl=yes,
gt_cv_func_gnugettext_libintl=no)
dnl Now see whether libintl exists and depends on libiconv.
if test "$gt_cv_func_gnugettext_libintl" != yes && test -n "$LIBICONV"; then
LIBS="$LIBS $LIBICONV"
AC_TRY_LINK([#include <libintl.h>
extern int _nl_msg_cat_cntr;
extern int *_nl_domain_bindings;
extern
#ifdef __cplusplus
"C"
#endif
const char *_nl_expand_alias ();],
[bindtextdomain ("", "");
return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
[LIBINTL="$LIBINTL $LIBICONV"
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
gt_cv_func_gnugettext_libintl=yes
])
fi
CPPFLAGS="$gt_save_CPPFLAGS"
LIBS="$gt_save_LIBS"])
fi
dnl If an already present or preinstalled GNU gettext() is found, dnl If an already present or preinstalled GNU gettext() is found,
dnl use it. But if this macro is used in GNU gettext, and GNU dnl use it. But if this macro is used in GNU gettext, and GNU
dnl gettext is already preinstalled in libintl, we update this dnl gettext is already preinstalled in libintl, we update this
dnl libintl. (Cf. the install rule in intl/Makefile.in.) dnl libintl. (Cf. the install rule in intl/Makefile.in.)
if test "$gt_cv_func_gnugettext_libc" = "yes" \ if test "$gt_cv_func_gnugettext_libc" = "yes" \
|| { test "$gt_cv_func_gnugettext_libintl" = "yes" \ || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
&& test "$PACKAGE" != gettext; }; then && test "$PACKAGE" != gettext; }; then
AC_DEFINE(HAVE_GETTEXT, 1, gt_use_preinstalled_gnugettext=yes
[Define if the GNU gettext() function is already present or preinstalled.]) else
dnl Reset the values set by searching for libintl.
LIBINTL=
LTLIBINTL=
INCINTL=
fi
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then ifelse(gt_included_intl, yes, [
dnl If iconv() is in a separate libiconv library, then anyone if test "$gt_use_preinstalled_gnugettext" != "yes"; then
dnl linking with libintl{.a,.so} also needs to link with dnl GNU gettext is not found in the C library.
dnl libiconv. dnl Fall back on included GNU gettext library.
INTLLIBS="-lintl $LIBICONV" nls_cv_use_gnu_gettext=yes
fi
gt_save_LIBS="$LIBS"
LIBS="$LIBS $INTLLIBS"
AC_CHECK_FUNCS(dcgettext)
LIBS="$gt_save_LIBS"
dnl Search for GNU msgfmt in the PATH.
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :)
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
dnl Search for GNU xgettext in the PATH.
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :)
CATOBJEXT=.gmo
fi
])
if test "$CATOBJEXT" = "NONE"; then
dnl GNU gettext is not found in the C library.
dnl Fall back on GNU gettext library.
nls_cv_use_gnu_gettext=yes
fi fi
fi fi
if test "$nls_cv_use_gnu_gettext" = "yes"; then if test "$nls_cv_use_gnu_gettext" = "yes"; then
dnl Mark actions used to generate GNU NLS library. dnl Mark actions used to generate GNU NLS library.
INTLOBJS="\$(GETTOBJS)" INTLOBJS="\$(GETTOBJS)"
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, BUILD_INCLUDED_LIBINTL=yes
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1], :) USE_INCLUDED_LIBINTL=yes
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) LIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LIBICONV"
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, LTLIBINTL="ifelse([$3],[],\${top_builddir}/intl,[$3])/libintl.[]gt_libtool_suffix_prefix[]a $LTLIBICONV"
[$ac_dir/$ac_word --omit-header /dev/null >/dev/null 2>&1], :) LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
AC_SUBST(MSGFMT) fi
BUILD_INCLUDED_LIBINTL=yes
USE_INCLUDED_LIBINTL=yes if test "$gt_use_preinstalled_gnugettext" = "yes" \
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
dnl Mark actions to use GNU gettext tools.
CATOBJEXT=.gmo CATOBJEXT=.gmo
INTLLIBS="ifelse([$3],[],\$(top_builddir)/intl,[$3])/libintl.ifelse([$1], use-libtool, [l], [])a $LIBICONV"
LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
fi fi
])
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it. if test "$gt_use_preinstalled_gnugettext" = "yes" \
dnl Test whether we really found GNU msgfmt. || test "$nls_cv_use_gnu_gettext" = "yes"; then
if test "$GMSGFMT" != ":"; then AC_DEFINE(ENABLE_NLS, 1,
dnl If it is no GNU msgfmt we define it as : so that the [Define to 1 if translation of program messages to the user's native language
dnl Makefiles still can work. is requested.])
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then else
: ; USE_NLS=no
else
AC_MSG_RESULT(
[found msgfmt program is not GNU msgfmt; ignore it])
GMSGFMT=":"
fi
fi
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
dnl Test whether we really found GNU xgettext.
if test "$XGETTEXT" != ":"; then
dnl If it is no GNU xgettext we define it as : so that the
dnl Makefiles still can work.
if $XGETTEXT --omit-header /dev/null >/dev/null 2>&1; then
: ;
else
AC_MSG_RESULT(
[found xgettext program is not GNU xgettext; ignore it])
XGETTEXT=":"
fi
fi
dnl We need to process the po/ directory.
POSUB=po
fi fi
AC_OUTPUT_COMMANDS( fi
[for ac_file in $CONFIG_FILES; do
# Support "outfile[:infile[:infile...]]"
case "$ac_file" in
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
esac
# PO directories have a Makefile.in generated from Makefile.in.in.
case "$ac_file" in */Makefile.in)
# Adjust a relative srcdir.
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
case "$ac_given_srcdir" in
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
/*) top_srcdir="$ac_given_srcdir" ;;
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
rm -f "$ac_dir/POTFILES"
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," -e "\$s/\(.*\) \\\\/\1/" < "$ac_given_srcdir/$ac_dir/POTFILES.in" > "$ac_dir/POTFILES"
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
sed -e "/POTFILES =/r $ac_dir/POTFILES" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
fi
;;
esac
done])
if test "$USE_NLS" = "yes"; then
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
AC_MSG_CHECKING([how to link with libintl])
AC_MSG_RESULT([$LIBINTL])
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCINTL])
fi
dnl For backward compatibility. Some packages may be using this.
AC_DEFINE(HAVE_GETTEXT, 1,
[Define if the GNU gettext() function is already present or preinstalled.])
AC_DEFINE(HAVE_DCGETTEXT, 1,
[Define if the GNU dcgettext() function is already present or preinstalled.])
fi
dnl We need to process the po/ directory.
POSUB=po
fi
ifelse(gt_included_intl, yes, [
dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
dnl to 'yes' because some of the testsuite requires it. dnl to 'yes' because some of the testsuite requires it.
if test "$PACKAGE" = gettext; then if test "$PACKAGE" = gettext; then
BUILD_INCLUDED_LIBINTL=yes BUILD_INCLUDED_LIBINTL=yes
fi fi
dnl intl/plural.c is generated from intl/plural.y. It requires bison,
dnl because plural.y uses bison specific features. It requires at least
dnl bison-1.26 because earlier versions generate a plural.c that doesn't
dnl compile.
dnl bison is only needed for the maintainer (who touches plural.y). But in
dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
dnl the rule in general Makefile. Now, some people carelessly touch the
dnl files or have a broken "make" program, hence the plural.c rule will
dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
dnl present or too old.
AC_CHECK_PROGS([INTLBISON], [bison])
if test -z "$INTLBISON"; then
ac_verc_fail=yes
else
dnl Found it, now check the version.
AC_MSG_CHECKING([version of bison])
changequote(<<,>>)dnl
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
changequote([,])dnl
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
esac
AC_MSG_RESULT([$ac_prog_version])
fi
if test $ac_verc_fail = yes; then
INTLBISON=:
fi
dnl These rules are solely for the distribution goal. While doing this
dnl we only have to keep exactly one list of the available catalogs
dnl in configure.in.
for lang in $ALL_LINGUAS; do
GMOFILES="$GMOFILES $lang.gmo"
POFILES="$POFILES $lang.po"
done
dnl Make all variables we use known to autoconf. dnl Make all variables we use known to autoconf.
AC_SUBST(BUILD_INCLUDED_LIBINTL) AC_SUBST(BUILD_INCLUDED_LIBINTL)
AC_SUBST(USE_INCLUDED_LIBINTL) AC_SUBST(USE_INCLUDED_LIBINTL)
AC_SUBST(CATALOGS)
AC_SUBST(CATOBJEXT) AC_SUBST(CATOBJEXT)
AC_SUBST(GMOFILES)
AC_SUBST(INTLLIBS)
AC_SUBST(INTLOBJS) AC_SUBST(INTLOBJS)
AC_SUBST(POFILES)
AC_SUBST(POSUB)
dnl For backward compatibility. Some configure.ins may be using this. dnl For backward compatibility. Some configure.ins may be using this.
nls_cv_header_intl= nls_cv_header_intl=
@@ -291,80 +272,270 @@ changequote([,])dnl
dnl For backward compatibility. Some Makefiles may be using this. dnl For backward compatibility. Some Makefiles may be using this.
GENCAT=gencat GENCAT=gencat
AC_SUBST(GENCAT) AC_SUBST(GENCAT)
dnl Enable libtool support if the surrounding package wishes it.
INTL_LIBTOOL_SUFFIX_PREFIX=gt_libtool_suffix_prefix
AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
]) ])
dnl Usage: Just like AM_WITH_NLS, which see. dnl For backward compatibility. Some Makefiles may be using this.
AC_DEFUN([AM_GNU_GETTEXT], INTLLIBS="$LIBINTL"
[AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_SUBST(INTLLIBS)
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_PROG_RANLIB])dnl
AC_REQUIRE([AC_ISC_POSIX])dnl
AC_REQUIRE([AC_HEADER_STDC])dnl
AC_REQUIRE([AC_C_CONST])dnl
AC_REQUIRE([AC_C_INLINE])dnl
AC_REQUIRE([AC_TYPE_OFF_T])dnl
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
AC_REQUIRE([AC_FUNC_MMAP])dnl
AC_REQUIRE([jm_GLIBC21])dnl
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \ dnl Make all documented variables known to autoconf.
AC_SUBST(LIBINTL)
AC_SUBST(LTLIBINTL)
AC_SUBST(POSUB)
])
dnl Checks for all prerequisites of the po subdirectory,
dnl except for USE_NLS.
AC_DEFUN([AM_PO_SUBDIRS],
[
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_REQUIRE([AM_MKINSTALLDIRS])dnl
dnl Perform the following tests also if --disable-nls has been given,
dnl because they are needed for "make dist" to work.
dnl Search for GNU msgfmt in the PATH.
dnl The first test excludes Solaris msgfmt and early GNU msgfmt versions.
dnl The second test excludes FreeBSD msgfmt.
AM_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
[$ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
:)
AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
dnl Search for GNU xgettext 0.11 or newer in the PATH.
dnl The first test excludes Solaris xgettext and early GNU xgettext versions.
dnl The second test excludes FreeBSD xgettext.
AM_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
[$ac_dir/$ac_word --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
(if $ac_dir/$ac_word --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi)],
:)
dnl Remove leftover from FreeBSD xgettext call.
rm -f messages.po
dnl Search for GNU msgmerge 0.11 or newer in the PATH.
AM_PATH_PROG_WITH_TEST(MSGMERGE, msgmerge,
[$ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1], :)
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
dnl Test whether we really found GNU msgfmt.
if test "$GMSGFMT" != ":"; then
dnl If it is no GNU msgfmt we define it as : so that the
dnl Makefiles still can work.
if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
(if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
: ;
else
GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
AC_MSG_RESULT(
[found $GMSGFMT program is not GNU msgfmt; ignore it])
GMSGFMT=":"
fi
fi
dnl This could go away some day; the PATH_PROG_WITH_TEST already does it.
dnl Test whether we really found GNU xgettext.
if test "$XGETTEXT" != ":"; then
dnl If it is no GNU xgettext we define it as : so that the
dnl Makefiles still can work.
if $XGETTEXT --omit-header --copyright-holder= /dev/null >/dev/null 2>&1 &&
(if $XGETTEXT --omit-header --copyright-holder= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
: ;
else
AC_MSG_RESULT(
[found xgettext program is not GNU xgettext; ignore it])
XGETTEXT=":"
fi
dnl Remove leftover from FreeBSD xgettext call.
rm -f messages.po
fi
AC_OUTPUT_COMMANDS([
for ac_file in $CONFIG_FILES; do
# Support "outfile[:infile[:infile...]]"
case "$ac_file" in
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
esac
# PO directories have a Makefile.in generated from Makefile.in.in.
case "$ac_file" in */Makefile.in)
# Adjust a relative srcdir.
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
# In autoconf-2.13 it is called $ac_given_srcdir.
# In autoconf-2.50 it is called $srcdir.
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
case "$ac_given_srcdir" in
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
/*) top_srcdir="$ac_given_srcdir" ;;
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
esac
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
rm -f "$ac_dir/POTFILES"
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
# ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
# on $ac_dir but don't depend on user-specified configuration
# parameters.
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
# The LINGUAS file contains the set of available languages.
if test -n "$ALL_LINGUAS"; then
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
fi
ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
# Hide the ALL_LINGUAS assigment from automake.
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
fi
case "$ac_given_srcdir" in
.) srcdirpre= ;;
*) srcdirpre='$(srcdir)/' ;;
esac
POFILES=
GMOFILES=
UPDATEPOFILES=
DUMMYPOFILES=
for lang in $ALL_LINGUAS; do
POFILES="$POFILES $srcdirpre$lang.po"
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
done
# CATALOGS depends on both $ac_dir and the user's LINGUAS
# environment variable.
INST_LINGUAS=
if test -n "$ALL_LINGUAS"; then
for presentlang in $ALL_LINGUAS; do
useit=no
if test "%UNSET%" != "$LINGUAS"; then
desiredlanguages="$LINGUAS"
else
desiredlanguages="$ALL_LINGUAS"
fi
for desiredlang in $desiredlanguages; do
# Use the presentlang catalog if desiredlang is
# a. equal to presentlang, or
# b. a variant of presentlang (because in this case,
# presentlang can be used as a fallback for messages
# which are not translated in the desiredlang catalog).
case "$desiredlang" in
"$presentlang"*) useit=yes;;
esac
done
if test $useit = yes; then
INST_LINGUAS="$INST_LINGUAS $presentlang"
fi
done
fi
CATALOGS=
if test -n "$INST_LINGUAS"; then
for lang in $INST_LINGUAS; do
CATALOGS="$CATALOGS $lang.gmo"
done
fi
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
if test -f "$f"; then
case "$f" in
*.orig | *.bak | *~) ;;
*) cat "$f" >> "$ac_dir/Makefile" ;;
esac
fi
done
fi
;;
esac
done],
[# Capture the value of obsolete $ALL_LINGUAS because we need it to compute
# POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
# from automake.
eval 'ALL_LINGUAS''="$ALL_LINGUAS"'
# Capture the value of LINGUAS because we need it to compute CATALOGS.
LINGUAS="${LINGUAS-%UNSET%}"
])
])
dnl Checks for all prerequisites of the intl subdirectory,
dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
dnl USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
AC_DEFUN([AM_INTL_SUBDIR],
[
AC_REQUIRE([AC_PROG_INSTALL])dnl
AC_REQUIRE([AM_MKINSTALLDIRS])dnl
AC_REQUIRE([AC_PROG_CC])dnl
AC_REQUIRE([AC_CANONICAL_HOST])dnl
AC_REQUIRE([AC_PROG_RANLIB])dnl
AC_REQUIRE([AC_ISC_POSIX])dnl
AC_REQUIRE([AC_HEADER_STDC])dnl
AC_REQUIRE([AC_C_CONST])dnl
AC_REQUIRE([AC_C_INLINE])dnl
AC_REQUIRE([AC_TYPE_OFF_T])dnl
AC_REQUIRE([AC_TYPE_SIZE_T])dnl
AC_REQUIRE([AC_FUNC_ALLOCA])dnl
AC_REQUIRE([AC_FUNC_MMAP])dnl
AC_REQUIRE([jm_GLIBC21])dnl
AC_CHECK_HEADERS([argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
stdlib.h string.h unistd.h sys/param.h]) stdlib.h string.h unistd.h sys/param.h])
AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getcwd getegid geteuid \ AC_CHECK_FUNCS([feof_unlocked fgets_unlocked getc_unlocked getcwd getegid \
getgid getuid mempcpy munmap putenv setenv setlocale stpcpy strchr strcasecmp \ geteuid getgid getuid mempcpy munmap putenv setenv setlocale stpcpy \
strdup strtoul tsearch __argz_count __argz_stringify __argz_next]) strcasecmp strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
AM_ICONV AM_ICONV
AM_LANGINFO_CODESET AM_LANGINFO_CODESET
AM_LC_MESSAGES AM_LC_MESSAGES
AM_WITH_NLS([$1],[$2],[$3])
if test "x$CATOBJEXT" != "x"; then dnl intl/plural.c is generated from intl/plural.y. It requires bison,
if test "x$ALL_LINGUAS" = "x"; then dnl because plural.y uses bison specific features. It requires at least
LINGUAS= dnl bison-1.26 because earlier versions generate a plural.c that doesn't
else dnl compile.
AC_MSG_CHECKING(for catalogs to be installed) dnl bison is only needed for the maintainer (who touches plural.y). But in
NEW_LINGUAS= dnl order to avoid separate Makefiles or --enable-maintainer-mode, we put
for presentlang in $ALL_LINGUAS; do dnl the rule in general Makefile. Now, some people carelessly touch the
useit=no dnl files or have a broken "make" program, hence the plural.c rule will
for desiredlang in ${LINGUAS-$ALL_LINGUAS}; do dnl sometimes fire. To avoid an error, defines BISON to ":" if it is not
# Use the presentlang catalog if desiredlang is dnl present or too old.
# a. equal to presentlang, or AC_CHECK_PROGS([INTLBISON], [bison])
# b. a variant of presentlang (because in this case, if test -z "$INTLBISON"; then
# presentlang can be used as a fallback for messages ac_verc_fail=yes
# which are not translated in the desiredlang catalog). else
case "$desiredlang" in dnl Found it, now check the version.
"$presentlang"*) useit=yes;; AC_MSG_CHECKING([version of bison])
esac changequote(<<,>>)dnl
done ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
if test $useit = yes; then case $ac_prog_version in
NEW_LINGUAS="$NEW_LINGUAS $presentlang" '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
fi 1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
done changequote([,])dnl
LINGUAS=$NEW_LINGUAS ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
AC_MSG_RESULT($LINGUAS) *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
fi esac
AC_MSG_RESULT([$ac_prog_version])
fi
if test $ac_verc_fail = yes; then
INTLBISON=:
fi
])
dnl Construct list of names of catalog files to be constructed.
if test -n "$LINGUAS"; then
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
fi
fi
dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly AC_DEFUN([AM_MKINSTALLDIRS],
dnl find the mkinstalldirs script in another subdir but $(top_srcdir). [
dnl Try to locate is. dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
MKINSTALLDIRS= dnl find the mkinstalldirs script in another subdir but $(top_srcdir).
if test -n "$ac_aux_dir"; then dnl Try to locate is.
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" MKINSTALLDIRS=
fi if test -n "$ac_aux_dir"; then
if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi
fi if test -z "$MKINSTALLDIRS"; then
AC_SUBST(MKINSTALLDIRS) MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
fi
dnl Enable libtool support if the surrounding package wishes it. AC_SUBST(MKINSTALLDIRS)
INTL_LIBTOOL_SUFFIX_PREFIX=ifelse([$1], use-libtool, [l], []) ])
AC_SUBST(INTL_LIBTOOL_SUFFIX_PREFIX)
])
+7 -1
View File
@@ -1,4 +1,10 @@
#serial 2 # glibc21.m4 serial 2 (fileutils-4.1.3, gettext-0.10.40)
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
# Test for the GNU C Library, version 2.1 or newer. # Test for the GNU C Library, version 2.1 or newer.
# From Bruno Haible. # From Bruno Haible.
+42 -15
View File
@@ -1,19 +1,32 @@
#serial AM2 # iconv.m4 serial AM3 (gettext-0.11)
dnl Copyright (C) 2000-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
dnl From Bruno Haible. dnl From Bruno Haible.
AC_DEFUN([AM_ICONV], AC_DEFUN([AM_ICONV_LINK],
[ [
dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and dnl Some systems have iconv in libc, some have it in libiconv (OSF/1 and
dnl those with the standalone portable GNU libiconv installed). dnl those with the standalone portable GNU libiconv installed).
AC_ARG_WITH([libiconv-prefix], dnl Prerequisites of AC_LIB_LINKFLAGS_BODY.
[ --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
for dir in `echo "$withval" | tr : ' '`; do AC_REQUIRE([AC_LIB_RPATH])
if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi dnl Search for libiconv and define LIBICONV, LTLIBICONV and INCICONV
done dnl accordingly.
]) AC_LIB_LINKFLAGS_BODY([iconv])
dnl Add $INCICONV to CPPFLAGS before performing the following checks,
dnl because if the user has installed libiconv and not disabled its use
dnl via --without-libiconv-prefix, he wants to use it. The first
dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
am_save_CPPFLAGS="$CPPFLAGS"
AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [ AC_CACHE_CHECK(for iconv, am_cv_func_iconv, [
am_cv_func_iconv="no, consider installing GNU libiconv" am_cv_func_iconv="no, consider installing GNU libiconv"
@@ -26,7 +39,7 @@ AC_DEFUN([AM_ICONV],
am_cv_func_iconv=yes) am_cv_func_iconv=yes)
if test "$am_cv_func_iconv" != yes; then if test "$am_cv_func_iconv" != yes; then
am_save_LIBS="$LIBS" am_save_LIBS="$LIBS"
LIBS="$LIBS -liconv" LIBS="$LIBS $LIBICONV"
AC_TRY_LINK([#include <stdlib.h> AC_TRY_LINK([#include <stdlib.h>
#include <iconv.h>], #include <iconv.h>],
[iconv_t cd = iconv_open("",""); [iconv_t cd = iconv_open("","");
@@ -39,6 +52,25 @@ AC_DEFUN([AM_ICONV],
]) ])
if test "$am_cv_func_iconv" = yes; then if test "$am_cv_func_iconv" = yes; then
AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.]) AC_DEFINE(HAVE_ICONV, 1, [Define if you have the iconv() function.])
fi
if test "$am_cv_lib_iconv" = yes; then
AC_MSG_CHECKING([how to link with libiconv])
AC_MSG_RESULT([$LIBICONV])
else
dnl If $LIBICONV didn't lead to a usable library, we don't need $INCICONV
dnl either.
CPPFLAGS="$am_save_CPPFLAGS"
LIBICONV=
LTLIBICONV=
fi
AC_SUBST(LIBICONV)
AC_SUBST(LTLIBICONV)
])
AC_DEFUN([AM_ICONV],
[
AC_REQUIRE([AM_ICONV_LINK])
if test "$am_cv_func_iconv" = yes; then
AC_MSG_CHECKING([for iconv declaration]) AC_MSG_CHECKING([for iconv declaration])
AC_CACHE_VAL(am_cv_proto_iconv, [ AC_CACHE_VAL(am_cv_proto_iconv, [
AC_TRY_COMPILE([ AC_TRY_COMPILE([
@@ -61,9 +93,4 @@ size_t iconv();
AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1, AC_DEFINE_UNQUOTED(ICONV_CONST, $am_cv_proto_iconv_arg1,
[Define as const if the declaration of iconv() needs const.]) [Define as const if the declaration of iconv() needs const.])
fi fi
LIBICONV=
if test "$am_cv_lib_iconv" = yes; then
LIBICONV="-liconv"
fi
AC_SUBST(LIBICONV)
]) ])
+8 -1
View File
@@ -1,4 +1,11 @@
#serial 1 # isc-posix.m4 serial 1 (gettext-0.10.40)
dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
dnl Public License, this file may be distributed as part of a program
dnl that contains a configuration script generated by Autoconf, under
dnl the same distribution terms as the rest of that program.
# This test replaces the one in autoconf. # This test replaces the one in autoconf.
# Currently this macro should have the same name as the autoconf macro # Currently this macro should have the same name as the autoconf macro
# because gettext's gettext.m4 (distributed in the automake package) # because gettext's gettext.m4 (distributed in the automake package)
+20 -12
View File
@@ -1,16 +1,24 @@
# Check whether LC_MESSAGES is available in <locale.h>. # lcmessage.m4 serial 2 (gettext-0.10.40)
# Ulrich Drepper <[email protected]>, 1995. dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
# dnl This file is free software, distributed under the terms of the GNU
# This file can be copied and used freely without restrictions. It can dnl General Public License. As a special exception to the GNU General
# be used in projects which are not available under the GNU General Public dnl Public License, this file may be distributed as part of a program
# License or the GNU Library General Public License but which still want dnl that contains a configuration script generated by Autoconf, under
# to provide support for the GNU gettext functionality. dnl the same distribution terms as the rest of that program.
# Please note that the actual code of the GNU gettext library is covered dnl
# by the GNU Library General Public License, and the rest of the GNU dnl This file can can be used in projects which are not available under
# gettext package package is covered by the GNU General Public License. dnl the GNU General Public License or the GNU Library General Public
# They are *not* in the public domain. dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Library General Public License, and the rest of the GNU
dnl gettext package package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
# serial 2 dnl Authors:
dnl Ulrich Drepper <[email protected]>, 1995.
# Check whether LC_MESSAGES is available in <locale.h>.
AC_DEFUN([AM_LC_MESSAGES], AC_DEFUN([AM_LC_MESSAGES],
[if test $ac_cv_header_locale_h = yes; then [if test $ac_cv_header_locale_h = yes; then
+20 -12
View File
@@ -1,16 +1,24 @@
# Search path for a program which passes the given test. # progtest.m4 serial 2 (gettext-0.10.40)
# Ulrich Drepper <[email protected]>, 1996. dnl Copyright (C) 1996-2002 Free Software Foundation, Inc.
# dnl This file is free software, distributed under the terms of the GNU
# This file can be copied and used freely without restrictions. It can dnl General Public License. As a special exception to the GNU General
# be used in projects which are not available under the GNU General Public dnl Public License, this file may be distributed as part of a program
# License or the GNU Library General Public License but which still want dnl that contains a configuration script generated by Autoconf, under
# to provide support for the GNU gettext functionality. dnl the same distribution terms as the rest of that program.
# Please note that the actual code of the GNU gettext library is covered dnl
# by the GNU Library General Public License, and the rest of the GNU dnl This file can can be used in projects which are not available under
# gettext package package is covered by the GNU General Public License. dnl the GNU General Public License or the GNU Library General Public
# They are *not* in the public domain. dnl License but which still want to provide support for the GNU gettext
dnl functionality.
dnl Please note that the actual code of the GNU gettext library is covered
dnl by the GNU Library General Public License, and the rest of the GNU
dnl gettext package package is covered by the GNU General Public License.
dnl They are *not* in the public domain.
# serial 2 dnl Authors:
dnl Ulrich Drepper <[email protected]>, 1996.
# Search path for a program which passes the given test.
dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl AM_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
+197 -76
View File
@@ -1,18 +1,16 @@
# Makefile for program source directory in GNU NLS utilities package. # Makefile for PO directory in any package using GNU gettext.
# Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <[email protected]> # Copyright (C) 1995-1997, 2000-2002 by Ulrich Drepper <[email protected]>
# #
# This file file be copied and used freely without restrictions. It can # This file can be copied and used freely without restrictions. It can
# be used in projects which are not available under the GNU General Public License # be used in projects which are not available under the GNU General Public
# but which still want to provide support for the GNU gettext functionality. # License but which still want to provide support for the GNU gettext
# Please note that the actual code is *not* freely available. # functionality.
# Please note that the actual code of GNU gettext is covered by the GNU
# General Public License and is *not* in the public domain.
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
VERSION = @VERSION@ VERSION = @VERSION@
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
SHELL = /bin/sh SHELL = /bin/sh
@SET_MAKE@ @SET_MAKE@
@@ -31,45 +29,47 @@ INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac` mkinstalldirs = $(SHELL) `case "$(MKINSTALLDIRS)" in /*) echo "$(MKINSTALLDIRS)" ;; *) echo "$(top_builddir)/$(MKINSTALLDIRS)" ;; esac`
CC = @CC@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
MSGFMT = @MSGFMT@ MSGFMT = @MSGFMT@
XGETTEXT = @XGETTEXT@ XGETTEXT = @XGETTEXT@
MSGMERGE = msgmerge MSGMERGE = msgmerge
MSGMERGE_UPDATE = @MSGMERGE@ --update
DEFS = @DEFS@ MSGINIT = msginit
CFLAGS = @CFLAGS@ MSGCONV = msgconv
CPPFLAGS = @CPPFLAGS@ MSGFILTER = msgfilter
INCLUDES = -I.. -I$(top_srcdir)/intl
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS)
POFILES = @POFILES@ POFILES = @POFILES@
GMOFILES = @GMOFILES@ GMOFILES = @GMOFILES@
DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(PACKAGE).pot \ UPDATEPOFILES = @UPDATEPOFILES@
$(POFILES) $(GMOFILES) DUMMYPOFILES = @DUMMYPOFILES@
DISTFILES.common = Makefile.in.in Makevars remove-potcdate.sin \
$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3)
DISTFILES = $(DISTFILES.common) POTFILES.in $(DOMAIN).pot \
$(POFILES) $(GMOFILES) \
$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3)
POTFILES = \ POTFILES = \
CATALOGS = @CATALOGS@ CATALOGS = @CATALOGS@
# Makevars gets inserted here. (Don't remove this line!)
.SUFFIXES: .SUFFIXES:
.SUFFIXES: .c .o .po .pox .gmo .mo .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-update
.c.o:
$(COMPILE) $<
.po.pox:
$(MAKE) $(PACKAGE).pot
$(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox
.po.mo: .po.mo:
$(MSGFMT) -o $@ $< @echo "$(MSGFMT) -c -o $@ $<"; \
$(MSGFMT) -c -o t-$@ $< && mv t-$@ $@
.po.gmo: .po.gmo:
file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ @lang=`echo $* | sed -e 's,.*/,,'`; \
&& rm -f $$file && $(GMSGFMT) --statistics -o $$file $< test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o $${lang}.gmo $${lang}.po"; \
cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo
.sin.sed:
sed -e '/^#/d' $< > t-$@
mv t-$@ $@
all: all-@USE_NLS@ all: all-@USE_NLS@
@@ -77,17 +77,38 @@ all: all-@USE_NLS@
all-yes: $(CATALOGS) all-yes: $(CATALOGS)
all-no: all-no:
# Note: Target 'all' must not depend on target '$(srcdir)/$(PACKAGE).pot', # Note: Target 'all' must not depend on target '$(DOMAIN).pot-update',
# otherwise packages like GCC can not be built if only parts of the source # otherwise packages like GCC can not be built if only parts of the source
# have been downloaded. # have been downloaded.
$(srcdir)/$(PACKAGE).pot: $(POTFILES) $(srcdir)/POTFILES.in $(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \
--add-comments --keyword=_ --keyword=N_ \ --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) \
--files-from=$(srcdir)/POTFILES.in \ --files-from=$(srcdir)/POTFILES.in \
&& test ! -f $(PACKAGE).po \ --copyright-holder='$(COPYRIGHT_HOLDER)'
|| ( rm -f $(srcdir)/$(PACKAGE).pot \ test ! -f $(DOMAIN).po || { \
&& mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) if test -f $(srcdir)/$(DOMAIN).pot; then \
sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \
sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \
if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \
rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \
else \
rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
fi; \
else \
mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \
fi; \
}
$(srcdir)/$(DOMAIN).pot:
$(MAKE) $(DOMAIN).pot-update
$(POFILES): $(srcdir)/$(DOMAIN).pot
@lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}$(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot"; \
cd $(srcdir) && $(MSGMERGE_UPDATE) $${lang}.po $(DOMAIN).pot
install: install-exec install-data install: install-exec install-data
@@ -95,8 +116,10 @@ install-exec:
install-data: install-data-@USE_NLS@ install-data: install-data-@USE_NLS@
if test "$(PACKAGE)" = "gettext"; then \ if test "$(PACKAGE)" = "gettext"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \ $(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
$(INSTALL_DATA) $(srcdir)/Makefile.in.in \ for file in $(DISTFILES.common); do \
$(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ $(INSTALL_DATA) $(srcdir)/$$file \
$(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \ else \
: ; \ : ; \
fi fi
@@ -106,41 +129,117 @@ install-data-yes: all
@catalogs='$(CATALOGS)'; \ @catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \ for cat in $$catalogs; do \
cat=`basename $$cat`; \ cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.gmo$$//'`; \ lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \ dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $(DESTDIR)$$dir; \ $(mkinstalldirs) $(DESTDIR)$$dir; \
if test -r $$cat; then \ if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \
$(INSTALL_DATA) $$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \
echo "installing $$cat as $(DESTDIR)$$dir/$(PACKAGE).mo"; \ echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \
else \ for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
$(INSTALL_DATA) $(srcdir)/$$cat $(DESTDIR)$$dir/$(PACKAGE).mo; \ if test -n "$$lc"; then \
echo "installing $(srcdir)/$$cat as" \ if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
"$(DESTDIR)$$dir/$(PACKAGE).mo"; \ link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
fi; \ mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
for file in *; do \
if test -f $$file; then \
ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
fi; \
done); \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
else \
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
:; \
else \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
fi; \
fi; \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \
cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \
fi; \
done; \
done
install-strip: install
installdirs: installdirs-exec installdirs-data
installdirs-exec:
installdirs-data: installdirs-data-@USE_NLS@
if test "$(PACKAGE)" = "gettext"; then \
$(mkinstalldirs) $(DESTDIR)$(gettextsrcdir); \
else \
: ; \
fi
installdirs-data-no:
installdirs-data-yes:
$(mkinstalldirs) $(DESTDIR)$(datadir)
@catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
dir=$(localedir)/$$lang/LC_MESSAGES; \
$(mkinstalldirs) $(DESTDIR)$$dir; \
for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \
if test -n "$$lc"; then \
if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \
link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \
mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
(cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \
for file in *; do \
if test -f $$file; then \
ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \
fi; \
done); \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \
else \
if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \
:; \
else \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \
mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \
fi; \
fi; \
fi; \
done; \
done done
# Define this as empty until I found a useful application. # Define this as empty until I found a useful application.
installcheck: installcheck:
uninstall: uninstall: uninstall-exec uninstall-data
catalogs='$(CATALOGS)'; \ uninstall-exec:
for cat in $$catalogs; do \ uninstall-data: uninstall-data-@USE_NLS@
cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.gmo$$//'`; \
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(PACKAGE).mo; \
done
if test "$(PACKAGE)" = "gettext"; then \ if test "$(PACKAGE)" = "gettext"; then \
rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ for file in $(DISTFILES.common); do \
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
done; \
else \ else \
: ; \ : ; \
fi fi
uninstall-data-no:
uninstall-data-yes:
catalogs='$(CATALOGS)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \
for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \
rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \
done; \
done
check: all check: all
dvi info tags TAGS ID: dvi info tags TAGS ID:
mostlyclean: mostlyclean:
rm -f core core.* *.pox $(PACKAGE).po *.new.po rm -f remove-potcdate.sed
rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po
rm -fr *.o rm -fr *.o
clean: mostlyclean clean: mostlyclean
@@ -160,29 +259,49 @@ dist distdir:
# This is a separate target because 'update-po' must be executed before. # This is a separate target because 'update-po' must be executed before.
dist2: $(DISTFILES) dist2: $(DISTFILES)
dists="$(DISTFILES)"; \ dists="$(DISTFILES)"; \
if test -f $(srcdir)/ChangeLog; then dists="$$dists ChangeLog"; fi; \
if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \
for file in $$dists; do \ for file in $$dists; do \
if test -f $$file; then dir=.; else dir=$(srcdir); fi; \ if test -f $$file; then \
cp -p $$dir/$$file $(distdir); \ cp -p $$file $(distdir); \
else \
cp -p $(srcdir)/$$file $(distdir); \
fi; \
done done
update-po: Makefile update-po: Makefile
$(MAKE) $(PACKAGE).pot $(MAKE) $(DOMAIN).pot-update
if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \ $(MAKE) $(UPDATEPOFILES)
cd $(srcdir); \
catalogs='$(GMOFILES)'; \
for cat in $$catalogs; do \
cat=`basename $$cat`; \
lang=`echo $$cat | sed 's/\.gmo$$//'`; \
echo "$$lang:"; \
if $(MSGMERGE) $$lang.po $(PACKAGE).pot -o $$lang.new.po; then \
mv -f $$lang.new.po $$lang.po; \
else \
echo "msgmerge for $$cat failed!"; \
rm -f $$lang.new.po; \
fi; \
done
$(MAKE) update-gmo $(MAKE) update-gmo
# General rule for updating PO files.
.nop.po-update:
@lang=`echo $@ | sed -e 's/\.po-update$$//'`; \
if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; fi; \
tmpdir=`pwd`; \
echo "$$lang:"; \
test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
echo "$${cdcmd}$(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \
cd $(srcdir); \
if $(MSGMERGE) $$lang.po $(DOMAIN).pot -o $$tmpdir/$$lang.new.po; then \
if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
rm -f $$tmpdir/$$lang.new.po; \
else \
if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \
:; \
else \
echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \
exit 1; \
fi; \
fi; \
else \
echo "msgmerge for $$lang.po failed!" 1>&2; \
rm -f $$tmpdir/$$lang.new.po; \
fi
$(DUMMYPOFILES):
update-gmo: Makefile $(GMOFILES) update-gmo: Makefile $(GMOFILES)
@: @:
@@ -191,6 +310,8 @@ Makefile: Makefile.in.in $(top_builddir)/config.status POTFILES.in
&& CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \
$(SHELL) ./config.status $(SHELL) ./config.status
force:
# Tell versions [3.59,3.63) of GNU make not to export all variables. # Tell versions [3.59,3.63) of GNU make not to export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded. # Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: .NOEXPORT:
+25
View File
@@ -0,0 +1,25 @@
# Makefile variables for PO directory in any package using GNU gettext.
# Usually the message domain is the same as the package name.
DOMAIN = $(PACKAGE)
# These two variables depend on the location of this directory.
subdir = po
top_builddir = ..
# These options get passed to xgettext.
XGETTEXT_OPTIONS = --keyword=_ --keyword=N_
# This is the copyright holder that gets inserted into the header of the
# $(DOMAIN).pot file. Set this to the copyright holder of the surrounding
# package. (Note that the msgstr strings, extracted from the package's
# sources, belong to the copyright holder of the package.) Translators are
# expected to transfer the copyright for their translations to this person
# or entity, or to disclaim their copyright. The empty string stands for
# the public domain; in this case the translators are expected to disclaim
# their copyright.
COPYRIGHT_HOLDER = Free Software Foundation, Inc.
# This is the list of locale categories, beyond LC_MESSAGES, for which the
# message catalogs shall be used. It is usually empty.
EXTRA_LOCALE_CATEGORIES =
+31 -68
View File
@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.33b\n" "Project-Id-Version: bison 1.33b\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-03-05 10:42:19+0100\n" "PO-Revision-Date: 2002-03-05 10:42:19+0100\n"
"Last-Translator: Michael Piefel <[email protected]>\n" "Last-Translator: Michael Piefel <[email protected]>\n"
"Language-Team: German <[email protected]>\n" "Language-Team: German <[email protected]>\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "zu viele Zustände (max %d)" msgstr "zu viele Zustände (max %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "Unbekannter Systemfehler" msgstr "Unbekannter Systemfehler"
@@ -72,8 +72,6 @@ msgstr[1] "%d Reduziere/Reduziere-Konflikte"
msgid "State %d contains " msgid "State %d contains "
msgstr "Zustand %d enthält " msgstr "Zustand %d enthält "
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "Konflikte: " msgstr "Konflikte: "
@@ -133,8 +131,6 @@ msgstr "kann Datei »%s« nicht öffnen"
msgid "cannot close file" msgid "cannot close file"
msgstr "kann Datei nicht schließen" msgstr "kann Datei nicht schließen"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison generiert Parser für LALR(1)-Grammatiken.\n" msgstr "GNU bison generiert Parser für LALR(1)-Grammatiken.\n"
@@ -210,8 +206,6 @@ msgstr ""
msgid "Report bugs to <[email protected]>.\n" msgid "Report bugs to <[email protected]>.\n"
msgstr "Berichten Sie Fehler an <[email protected]>.\n" msgstr "Berichten Sie Fehler an <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -361,7 +355,6 @@ msgstr " %-4s\tgehe zu Zustand %d über\n"
msgid "state %d" msgid "state %d"
msgstr "Zustand %d" msgstr "Zustand %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "Grammatik" msgstr "Grammatik"
@@ -379,7 +372,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "leer" msgstr "leer"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "Terminale und die Regeln, in denen sie verwendet werden" msgstr "Terminale und die Regeln, in denen sie verwendet werden"
@@ -396,20 +388,11 @@ msgstr " auf der linken Seite:"
msgid " on right:" msgid " on right:"
msgstr " auf der rechten Seite:" msgstr " auf der rechten Seite:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\tFehler (nicht assoziativ)" msgstr "%-4s\tFehler (nicht assoziativ)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -479,7 +462,7 @@ msgstr "Symbol »%s« wird mehr als eine literale Zeichenkette gegeben"
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "Symbol %s noch einmal definiert" msgstr "Symbol %s noch einmal definiert"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "erneute Deklaration des Typs für %s" msgstr "erneute Deklaration des Typs für %s"
@@ -489,12 +472,12 @@ msgstr "erneute Deklaration des Typs für %s"
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "»%s« ist in %s nicht erlaubt" msgstr "»%s« ist in %s nicht erlaubt"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "mehr als eine %s-Deklaration" msgstr "mehr als eine %s-Deklaration"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "ungültige %s-Deklaration" msgstr "ungültige %s-Deklaration"
@@ -523,129 +506,129 @@ msgstr "unzulässiger Text (%s) - Zahl sollte nach Bezeichner kommen"
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "unerwartetes Symbol: %s" msgstr "unerwartetes Symbol: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "%s ohne Gegenstück" msgstr "%s ohne Gegenstück"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "Argument von %%expect ist keine ganze Zahl" msgstr "Argument von %%expect ist keine ganze Zahl"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "unerwartetes Symbol %s, hier wird ein Bezeichner erwartet" msgstr "unerwartetes Symbol %s, hier wird ein Bezeichner erwartet"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "hier wird eine Zeichenkette erwartet, nicht %s" msgstr "hier wird eine Zeichenkette erwartet, nicht %s"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "unbekannt: %s" msgstr "unbekannt: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "keine Eingabe-Grammatik" msgstr "keine Eingabe-Grammatik"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "unbekanntes Zeichen: %s" msgstr "unbekanntes Zeichen: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "unbeendeter %guard-Fall" msgstr "unbeendeter %guard-Fall"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "" msgstr ""
"falsch geformte Regel: führendes Symbol wird nicht von einem Semikolon " "falsch geformte Regel: führendes Symbol wird nicht von einem Semikolon "
"gefolgt" "gefolgt"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "Grammatik fängt mit einem vertikalen Strich (»|«) an" msgstr "Grammatik fängt mit einem vertikalen Strich (»|«) an"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "Regel für %s vorhanden, welches aber ein Token ist" msgstr "Regel für %s vorhanden, welches aber ein Token ist"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "vorangehende Regel hat kein abschließendes »;«" msgstr "vorangehende Regel hat kein abschließendes »;«"
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "zwei @prec-Anweisungen nacheinander" msgstr "zwei @prec-Anweisungen nacheinander"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "" msgstr ""
"%%guard-Anweisung vorhanden, jedoch wird %%semantic_parser nicht angegeben" "%%guard-Anweisung vorhanden, jedoch wird %%semantic_parser nicht angegeben"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "Zwei Aktionen am Ende einer Regel" msgstr "Zwei Aktionen am Ende einer Regel"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "Typkonflikt (»%s« »%s«) bei Default-Aktion" msgstr "Typkonflikt (»%s« »%s«) bei Default-Aktion"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "leere Regel für Nicht-Terminal mit Typ und keine Aktion" msgstr "leere Regel für Nicht-Terminal mit Typ und keine Aktion"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "ungültige Eingabe: %s" msgstr "ungültige Eingabe: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "zu viele Symbole (Token plus Nicht-Terminale); Maximum %d" msgstr "zu viele Symbole (Token plus Nicht-Terminale); Maximum %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "Eingabegrammatik enthält keine Regeln" msgstr "Eingabegrammatik enthält keine Regeln"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"Symbol %s wird benutzt, ist aber nicht als Token definiert und hat keine " "Symbol %s wird benutzt, ist aber nicht als Token definiert und hat keine "
"Regel" "Regel"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "Token %s und %s haben die selbe Nummer %d" msgstr "Token %s und %s haben die selbe Nummer %d"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "Vorrang für %s und %s widersprechen sich" msgstr "Vorrang für %s und %s widersprechen sich"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "Assoziativitäts-Werte für %s und %s widersprechen sich" msgstr "Assoziativitäts-Werte für %s und %s widersprechen sich"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "das Startsymbol %s ist undefiniert" msgstr "das Startsymbol %s ist undefiniert"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "das Startsymbol %s ist ein Token" msgstr "das Startsymbol %s ist ein Token"
@@ -712,19 +695,16 @@ msgstr "%s: Option »%c%s« erlaubt kein Argument\n"
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: Option »%s« erfordert ein Argument\n" msgstr "%s: Option »%s« erfordert ein Argument\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: unbekannte Option »--%s«\n" msgstr "%s: unbekannte Option »--%s«\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: unbekannte Option »%c%s«\n" msgstr "%s: unbekannte Option »%c%s«\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -735,7 +715,6 @@ msgstr "%s: ungültige Option -- %c\n"
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: ungültige Option -- %c\n" msgstr "%s: ungültige Option -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -751,26 +730,10 @@ msgstr "%s: Option »-W %s« ist mehrdeutig\n"
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: Option »-W %s« erlaubt kein Argument\n" msgstr "%s: Option »-W %s« erlaubt kein Argument\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "Speicher ausgeschöpft" msgstr "Speicher ausgeschöpft"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "»" msgstr "»"
+166 -181
View File
@@ -26,12 +26,11 @@
# Carlos Linares # Carlos Linares
# -------------------------------------------------------------------- # --------------------------------------------------------------------
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GNU bison 1.25\n" "Project-Id-Version: GNU bison 1.34a\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 1998-09-21 10:19+0200\n" "PO-Revision-Date: 2002-03-21 10:19+0200\n"
"Last-Translator: Nicolás García-Pedrajas <[email protected]>\n" "Last-Translator: Nicolás García-Pedrajas <[email protected]>\n"
"Language-Team: Spanish <[email protected]>\n" "Language-Team: Spanish <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -41,15 +40,15 @@ msgstr ""
#: src/LR0.c:189 #: src/LR0.c:189
#, c-format #, c-format
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "" msgstr "demasiados estados (máximo %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "" msgstr "Error del sistema desconocido"
#: src/complain.c:150 #: src/complain.c:150
msgid "warning: " msgid "warning: "
msgstr "" msgstr "aviso: "
# Duda: desconozco cuál será el convenio en la lista de correo a # Duda: desconozco cuál será el convenio en la lista de correo a
# propósito de "fatal". Por favor, comprueba que "error grave" es # propósito de "fatal". Por favor, comprueba que "error grave" es
@@ -59,12 +58,11 @@ msgstr ""
# ngp # ngp
# #
#: src/complain.c:238 #: src/complain.c:238
#, fuzzy
msgid "fatal error: " msgid "fatal error: "
msgstr "error grave: %s\n" msgstr "error grave: "
#: src/conflicts.c:44 #: src/conflicts.c:44
#, c-format #, fuzzy, c-format
msgid "Conflict in state %d between rule %d and token %s resolved as %s.\n" msgid "Conflict in state %d between rule %d and token %s resolved as %s.\n"
msgstr "" msgstr ""
"El conflicto en el estado %s entre la regla %d y el terminal %s se resuelve " "El conflicto en el estado %s entre la regla %d y el terminal %s se resuelve "
@@ -86,26 +84,25 @@ msgstr "un error"
#, fuzzy, c-format #, fuzzy, c-format
msgid "%d shift/reduce conflict" msgid "%d shift/reduce conflict"
msgid_plural "%d shift/reduce conflicts" msgid_plural "%d shift/reduce conflicts"
msgstr[0] " %d conflictos desplazamiento/reducción" msgstr[0] " 1 conflicto desplazamiento/reducción"
msgstr[1] " 1 conflicto desplazamiento/reducción"
#: src/conflicts.c:309 #: src/conflicts.c:309
#, fuzzy
msgid "and" msgid "and"
msgstr " y" msgstr "y"
#: src/conflicts.c:315 #: src/conflicts.c:315
#, fuzzy, c-format #, fuzzy, c-format
msgid "%d reduce/reduce conflict" msgid "%d reduce/reduce conflict"
msgid_plural "%d reduce/reduce conflicts" msgid_plural "%d reduce/reduce conflicts"
msgstr[0] " %d conflictos reducción/reducción" msgstr[0] " 1 conflicto reducción/reducción"
msgstr[1] " 1 conflicto reducción/reducción"
#: src/conflicts.c:340 #: src/conflicts.c:340
#, fuzzy, c-format #, c-format
msgid "State %d contains " msgid "State %d contains "
msgstr "El estado %d contiene" msgstr "El estado %d contiene"
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "conflictos: " msgstr "conflictos: "
@@ -153,7 +150,8 @@ msgstr "%s contiene "
#, fuzzy, c-format #, fuzzy, c-format
msgid "expected %d shift/reduce conflict\n" msgid "expected %d shift/reduce conflict\n"
msgid_plural "expected %d shift/reduce conflicts\n" msgid_plural "expected %d shift/reduce conflicts\n"
msgstr[0] " %d conflictos desplazamiento/reducción" msgstr[0] " 1 conflicto desplazamiento/reducción"
msgstr[1] " 1 conflicto desplazamiento/reducción"
#: src/conflicts.c:463 src/conflicts.c:540 #: src/conflicts.c:463 src/conflicts.c:540
#, c-format #, c-format
@@ -182,28 +180,30 @@ msgstr " $default\treduce usando la regla %d (%s)\n"
#: src/files.c:151 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "" msgstr "no se puede abrir el fichero `%s'"
#: src/files.c:170 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "" msgstr "no se puede cerrar el fichero"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "" msgstr "GNU bison genera analizadores para gramáticas LALR(1).\n"
#: src/getargs.c:88 #: src/getargs.c:88
#, c-format #, c-format
msgid "Usage: %s [OPTION]... FILE\n" msgid "Usage: %s [OPTION]... FILE\n"
msgstr "" msgstr "Utilización: %s [OPCIÓN]... FICHERO\n"
#: src/getargs.c:92 #: src/getargs.c:92
msgid "" msgid ""
"If a long option shows an argument as mandatory, then it is mandatory\n" "If a long option shows an argument as mandatory, then it is mandatory\n"
"for the equivalent short option also. Similarly for optional arguments.\n" "for the equivalent short option also. Similarly for optional arguments.\n"
msgstr "" msgstr ""
"Si una opción larga muestra un argumento como obligatorio, entonces es "
"obligatorio\n"
"para la opción corta equivalente también. De igual forma para los argumentos "
"opcionales.\n"
#: src/getargs.c:98 #: src/getargs.c:98
msgid "" msgid ""
@@ -212,6 +212,10 @@ msgid ""
" -V, --version output version information and exit\n" " -V, --version output version information and exit\n"
" -y, --yacc emulate POSIX yacc\n" " -y, --yacc emulate POSIX yacc\n"
msgstr "" msgstr ""
"Modos de operación:\n"
" -h, --help muestra esta ayuda y termina\n"
" -V, --version informa de la versión y termina\n"
" -y, --yacc emula POSIX yacc\n"
#: src/getargs.c:105 #: src/getargs.c:105
msgid "" msgid ""
@@ -224,6 +228,14 @@ msgid ""
" -n, --no-parser generate the tables only\n" " -n, --no-parser generate the tables only\n"
" -k, --token-table include a table of token names\n" " -k, --token-table include a table of token names\n"
msgstr "" msgstr ""
"Analizador:\n"
" -S, --skeleton=FICHERO especifica el skeleton a utilizar\n"
" -t, --debug instrumenta al analizador para depuración\n"
" --locations abilita la computación de localizaciones\n"
" -p, --name-prefix=PREFIJO preañade PREFIJO a los símbolos externos\n"
" -l, --no-lines no genera la directiva `#line'\n"
" -n, --no-parser solamente genera las tablas\n"
" --k, --token-table incluye una tabla de nombres de terminales\n"
#: src/getargs.c:117 #: src/getargs.c:117
msgid "" msgid ""
@@ -235,39 +247,51 @@ msgid ""
" -g, --graph also produce a VCG description of the " " -g, --graph also produce a VCG description of the "
"automaton\n" "automaton\n"
msgstr "" msgstr ""
"Salida:\n"
" -d, --defines también produce un fichero de cabecera\n"
" -v, --verbose también produce una explicación del automaton\n"
" -b, --file-prefix=PREFIJO especifia el PREFIJO para los ficheros de "
"salida\n"
" -o, --output=FICHERO almacena la salida en FICHERO\n"
" -g, --graph también produce una descripción en VCG del "
"automaton\n"
#: src/getargs.c:127 #: src/getargs.c:127
msgid "Report bugs to <[email protected]>.\n" msgid "Report bugs to <[email protected]>.\n"
msgstr "" msgstr "Informe de los errores a <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
msgstr "" msgstr "bison (GNU bison) %s"
#: src/getargs.c:146 #: src/getargs.c:146
msgid "" msgid ""
"Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002\n" "Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002\n"
"Free Software Foundation, Inc.\n" "Free Software Foundation, Inc.\n"
msgstr "" msgstr ""
"Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002\n"
"Free Software Foundation, Inc.\n"
#: src/getargs.c:151 #: src/getargs.c:151
msgid "" msgid ""
"This is free software; see the source for copying conditions. There is NO\n" "This is free software; see the source for copying conditions. There is NO\n"
"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"
msgstr "" msgstr ""
"Esto es software libre; mire el fuente para las condiciones de copia. No "
"hay\n"
"NINGUNA garantía; ni siquiera para COMERCIALIZACIÓN o ADAPTACIÓN PARA UN\n"
"USO PARTICULAR\n"
#: src/getargs.c:230 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "" msgstr "`%s' ya no está soportado"
#: src/getargs.c:254 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "" msgstr "Pruebe `%s --help' para más información.\n"
# Me parece menos "computadora" decir "ningún fichero de gramática" - cll # Me parece menos "computadora" decir "ningún fichero de gramática" - cll
# #
@@ -278,14 +302,14 @@ msgstr "%s: no se ha especificado ning
# Ignorar es no saber, to ignore es no hacer caso, que no es lo mismo. sv # Ignorar es no saber, to ignore es no hacer caso, que no es lo mismo. sv
#: src/getargs.c:265 #: src/getargs.c:265
#, fuzzy, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: los argumentos extra después de '%s' no se tendrán en cuenta\n" msgstr "%s: los argumentos extra después de '%s' no se tendrán en cuenta\n"
#: src/lalr.c:256 #: src/lalr.c:256
#, c-format #, c-format
msgid "too many gotos (max %d)" msgid "too many gotos (max %d)"
msgstr "" msgstr "demasiados gotos (máximo %d)"
# to ignore no es ignorar. Pon otra cosa, please. sv # to ignore no es ignorar. Pon otra cosa, please. sv
#: src/lex.c:76 #: src/lex.c:76
@@ -297,9 +321,8 @@ msgid "unterminated comment"
msgstr "comentario sin terminar" msgstr "comentario sin terminar"
#: src/lex.c:137 #: src/lex.c:137
#, fuzzy
msgid "unexpected end of file" msgid "unexpected end of file"
msgstr "Fin de fichero inesperado" msgstr "fin de fichero inesperado"
# ¿unescaped? # ¿unescaped?
#: src/lex.c:166 #: src/lex.c:166
@@ -337,12 +360,12 @@ msgstr "use \"...\" para terminales literales multicar
#: src/lex.c:678 #: src/lex.c:678
#, c-format #, c-format
msgid "`%s' supports no argument: %s" msgid "`%s' supports no argument: %s"
msgstr "" msgstr "`%s' no soporta el argumento: %s"
#: src/lex.c:694 #: src/lex.c:694
#, fuzzy, c-format #, c-format
msgid "`%s' requires an argument" msgid "`%s' requires an argument"
msgstr "%s: la opción `%s' requiere un argumento\n" msgstr "`%s' requiere un argumento"
# Únicamente cambio la posición del adjetivo `máximo'. En vez de después # Únicamente cambio la posición del adjetivo `máximo'. En vez de después
# de `tabla', después de `tamaño' - cll # de `tabla', después de `tamaño' - cll
@@ -393,50 +416,34 @@ msgid " %-4s\tgo to state %d\n"
msgstr " %-4s\tir al estado %d\n" msgstr " %-4s\tir al estado %d\n"
#: src/print.c:180 #: src/print.c:180
#, fuzzy, c-format #, c-format
msgid "state %d" msgid "state %d"
msgstr "" msgstr "estado %d"
"\n"
"\n"
"estado %d\n"
"\n"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
#, fuzzy
msgid "Grammar" msgid "Grammar"
msgstr "" msgstr "Gramática"
"\n"
"Gramática\n"
#: src/print.c:212 #: src/print.c:212
msgid "Number, Line, Rule" msgid "Number, Line, Rule"
msgstr "" msgstr "Número, Línea, Regla"
#: src/print.c:217 #: src/print.c:217
#, fuzzy, c-format #, c-format
msgid " %3d %3d %s ->" msgid " %3d %3d %s ->"
msgstr "regla %-4d %s ->" msgstr " %3d %3d %s ->"
#: src/print.c:224 #: src/print.c:224
msgid "empty" msgid "empty"
msgstr "" msgstr "vacío"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
#, fuzzy
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "" msgstr "Terminales con las reglas donde aparecen"
"\n"
"Terminales con las reglas donde aparecen\n"
"\n"
#: src/print.c:256 #: src/print.c:256
#, fuzzy
msgid "Nonterminals, with rules where they appear" msgid "Nonterminals, with rules where they appear"
msgstr "" msgstr "No terminales con las reglas donde aparecen"
"\n"
"No terminales con las reglas donde aparecen\n"
#: src/print.c:282 #: src/print.c:282
msgid " on left:" msgid " on left:"
@@ -446,24 +453,15 @@ msgstr " en la izquierda:"
msgid " on right:" msgid " on right:"
msgstr " en la derecha:" msgstr " en la derecha:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, fuzzy, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr " %-4s\terror (no asociativo)\n" msgstr "%-4s\terror (no asociativo)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, fuzzy, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
msgstr " $default\treduce usando la regla %d (%s)\n" msgstr "$default\treduce usando la regla %d (%s)"
#: src/reader.c:89 #: src/reader.c:89
msgid " Skipping to next \\n" msgid " Skipping to next \\n"
@@ -487,14 +485,13 @@ msgid "unterminated string"
msgstr "cadena sin terminar" msgstr "cadena sin terminar"
#: src/reader.c:339 #: src/reader.c:339
#, fuzzy
msgid "invalid @ value" msgid "invalid @ value"
msgstr "valor $ no válido" msgstr "valor @ no válido"
#: src/reader.c:352 src/reader.c:416 #: src/reader.c:352 src/reader.c:416
#, fuzzy, c-format #, c-format
msgid "%s is invalid" msgid "%s is invalid"
msgstr "@%s no es válido" msgstr "%s no es válido"
#: src/reader.c:392 #: src/reader.c:392
#, c-format #, c-format
@@ -502,9 +499,9 @@ msgid "$$ of `%s' has no declared type"
msgstr "$$ de `%s' no tiene tipo declarado" msgstr "$$ de `%s' no tiene tipo declarado"
#: src/reader.c:409 #: src/reader.c:409
#, fuzzy, c-format #, c-format
msgid "$%d of `%s' has no declared type" msgid "$%d of `%s' has no declared type"
msgstr "$%s de `%s' no tiene tipo declarado" msgstr "$%d de `%s' no tiene tipo declarado"
#: src/reader.c:463 #: src/reader.c:463
msgid "unterminated `%{' definition" msgid "unterminated `%{' definition"
@@ -513,24 +510,24 @@ msgstr "definici
#: src/reader.c:508 src/reader.c:623 src/reader.c:673 #: src/reader.c:508 src/reader.c:623 src/reader.c:673
#, c-format #, c-format
msgid "Premature EOF after %s" msgid "Premature EOF after %s"
msgstr "" msgstr "EOF prematuro después de %s"
#: src/reader.c:525 #: src/reader.c:525
#, c-format #, c-format
msgid "symbol `%s' used more than once as a literal string" msgid "symbol `%s' used more than once as a literal string"
msgstr "" msgstr "símbolo `%s' utilizado más de una vez como cadena literal"
#: src/reader.c:528 #: src/reader.c:528
#, c-format #, c-format
msgid "symbol `%s' given more than one literal string" msgid "symbol `%s' given more than one literal string"
msgstr "" msgstr "al símbolo `%s' se le ha dado más de una cadena literal"
#: src/reader.c:549 src/reader.c:692 #: src/reader.c:549 src/reader.c:692
#, c-format #, c-format
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "redefinido el símbolo %s" msgstr "redefinido el símbolo %s"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "redeclaración del tipo de %s" msgstr "redeclaración del tipo de %s"
@@ -540,24 +537,24 @@ msgstr "redeclaraci
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "`%s' no es válido en %s" msgstr "`%s' no es válido en %s"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, fuzzy, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "múltiples declaraciones de %start" msgstr "múltiples declaraciones de %s"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, fuzzy, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "declaración de %start no válida" msgstr "declaración de %s no válida"
#: src/reader.c:608 #: src/reader.c:608
msgid "%type declaration has no <typename>" msgid "%type declaration has no <typename>"
msgstr "la declaración %type no tiene <nombre-tipo>" msgstr "la declaración %type no tiene <nombre-tipo>"
#: src/reader.c:643 #: src/reader.c:643
#, fuzzy, c-format #, c-format
msgid "invalid %%type declaration due to item: %s" msgid "invalid %%type declaration due to item: %s"
msgstr "declaración de %%type no válida debido al ítem: `%s'" msgstr "declaración de %%type no válida debido al ítem: %s"
#: src/reader.c:688 #: src/reader.c:688
#, c-format #, c-format
@@ -584,12 +581,12 @@ msgid "unexpected item: %s"
msgstr "ítem inesperado: %s" msgstr "ítem inesperado: %s"
# Cambio el orden y el sexo. Ahora está "en español". sv # Cambio el orden y el sexo. Ahora está "en español". sv
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, fuzzy, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "`{' desemparejada" msgstr "%s desemparejado/a"
#: src/reader.c:826 #: src/reader.c:827
#, fuzzy, c-format #, fuzzy, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "el argumento de %expect no es un entero" msgstr "el argumento de %expect no es un entero"
@@ -600,26 +597,26 @@ msgstr "el argumento de %expect no es un entero"
# - cll # - cll
# ok - ngp # ok - ngp
# #
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "no se reconoce el ítem %s, se esperaba un identificador" msgstr "no se reconoce el ítem %s, se esperaba un identificador"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "se esperaba una cadena constante en lugar de %s" msgstr "se esperaba una cadena constante en lugar de %s"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "no reconocido: %s" msgstr "no reconocido: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "no hay gramática de entrada" msgstr "no hay gramática de entrada"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "carácter desconocido: %s" msgstr "carácter desconocido: %s"
@@ -628,137 +625,130 @@ msgstr "car
# mejor que `sin terminar' que me parece más "computerizado" - cll # mejor que `sin terminar' que me parece más "computerizado" - cll
# quizás un poco cacofónico lo de claúsula inconclusa - ngp # quizás un poco cacofónico lo de claúsula inconclusa - ngp
# #
#: src/reader.c:1226 #: src/reader.c:1227
#, fuzzy, c-format #, fuzzy, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "cláusula %%guard sin terminar" msgstr "cláusula %%guard sin terminar"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "regla mal formada: el símbolo inicial no está seguido por :" msgstr "regla mal formada: el símbolo inicial no está seguido por :"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "la gramática comienza con una barra vertical" msgstr "la gramática comienza con una barra vertical"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "se ha dado una regla para %s, que es un terminal" msgstr "se ha dado una regla para %s, que es un terminal"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "" msgstr "a la regla previa le falta un `;' al final"
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "dos @prec en una línea" msgstr "dos @prec en una línea"
# Insisto, el empleo de participios a secas me parece como hablar en # Insisto, el empleo de participios a secas me parece como hablar en
# indio. Por favor, permíteme que añada un "está" :) - cll # indio. Por favor, permíteme que añada un "está" :) - cll
# ok - ngp # ok - ngp
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard presente pero %%semantic_parser está sin especificar" msgstr "%%guard presente pero %%semantic_parser está sin especificar"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "dos acciones al final de una regla" msgstr "dos acciones al final de una regla"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "los tipos (`%s' `%s') no concuerdan en la acción por defecto" msgstr "los tipos (`%s' `%s') no concuerdan en la acción por defecto"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "regla vacía para un no terminal con tipo y no hay ninguna acción" msgstr "regla vacía para un no terminal con tipo y no hay ninguna acción"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "entrada no válida: %s" msgstr "entrada no válida: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, fuzzy, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "demasiados símbolos (terminales y no terminales); máximo %s" msgstr "demasiados símbolos (terminales y no terminales); máximo %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "no hay reglas en la gramática de entrada" msgstr "no hay reglas en la gramática de entrada"
# `token' se debe traducir como `literal' - cll # `token' se debe traducir como `literal' - cll
# en terminología de compiladores token es más un terminal - ngp # en terminología de compiladores token es más un terminal - ngp
# #
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"se usa el símbolo %s, pero no está definido como terminal y no tiene reglas" "se usa el símbolo %s, pero no está definido como terminal y no tiene reglas"
#: src/reader.c:1770 #: src/reader.c:1775
#, fuzzy, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "los terminales %s y %s tienen asignados ambos el número %s" msgstr "los terminales %s y %s tienen asignados ambos el número %d"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "precedencias en conflicto entre %s y %s" msgstr "precedencias en conflicto entre %s y %s"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "conflicto de valores assoc para %s y %s" msgstr "conflicto de valores assoc para %s y %s"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "el símbolo de inicio (axioma) %s no está definido" msgstr "el símbolo de inicio (axioma) %s no está definido"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "el símbolo de inicio (axioma) %s es un terminal" msgstr "el símbolo de inicio (axioma) %s es un terminal"
#: src/reduce.c:409 #: src/reduce.c:409
#, fuzzy
msgid "Useless nonterminals:" msgid "Useless nonterminals:"
msgstr "" msgstr "No terminales sin uso:"
"No terminales sin uso:\n"
"\n"
#: src/reduce.c:422 #: src/reduce.c:422
#, fuzzy
msgid "Terminals which are not used:" msgid "Terminals which are not used:"
msgstr "" msgstr "Terminales que no se usan:"
"\n"
"\n"
"Terminales que no se usan:\n"
"\n"
#: src/reduce.c:433 #: src/reduce.c:433
#, fuzzy
msgid "Useless rules:" msgid "Useless rules:"
msgstr "" msgstr "Reglas sin uso:"
"\n"
"\n"
"Reglas sin uso:\n"
"\n"
#: src/reduce.c:503 #: src/reduce.c:503
#, fuzzy, c-format #, fuzzy, c-format
msgid "%d rule never reduced\n" msgid "%d rule never reduced\n"
msgid_plural "%d rules never reduced\n" msgid_plural "%d rules never reduced\n"
msgstr[0] "%d reglas que nunca se han reducido\n" msgstr[0] ""
"%d reglas que nunca se han reducido\n"
"%d reglas que nunca se han reducido\n"
msgstr[1] ""
"%d reglas que nunca se han reducido\n"
"%d reglas que nunca se han reducido\n"
#: src/reduce.c:511 #: src/reduce.c:511
#, fuzzy, c-format #, fuzzy, c-format
msgid "%d useless nonterminal" msgid "%d useless nonterminal"
msgid_plural "%d useless nonterminals" msgid_plural "%d useless nonterminals"
msgstr[0] "%d no terminales %s sin uso" msgstr[0] "No terminales sin uso:"
msgstr[1] "No terminales sin uso:"
#: src/reduce.c:517 #: src/reduce.c:517
msgid " and " msgid " and "
@@ -768,7 +758,8 @@ msgstr " y "
#, fuzzy, c-format #, fuzzy, c-format
msgid "%d useless rule" msgid "%d useless rule"
msgid_plural "%d useless rules" msgid_plural "%d useless rules"
msgstr[0] "%d regla%s sin uso" msgstr[0] "Reglas sin uso:"
msgstr[1] "Reglas sin uso:"
#: src/reduce.c:551 #: src/reduce.c:551
#, c-format #, c-format
@@ -796,13 +787,11 @@ msgstr "%s: la opci
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: la opción `%s' requiere un argumento\n" msgstr "%s: la opción `%s' requiere un argumento\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: opción `--%s' no reconocida\n" msgstr "%s: opción `--%s' no reconocida\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
@@ -825,7 +814,6 @@ msgstr "%s: opci
# haber opciones ilegales, digo yo, y no por eso las CPUs van # haber opciones ilegales, digo yo, y no por eso las CPUs van
# a la cárcel (como mucho se cuelgan, je, je, 0ff0 :-). sv # a la cárcel (como mucho se cuelgan, je, je, 0ff0 :-). sv
# #
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -839,53 +827,56 @@ msgstr "%s: opci
#: lib/getopt.c:804 #: lib/getopt.c:804
#, c-format #, c-format
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: opción -- %c inválida\n" msgstr "%s: opción -- %c no válida\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
msgstr "%s: la opción -- %c requiere un argumento\n" msgstr "%s: la opción -- %c requiere un argumento\n"
#: lib/getopt.c:881 #: lib/getopt.c:881
#, fuzzy, c-format #, c-format
msgid "%s: option `-W %s' is ambiguous\n" msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: la opción `%s' es ambigua\n" msgstr "%s: la opción `-W %s' es ambigua\n"
# Pongo esto como en otros .po. sv # Pongo esto como en otros .po. sv
#: lib/getopt.c:899 #: lib/getopt.c:899
#, fuzzy, c-format #, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: la opción `--%s' no admite ningún argumento\n" msgstr "%s: la opción `-W %s' no admite ningún argumento\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
#, fuzzy
msgid "memory exhausted" msgid "memory exhausted"
msgstr "%s: memoria agotada\n" msgstr "memoria agotada"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "" msgstr "`"
#: lib/quotearg.c:275 #: lib/quotearg.c:275
msgid "'" msgid "'"
msgstr "" msgstr "'"
#~ msgid "%d shift/reduce conflict%d shift/reduce conflicts"
#~ msgstr ""
#~ " %d conflictos desplazamiento/reducción %d conflictos desplazamiento/"
#~ "reducción"
#~ msgid "%d reduce/reduce conflict%d reduce/reduce conflicts"
#~ msgstr "%d conflictos reducción/reducción%d conflictos reducción/reducción"
#~ msgid ""
#~ "expected %d shift/reduce conflict\n"
#~ "expected %d shift/reduce conflicts\n"
#~ msgstr ""
#~ "se espera %d conflicto desplazamiento/reducción\n"
#~ "se experan %d conflictos desplazamiento/reducción\n"
#~ msgid "%d useless nonterminal%d useless nonterminals"
#~ msgstr "%d no terminal sin uso%d no terminales sin uso"
#~ msgid "%d useless rule%d useless rules"
#~ msgstr "%d regla sin uso%d reglas sin uso"
# ¿Por qué no lo pones en mayúsculas? Al fin y al cabo, eso es lo que # ¿Por qué no lo pones en mayúsculas? Al fin y al cabo, eso es lo que
# haces luego con "FDERIVES" que traduces como "FDERIVACIONES", ... - # haces luego con "FDERIVES" que traduces como "FDERIVACIONES", ... -
@@ -938,12 +929,6 @@ msgstr ""
#~ "\n" #~ "\n"
#~ "%s deriva\n" #~ "%s deriva\n"
#~ msgid " 1 shift/reduce conflict"
#~ msgstr " 1 conflicto desplazamiento/reducción"
#~ msgid " 1 reduce/reduce conflict"
#~ msgstr " 1 conflicto reducción/reducción"
#~ msgid "%s contains" #~ msgid "%s contains"
#~ msgstr "%s contiene" #~ msgstr "%s contiene"
+31 -68
View File
@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.33b\n" "Project-Id-Version: bison 1.33b\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-03-05 16:27+0200\n" "PO-Revision-Date: 2002-03-05 16:27+0200\n"
"Last-Translator: Toomas Soome <[email protected]>\n" "Last-Translator: Toomas Soome <[email protected]>\n"
"Language-Team: Estonian <[email protected]>\n" "Language-Team: Estonian <[email protected]>\n"
@@ -19,7 +19,7 @@ msgstr ""
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "liiga palju olekuid (maks %d)" msgstr "liiga palju olekuid (maks %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "Tundmatu süsteemi viga" msgstr "Tundmatu süsteemi viga"
@@ -71,8 +71,6 @@ msgstr[1] "%d redutseerimine/redutseerimine konflikti"
msgid "State %d contains " msgid "State %d contains "
msgstr "Olek %d sisaldab " msgstr "Olek %d sisaldab "
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "konfliktid: " msgstr "konfliktid: "
@@ -132,8 +130,6 @@ msgstr "faili `%s' ei saa avada"
msgid "cannot close file" msgid "cannot close file"
msgstr "faili ei õnnestu sulgeda" msgstr "faili ei õnnestu sulgeda"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison genereerib parsereid LALR(1) grammatikatele.\n" msgstr "GNU bison genereerib parsereid LALR(1) grammatikatele.\n"
@@ -204,8 +200,6 @@ msgstr ""
msgid "Report bugs to <[email protected]>.\n" msgid "Report bugs to <[email protected]>.\n"
msgstr "Teatage palun vigadest aadressil <[email protected]>.\n" msgstr "Teatage palun vigadest aadressil <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -353,7 +347,6 @@ msgstr " %-4s\tliigu olekule %d\n"
msgid "state %d" msgid "state %d"
msgstr "olek %d" msgstr "olek %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "Grammatika" msgstr "Grammatika"
@@ -371,7 +364,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "tühi" msgstr "tühi"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "Terminalid, koos reeglitega, kus nad ilmuvad" msgstr "Terminalid, koos reeglitega, kus nad ilmuvad"
@@ -388,20 +380,11 @@ msgstr " vasakul:"
msgid " on right:" msgid " on right:"
msgstr " paremal:" msgstr " paremal:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\tviga (mitteassotsiatiivne)" msgstr "%-4s\tviga (mitteassotsiatiivne)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -471,7 +454,7 @@ msgstr "s
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "sümbol %s on uuesti defineeritud" msgstr "sümbol %s on uuesti defineeritud"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "%s tüübi uuesti deklareerimine" msgstr "%s tüübi uuesti deklareerimine"
@@ -481,12 +464,12 @@ msgstr "%s t
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "`%s' ei ole %s sees lubatud" msgstr "`%s' ei ole %s sees lubatud"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "korduvad %s deklaratsioonid" msgstr "korduvad %s deklaratsioonid"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "vigane %s deklaratsioon" msgstr "vigane %s deklaratsioon"
@@ -515,126 +498,126 @@ msgstr "vigane tekst (%s) - number peab olema peale identifikaatorit"
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "ootamatu element: %s" msgstr "ootamatu element: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "puudub %s" msgstr "puudub %s"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "%%expect argument ei ole täisarv" msgstr "%%expect argument ei ole täisarv"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "tundmatu element %s, eeldasin identifikaatorit" msgstr "tundmatu element %s, eeldasin identifikaatorit"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "eeldasin %s asemel sõnekonstanti" msgstr "eeldasin %s asemel sõnekonstanti"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "tundmatu: %s" msgstr "tundmatu: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "sisendgrammatikat pole" msgstr "sisendgrammatikat pole"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "tundmatu sümbol: %s" msgstr "tundmatu sümbol: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "lõpetamata %guard klausel" msgstr "lõpetamata %guard klausel"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "vigaselt formeeritud reegel: algsümbolile ei järgne koolonit" msgstr "vigaselt formeeritud reegel: algsümbolile ei järgne koolonit"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "grammatika algab püstkriipsuga" msgstr "grammatika algab püstkriipsuga"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "%s jaoks on antud reegel, aga see on märk" msgstr "%s jaoks on antud reegel, aga see on märk"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "eelmisel reeglil puudub lõpetav `;'" msgstr "eelmisel reeglil puudub lõpetav `;'"
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "kaks @prec ühel real" msgstr "kaks @prec ühel real"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard on määratud, aga %%semantic_parser ei ole" msgstr "%%guard on määratud, aga %%semantic_parser ei ole"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "kaks tegevust ühe reegli lõpus" msgstr "kaks tegevust ühe reegli lõpus"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "vaikimisi tegevuse tüübikonflikt (`%s' `%s')" msgstr "vaikimisi tegevuse tüübikonflikt (`%s' `%s')"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "tüübiga mitteterminalil on tühi reegel ja puudub tegevus" msgstr "tüübiga mitteterminalil on tühi reegel ja puudub tegevus"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "vigane sisend: %s" msgstr "vigane sisend: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "liiga palju sümboleid (märgid ja mitteterminalid); maksimaalne on %d" msgstr "liiga palju sümboleid (märgid ja mitteterminalid); maksimaalne on %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "sisendgrammatikas pole reegleid" msgstr "sisendgrammatikas pole reegleid"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"kasutatakse sümbolit %s, mis ei ole defineeritud märgina ja millel puuduvad " "kasutatakse sümbolit %s, mis ei ole defineeritud märgina ja millel puuduvad "
"reeglid" "reeglid"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "märkidele %s ja %s on mõlemale omistatud number %d" msgstr "märkidele %s ja %s on mõlemale omistatud number %d"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "%s ja %s omavad konfliktseid prioriteete" msgstr "%s ja %s omavad konfliktseid prioriteete"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "%s ja %s omavad konfliktseid assotsiatiivseid väärtuseid" msgstr "%s ja %s omavad konfliktseid assotsiatiivseid väärtuseid"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "stardisümbol %s ei ole defineeritud" msgstr "stardisümbol %s ei ole defineeritud"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "stardisümbol %s on märk" msgstr "stardisümbol %s on märk"
@@ -701,19 +684,16 @@ msgstr "%s: v
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: võti `%s' nõuab argumenti\n" msgstr "%s: võti `%s' nõuab argumenti\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: tundmatu võti `--%s'\n" msgstr "%s: tundmatu võti `--%s'\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: tundmatu võti `%c%s'\n" msgstr "%s: tundmatu võti `%c%s'\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -724,7 +704,6 @@ msgstr "%s: lubamatu v
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: vigane võti -- %c\n" msgstr "%s: vigane võti -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -740,26 +719,10 @@ msgstr "%s: v
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: võti `-W %s' ei luba argumenti\n" msgstr "%s: võti `-W %s' ei luba argumenti\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "mälu on otsas" msgstr "mälu on otsas"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "`" msgstr "`"
+61 -98
View File
@@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GNU bison 1.33b\n" "Project-Id-Version: GNU bison 1.34a\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-03-12 16:49+0100\n" "PO-Revision-Date: 2002-03-21 15:00-0500\n"
"Last-Translator: Michel Robitaille <[email protected]>\n" "Last-Translator: Michel Robitaille <[email protected]>\n"
"Language-Team: French <[email protected]>\n" "Language-Team: French <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "nombre trop grand d'états (max %d)" msgstr "nombre trop grand d'états (max %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "Erreur système inconnue" msgstr "Erreur système inconnue"
@@ -73,8 +73,6 @@ msgstr[1] "%d conflits par r
msgid "State %d contains " msgid "State %d contains "
msgstr "L'état %d contient " msgstr "L'état %d contient "
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "conflits: " msgstr "conflits: "
@@ -128,14 +126,12 @@ msgstr " $d
#: src/files.c:151 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "ne peut ouvrir le fichier «%s»" msgstr "ne peut ouvrir le fichier « %s »"
#: src/files.c:170 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "ne peut fermer le fichier" msgstr "ne peut fermer le fichier"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison génère des analyseurs pour les grammaires de type LALR(1).\n" msgstr "GNU bison génère des analyseurs pour les grammaires de type LALR(1).\n"
@@ -183,7 +179,7 @@ msgstr ""
" de l'analyseur\n" " de l'analyseur\n"
" --locations permettre le calcul des localisations\n" " --locations permettre le calcul des localisations\n"
" -p, --name-prefix=PREFIXE accoler le PREFIXE aux symboles externes\n" " -p, --name-prefix=PREFIXE accoler le PREFIXE aux symboles externes\n"
" -l, --no-lines ne pas générer les directives «#line»\n" " -l, --no-lines ne pas générer les directives « #line »\n"
" -n, --no-parser générer les tables seulement\n" " -n, --no-parser générer les tables seulement\n"
" -r, --raw compter les jetons à partir de 3\n" " -r, --raw compter les jetons à partir de 3\n"
" -k, --token-table inclure la table des noms de jetons\n" " -k, --token-table inclure la table des noms de jetons\n"
@@ -210,8 +206,6 @@ msgstr ""
msgid "Report bugs to <[email protected]>.\n" msgid "Report bugs to <[email protected]>.\n"
msgstr "Rapporter toutes anomalies à <[email protected]>.\n" msgstr "Rapporter toutes anomalies à <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -237,12 +231,12 @@ msgstr ""
#: src/getargs.c:230 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "«%s» n'est plus supporté" msgstr %s » n'est plus supporté"
#: src/getargs.c:254 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "Pour en savoir davantage, faites: «%s --help'.\n" msgstr "Pour en savoir davantage, faites: « %s --help ».\n"
#: src/getargs.c:261 #: src/getargs.c:261
#, c-format #, c-format
@@ -252,16 +246,16 @@ msgstr "%s: grammaire manquante\n"
#: src/getargs.c:265 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: arguments supplémentaires ignorés après «%s»\n" msgstr "%s: arguments supplémentaires ignorés après « %s »\n"
#: src/lalr.c:256 #: src/lalr.c:256
#, c-format #, c-format
msgid "too many gotos (max %d)" msgid "too many gotos (max %d)"
msgstr "nombre trop grand de «goto» (Max %d)" msgstr "nombre trop grand de « goto » (Max %d)"
#: src/lex.c:76 #: src/lex.c:76
msgid "unexpected `/' found and ignored" msgid "unexpected `/' found and ignored"
msgstr /» inattendu et ignoré" msgstr / » inattendu et ignoré"
#: src/lex.c:105 src/reader.c:280 #: src/lex.c:105 src/reader.c:280
msgid "unterminated comment" msgid "unterminated comment"
@@ -278,17 +272,17 @@ msgstr "retour de chariot sans
#: src/lex.c:208 #: src/lex.c:208
#, c-format #, c-format
msgid "octal value outside range 0...255: `\\%o'" msgid "octal value outside range 0...255: `\\%o'"
msgstr "valeur octale à l'extérieur de l'intervalle 0...255: \\%o" msgstr "valeur octale à l'extérieur de l'intervalle 0...255: « \\%o »"
#: src/lex.c:233 #: src/lex.c:233
#, c-format #, c-format
msgid "hexadecimal value above 255: `\\x%x'" msgid "hexadecimal value above 255: `\\x%x'"
msgstr "valeur hexadécimale supérieure à 255: \\x%x" msgstr "valeur hexadécimale supérieure à 255: « \\x%x »"
#: src/lex.c:245 #: src/lex.c:245
#, c-format #, c-format
msgid "unknown escape sequence: `\\' followed by `%s'" msgid "unknown escape sequence: `\\' followed by `%s'"
msgstr "séquence d'échappement inconnue: «\\» suivie de «%s»" msgstr "séquence d'échappement inconnue: « \\ » suivie de « %s »"
#: src/lex.c:342 #: src/lex.c:342
msgid "unterminated type name at end of file" msgid "unterminated type name at end of file"
@@ -305,12 +299,12 @@ msgstr "utilisez \"...\" pour les terminaux lit
#: src/lex.c:678 #: src/lex.c:678
#, c-format #, c-format
msgid "`%s' supports no argument: %s" msgid "`%s' supports no argument: %s"
msgstr "«%s» ne supporte aucun argument: %s" msgstr %s » ne supporte aucun argument: %s"
#: src/lex.c:694 #: src/lex.c:694
#, c-format #, c-format
msgid "`%s' requires an argument" msgid "`%s' requires an argument"
msgstr "«%s»: requiert un argument" msgstr %s »: requiert un argument"
#: src/output.c:951 #: src/output.c:951
#, c-format #, c-format
@@ -360,7 +354,6 @@ msgstr " %-4s\taller
msgid "state %d" msgid "state %d"
msgstr "état %d" msgstr "état %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "Grammaire" msgstr "Grammaire"
@@ -378,7 +371,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "vide" msgstr "vide"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "Terminaux, suivis des règles où ils apparaissent" msgstr "Terminaux, suivis des règles où ils apparaissent"
@@ -395,20 +387,11 @@ msgstr "
msgid " on right:" msgid " on right:"
msgstr " à droite:" msgstr " à droite:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\terreur (non-associatif)" msgstr "%-4s\terreur (non-associatif)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -447,16 +430,16 @@ msgstr "%s n'est pas valide"
#: src/reader.c:392 #: src/reader.c:392
#, c-format #, c-format
msgid "$$ of `%s' has no declared type" msgid "$$ of `%s' has no declared type"
msgstr "$$ de «%s» n'a pas son type déclaré" msgstr "$$ de « %s » n'a pas son type déclaré"
#: src/reader.c:409 #: src/reader.c:409
#, c-format #, c-format
msgid "$%d of `%s' has no declared type" msgid "$%d of `%s' has no declared type"
msgstr "$%d de «%s» n'a pas de type déclaré" msgstr "$%d de « %s » n'a pas de type déclaré"
#: src/reader.c:463 #: src/reader.c:463
msgid "unterminated `%{' definition" msgid "unterminated `%{' definition"
msgstr "La section de définition (%{) ne termine pas avant la fin du fichier" msgstr "La section de définition « %{ » ne termine pas avant la fin du fichier"
#: src/reader.c:508 src/reader.c:623 src/reader.c:673 #: src/reader.c:508 src/reader.c:623 src/reader.c:673
#, c-format #, c-format
@@ -466,19 +449,19 @@ msgstr "Fin de fichier pr
#: src/reader.c:525 #: src/reader.c:525
#, c-format #, c-format
msgid "symbol `%s' used more than once as a literal string" msgid "symbol `%s' used more than once as a literal string"
msgstr "symbole «%s» utilisé plus d'une fois dans une chaîne litérale" msgstr "symbole « %s » utilisé plus d'une fois dans une chaîne litérale"
#: src/reader.c:528 #: src/reader.c:528
#, c-format #, c-format
msgid "symbol `%s' given more than one literal string" msgid "symbol `%s' given more than one literal string"
msgstr "symbole «%s» présent dans plus d'une chaîne litérale" msgstr "symbole « %s » présent dans plus d'une chaîne litérale"
#: src/reader.c:549 src/reader.c:692 #: src/reader.c:549 src/reader.c:692
#, c-format #, c-format
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "symbole %s redéfini" msgstr "symbole %s redéfini"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "redéclaration du type de %s" msgstr "redéclaration du type de %s"
@@ -486,14 +469,14 @@ msgstr "red
#: src/reader.c:568 #: src/reader.c:568
#, c-format #, c-format
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "«%s» n'est pas valide dans %s" msgstr %s » n'est pas valide dans %s"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "multiples déclarations %s" msgstr "multiples déclarations %s"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "la déclaration %s n'est pas valide" msgstr "la déclaration %s n'est pas valide"
@@ -523,126 +506,126 @@ msgstr ""
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "item inattendu: %s" msgstr "item inattendu: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "non appariement de %s" msgstr "non appariement de %s"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "l'argument de %%expect n'est pas un entier" msgstr "l'argument de %%expect n'est pas un entier"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "item %s non reconnu, un identificateur est attendu" msgstr "item %s non reconnu, un identificateur est attendu"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "chaîne de caractères constante attendue plutôt que %s" msgstr "chaîne de caractères constante attendue plutôt que %s"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "non reconnu: %s" msgstr "non reconnu: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "aucune grammaire en entrée" msgstr "aucune grammaire en entrée"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "caractère inconnu: %s" msgstr "caractère inconnu: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "clause %guard non terminée" msgstr "clause %guard non terminée"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "règle mal formée: le symbole initial n'est pas suivi de «:»" msgstr "règle mal formée: le symbole initial n'est pas suivi de « : »"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "la grammaire débute par une barre verticale" msgstr "la grammaire débute par une barre verticale"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "la règle pour %s, qui est un terminal" msgstr "la règle pour %s, qui est un terminal"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "règle précédente manque une terminaison «;»" msgstr "règle précédente manque une terminaison « ; »"
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "deux @prec de suite" msgstr "deux @prec de suite"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard est présent mais %%semantic_parser n'est pas spécifié" msgstr "%%guard est présent mais %%semantic_parser n'est pas spécifié"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "deux actions à la fin d'une même règle" msgstr "deux actions à la fin d'une même règle"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "conflit de type («%s» «%s») pour l'action par défaut" msgstr "conflit de type (« %s » « %s ») pour l'action par défaut"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "règle vide pour une catégorie typée et aucune action" msgstr "règle vide pour une catégorie typée et aucune action"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "entrée non valide: %s" msgstr "entrée non valide: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "trop de symboles (jeton plus non terminaux); maximum %d" msgstr "trop de symboles (jeton plus non terminaux); maximum %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "la grammaire n'a pas de règles" msgstr "la grammaire n'a pas de règles"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"le symbole %s est utilisé mais ce n'est pas un terminal et il ne possède pas " "le symbole %s est utilisé mais ce n'est pas un terminal et il ne possède pas "
"de règle" "de règle"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "les jetons %s et %s se sont vus assigner le nombre %d" msgstr "les jetons %s et %s se sont vus assigner le nombre %d"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "les priorités pour %s et %s entrent en conflit" msgstr "les priorités pour %s et %s entrent en conflit"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "les valeurs d'association de %s et %s entrent en conflit" msgstr "les valeurs d'association de %s et %s entrent en conflit"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "le symbole de départ %s n'est pas défini" msgstr "le symbole de départ %s n'est pas défini"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "le symbole de départ %s est un terminal" msgstr "le symbole de départ %s est un terminal"
@@ -697,31 +680,28 @@ msgstr "%s: l'option %s est ambig
#: lib/getopt.c:719 #: lib/getopt.c:719
#, c-format #, c-format
msgid "%s: option `--%s' doesn't allow an argument\n" msgid "%s: option `--%s' doesn't allow an argument\n"
msgstr "%s: l'option --%s n'admet pas d'argument\n" msgstr "%s: l'option « --%s » n'admet pas d'argument\n"
#: lib/getopt.c:724 #: lib/getopt.c:724
#, c-format #, c-format
msgid "%s: option `%c%s' doesn't allow an argument\n" msgid "%s: option `%c%s' doesn't allow an argument\n"
msgstr "%s: l'option %c%s n'admet pas d'argument\n" msgstr "%s: l'option « %c%s » n'admet pas d'argument\n"
#: lib/getopt.c:742 lib/getopt.c:915 #: lib/getopt.c:742 lib/getopt.c:915
#, c-format #, c-format
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: l'option %s requiert un argument\n" msgstr "%s: l'option « %s » requiert un argument\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: l'option --%s est inconnue\n" msgstr "%s: l'option « --%s » est inconnue\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: l'option %c%s est inconnue\n" msgstr "%s: l'option « %c%s » est inconnue\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -732,7 +712,6 @@ msgstr "%s: option ill
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: option non valide -- %c\n" msgstr "%s: option non valide -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -741,33 +720,17 @@ msgstr "%s: l'option requiert un argument -- %c\n"
#: lib/getopt.c:881 #: lib/getopt.c:881
#, c-format #, c-format
msgid "%s: option `-W %s' is ambiguous\n" msgid "%s: option `-W %s' is ambiguous\n"
msgstr "%s: l'option «-W %s» est ambiguë\n" msgstr "%s: l'option « -W %s » est ambiguë\n"
#: lib/getopt.c:899 #: lib/getopt.c:899
#, c-format #, c-format
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: l'option «-W %s» n'admet pas d'argument\n" msgstr "%s: l'option « -W %s » n'admet pas d'argument\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "mémoire épuisée" msgstr "mémoire épuisée"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "`" msgstr "`"
+31 -68
View File
@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.31\n" "Project-Id-Version: bison 1.31\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-01-23 14:16+0100\n" "PO-Revision-Date: 2002-01-23 14:16+0100\n"
"Last-Translator: Paolo Bonzini <[email protected]>\n" "Last-Translator: Paolo Bonzini <[email protected]>\n"
"Language-Team: Italian <[email protected]>\n" "Language-Team: Italian <[email protected]>\n"
@@ -19,7 +19,7 @@ msgstr ""
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "troppi stati (massimo %d)" msgstr "troppi stati (massimo %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "Errore di sistema sconosciuto" msgstr "Errore di sistema sconosciuto"
@@ -72,8 +72,6 @@ msgstr[1] "%d conflitti riduzione/riduzione"
msgid "State %d contains " msgid "State %d contains "
msgstr "Lo stato %d contiene" msgstr "Lo stato %d contiene"
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "conflitti: " msgstr "conflitti: "
@@ -133,8 +131,6 @@ msgstr "impossibile aprire il file `%s'"
msgid "cannot close file" msgid "cannot close file"
msgstr "impossibile chiudere il file `%s'" msgstr "impossibile chiudere il file `%s'"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison genera parser per grammatiche LALR(1).\n" msgstr "GNU bison genera parser per grammatiche LALR(1).\n"
@@ -205,8 +201,6 @@ msgstr ""
msgid "Report bugs to <[email protected]>.\n" msgid "Report bugs to <[email protected]>.\n"
msgstr "Segnalare eventuali bug a <[email protected]>.\n" msgstr "Segnalare eventuali bug a <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -356,7 +350,6 @@ msgstr " %-4s\tprosecuzione allo stato %d\n"
msgid "state %d" msgid "state %d"
msgstr "stato %d" msgstr "stato %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "Grammatica" msgstr "Grammatica"
@@ -374,7 +367,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "vuoto" msgstr "vuoto"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "Simboli terminali e regole in cui appaiono" msgstr "Simboli terminali e regole in cui appaiono"
@@ -391,20 +383,11 @@ msgstr " nel primo membro:"
msgid " on right:" msgid " on right:"
msgstr " nel secondo membro:" msgstr " nel secondo membro:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\terrore (non associativo)" msgstr "%-4s\terrore (non associativo)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -475,7 +458,7 @@ msgstr "il simbolo `%s' d
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "simbolo %s ridefinito" msgstr "simbolo %s ridefinito"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "tipo dichiarato due volte per %s" msgstr "tipo dichiarato due volte per %s"
@@ -485,12 +468,12 @@ msgstr "tipo dichiarato due volte per %s"
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "`%s' non è valido in %s" msgstr "`%s' non è valido in %s"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "dichiarazioni multiple per %s" msgstr "dichiarazioni multiple per %s"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "dichiarazione %s non valida" msgstr "dichiarazione %s non valida"
@@ -519,124 +502,124 @@ msgstr "testo non valido (%s) - il numero dovrebbe seguire l'identificatore"
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "elemento inatteso: %s" msgstr "elemento inatteso: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "%s non bilanciato" msgstr "%s non bilanciato"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "L'argomento di %%expect non è un intero" msgstr "L'argomento di %%expect non è un intero"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "elemento %s non riconosciuto, atteso un identificatore" msgstr "elemento %s non riconosciuto, atteso un identificatore"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "attesa una costante stringa invece di %s" msgstr "attesa una costante stringa invece di %s"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "non riconosciuto: %s" msgstr "non riconosciuto: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "nessuna grammatica di input" msgstr "nessuna grammatica di input"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "carattere sconosciuto: %s" msgstr "carattere sconosciuto: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "clausola %guard non terminata" msgstr "clausola %guard non terminata"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "regola malformata: simbolo iniziale non seguito da `:'" msgstr "regola malformata: simbolo iniziale non seguito da `:'"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "la grammatica comincia con un `|'" msgstr "la grammatica comincia con un `|'"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "fornita una regola per il token %s" msgstr "fornita una regola per il token %s"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "" msgstr ""
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "due @prec di seguito" msgstr "due @prec di seguito"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "trovato %%guard senza che sia specificato %%semantic_parser" msgstr "trovato %%guard senza che sia specificato %%semantic_parser"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "due azioni alla fine di una regola" msgstr "due azioni alla fine di una regola"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "conflitto di tipo (`%s' e `%s') nell'azione di default" msgstr "conflitto di tipo (`%s' e `%s') nell'azione di default"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "regola vuota e nessuna azione per un nonterminale con tipo" msgstr "regola vuota e nessuna azione per un nonterminale con tipo"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "input non valido: %s" msgstr "input non valido: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "troppi simboli (token e nonterminali); il massimo è %d" msgstr "troppi simboli (token e nonterminali); il massimo è %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "nessuna regola nella grammatica di input" msgstr "nessuna regola nella grammatica di input"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "usato il simbolo %s, ma non è un token e non ha regole" msgstr "usato il simbolo %s, ma non è un token e non ha regole"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "i token %s e %s hanno lo stesso numero %d" msgstr "i token %s e %s hanno lo stesso numero %d"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "precedenze in conflitto per %s und %s" msgstr "precedenze in conflitto per %s und %s"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "associatività in conflitto per %s e %s" msgstr "associatività in conflitto per %s e %s"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "simbolo iniziale %s non definito" msgstr "simbolo iniziale %s non definito"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "specificato il token %s come simbolo iniziale" msgstr "specificato il token %s come simbolo iniziale"
@@ -703,19 +686,16 @@ msgstr "%s: l'opzione `%c%s' non ammette argomenti\n"
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: l'opzione `%s' richiede un argomento\n" msgstr "%s: l'opzione `%s' richiede un argomento\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: opzione sconosciuta `--%s'\n" msgstr "%s: opzione sconosciuta `--%s'\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: opzione sconosciuta `%c%s'\n" msgstr "%s: opzione sconosciuta `%c%s'\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -726,7 +706,6 @@ msgstr "%s: opzione non valida -- %c\n"
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: opzione non valida -- %c\n" msgstr "%s: opzione non valida -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -742,26 +721,10 @@ msgstr "%s: l'opzione `-W %s'
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: l'opzione `-W %s' non ammette un argomento\n" msgstr "%s: l'opzione `-W %s' non ammette un argomento\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "memoria esaurita" msgstr "memoria esaurita"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "`" msgstr "`"
+33 -69
View File
@@ -5,20 +5,21 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GNU bison 1.30f\n" "Project-Id-Version: GNU bison 1.30f\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2001-12-10 15:59+0900\n" "PO-Revision-Date: 2002-03-20 09:44+0100\n"
"Last-Translator: Daisuke Yamashita <[email protected]>\n" "Last-Translator: Daisuke Yamashita <[email protected]>\n"
"Language-Team: Japanese <[email protected]>\n" "Language-Team: Japanese <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=EUC-JP\n" "Content-Type: text/plain; charset=EUC-JP\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: src/LR0.c:189 #: src/LR0.c:189
#, c-format #, c-format
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "状態が多すぎます (最大 %d)" msgstr "状態が多すぎます (最大 %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "不明なシステムエラー" msgstr "不明なシステムエラー"
@@ -68,8 +69,6 @@ msgstr[0] "%d
msgid "State %d contains " msgid "State %d contains "
msgstr "状態 %d が含むのは " msgstr "状態 %d が含むのは "
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "衝突: " msgstr "衝突: "
@@ -128,8 +127,6 @@ msgstr "
msgid "cannot close file" msgid "cannot close file"
msgstr "ファイルを閉じることができません" msgstr "ファイルを閉じることができません"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison は LALR(1) 文法の構文解析器を生成します。\n" msgstr "GNU bison は LALR(1) 文法の構文解析器を生成します。\n"
@@ -200,8 +197,6 @@ msgstr ""
msgid "Report bugs to <[email protected]>.\n" msgid "Report bugs to <[email protected]>.\n"
msgstr "バグレポートは <[email protected]> まで。\n" msgstr "バグレポートは <[email protected]> まで。\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -352,7 +347,6 @@ msgstr " %-4s\t
msgid "state %d" msgid "state %d"
msgstr "状態 %d" msgstr "状態 %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "文法" msgstr "文法"
@@ -370,7 +364,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "空" msgstr "空"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "出現位置の規則による終端" msgstr "出現位置の規則による終端"
@@ -387,20 +380,11 @@ msgstr "
msgid " on right:" msgid " on right:"
msgstr " 右辺:" msgstr " 右辺:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\tエラー (非結合)" msgstr "%-4s\tエラー (非結合)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -471,7 +455,7 @@ msgstr "
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "シンボル %s が再定義されました" msgstr "シンボル %s が再定義されました"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "%s の型が再定義されました" msgstr "%s の型が再定義されました"
@@ -481,12 +465,12 @@ msgstr "%s
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "`%s' は %s 内では不適切です" msgstr "`%s' は %s 内では不適切です"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "%s が複数個宣言されました" msgstr "%s が複数個宣言されました"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "%s の宣言が不適切です" msgstr "%s の宣言が不適切です"
@@ -515,126 +499,126 @@ msgstr "
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "予期せぬアイテム: %s" msgstr "予期せぬアイテム: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "対応のない %s です" msgstr "対応のない %s です"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "%%expect の引数が整数値ではありません" msgstr "%%expect の引数が整数値ではありません"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "認識できないアイテム %s、ここでは識別子が期待されます" msgstr "認識できないアイテム %s、ここでは識別子が期待されます"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "ここでは %s ではなく文字列定数が期待されます" msgstr "ここでは %s ではなく文字列定数が期待されます"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "認識できない: %s" msgstr "認識できない: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "文法の入力が無い" msgstr "文法の入力が無い"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "未知の文字: %s" msgstr "未知の文字: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "%guard 節が閉じられていません" msgstr "%guard 節が閉じられていません"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "邪悪な規則: 初期化シンボルにコロン (:) が続いていません" msgstr "邪悪な規則: 初期化シンボルにコロン (:) が続いていません"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "文法は縦棒 (|) で始めます" msgstr "文法は縦棒 (|) で始めます"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "%s に規則が与えられ、それはトークンとなります" msgstr "%s に規則が与えられ、それはトークンとなります"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "" msgstr ""
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "@prec のもの二つが同列になっています" msgstr "@prec のもの二つが同列になっています"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard がありますが %%semantic_parser が指定されていません" msgstr "%%guard がありますが %%semantic_parser が指定されていません"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "一つの規則の終りに二つの動作を指定しています" msgstr "一つの規則の終りに二つの動作を指定しています"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "初期状態の動作では型 (`%s' `%s') が衝突します" msgstr "初期状態の動作では型 (`%s' `%s') が衝突します"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "空の型付き非終端アイテム用規則であり、動作が起りません" msgstr "空の型付き非終端アイテム用規則であり、動作が起りません"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "不適切な入力: %s" msgstr "不適切な入力: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "シンボルが多すぎます (トークン + 非終端アイテム) -- 最大 %d" msgstr "シンボルが多すぎます (トークン + 非終端アイテム) -- 最大 %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "入力した文法に規則が定義されていません" msgstr "入力した文法に規則が定義されていません"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"シンボル %s が使われていますが、トークンとして定義されておらず、規則を持ちま" "シンボル %s が使われていますが、トークンとして定義されておらず、規則を持ちま"
"せん" "せん"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "トークン %s と %s の双方が番号 %d に割り当てられました" msgstr "トークン %s と %s の双方が番号 %d に割り当てられました"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "先行している %s と %s で競合が生じています" msgstr "先行している %s と %s で競合が生じています"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "非結合値 %s と %s で競合が生じています" msgstr "非結合値 %s と %s で競合が生じています"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "開始シンボル %s は定義されていません" msgstr "開始シンボル %s は定義されていません"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "開始シンボル %s はトークンです" msgstr "開始シンボル %s はトークンです"
@@ -698,19 +682,16 @@ msgstr "%s:
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: オプション `%s' は引数を要求します\n" msgstr "%s: オプション `%s' は引数を要求します\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: 認識できないオプション `--%s' です\n" msgstr "%s: 認識できないオプション `--%s' です\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: 認識できないオプション `%c%s' です\n" msgstr "%s: 認識できないオプション `%c%s' です\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -721,7 +702,6 @@ msgstr "%s:
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: 不適切なオプション -- %c\n" msgstr "%s: 不適切なオプション -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -737,26 +717,10 @@ msgstr "%s:
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: オプション `-W %s' は引数を許しません\n" msgstr "%s: オプション `-W %s' は引数を許しません\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "メモリを使い果たしました" msgstr "メモリを使い果たしました"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "`" msgstr "`"
+35 -73
View File
@@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.32\n" "Project-Id-Version: bison 1.34a\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-02-01 18:46+0000\n" "PO-Revision-Date: 2002-03-20 12:54+0100\n"
"Last-Translator: Tim Van Holder <[email protected]>\n" "Last-Translator: Tim Van Holder <[email protected]>\n"
"Language-Team: Dutch <[email protected]>\n" "Language-Team: Dutch <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "teveel staten (maximum is %d)" msgstr "teveel staten (maximum is %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "Onbekende systeemfout" msgstr "Onbekende systeemfout"
@@ -73,8 +73,6 @@ msgstr[1] "%d reductie/reductie conflicten"
msgid "State %d contains " msgid "State %d contains "
msgstr "Staat %d bevat" msgstr "Staat %d bevat"
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "conflicten: " msgstr "conflicten: "
@@ -135,8 +133,6 @@ msgid "cannot close file"
msgstr "kan bestand niet sluiten" msgstr "kan bestand niet sluiten"
# Dank U, Akim :-) # Dank U, Akim :-)
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison genereert parsers voor LALR(1) grammatica's.\n" msgstr "GNU bison genereert parsers voor LALR(1) grammatica's.\n"
@@ -214,8 +210,6 @@ msgstr ""
"Meld bugs aan <[email protected]>.\n" "Meld bugs aan <[email protected]>.\n"
"Meld fouten in de vertaling aan <[email protected]>.\n" "Meld fouten in de vertaling aan <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -365,7 +359,6 @@ msgstr " %-4s\tga naar staat %d\n"
msgid "state %d" msgid "state %d"
msgstr "staat %d" msgstr "staat %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "Grammatica" msgstr "Grammatica"
@@ -384,7 +377,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "leeg" msgstr "leeg"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "Eindsymbolen, met de regels waarin ze voorkomen" msgstr "Eindsymbolen, met de regels waarin ze voorkomen"
@@ -402,20 +394,11 @@ msgstr " links:"
msgid " on right:" msgid " on right:"
msgstr " rechts:" msgstr " rechts:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\tfout (niet associatief)" msgstr "%-4s\tfout (niet associatief)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -443,9 +426,8 @@ msgid "unterminated string"
msgstr "niet-beëindigde string" msgstr "niet-beëindigde string"
#: src/reader.c:339 #: src/reader.c:339
#, fuzzy
msgid "invalid @ value" msgid "invalid @ value"
msgstr "ongeldige $-waarde" msgstr "ongeldige @-waarde"
#: src/reader.c:352 src/reader.c:416 #: src/reader.c:352 src/reader.c:416
#, c-format #, c-format
@@ -486,7 +468,7 @@ msgstr "symbool `%s' krijgt meer dan
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "symbool %s opnieuw gedefinieerd" msgstr "symbool %s opnieuw gedefinieerd"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "type herdeclaratie voor %s" msgstr "type herdeclaratie voor %s"
@@ -496,12 +478,12 @@ msgstr "type herdeclaratie voor %s"
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "`%s' is ongeldig in %s" msgstr "`%s' is ongeldig in %s"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "meerdere %s declaraties" msgstr "meerdere %s declaraties"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "ongeldige %s declaratie" msgstr "ongeldige %s declaratie"
@@ -532,127 +514,127 @@ msgid "unexpected item: %s"
msgstr "onverwacht element: %s" msgstr "onverwacht element: %s"
# Lichtjes vrij vertaald; maar klinkt wel beter dan 'niet overeenkomstige x' # Lichtjes vrij vertaald; maar klinkt wel beter dan 'niet overeenkomstige x'
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "%s zonder tegenhanger" msgstr "%s zonder tegenhanger"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "argument van %%expect is geen geheel getal" msgstr "argument van %%expect is geen geheel getal"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "onbekend element %s; een naam werd verwacht" msgstr "onbekend element %s; een naam werd verwacht"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "in plaats van %s werd een stringconstante verwacht" msgstr "in plaats van %s werd een stringconstante verwacht"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "onbekend: %s" msgstr "onbekend: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "geen invoergrammatica" msgstr "geen invoergrammatica"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "onbekend karakter: %s" msgstr "onbekend karakter: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "niet-beëindigde %guard-clausule" msgstr "niet-beëindigde %guard-clausule"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "" msgstr ""
"slecht geformuleerde regel: beginsymbool wordt niet gevolgd door dubbele punt" "slecht geformuleerde regel: beginsymbool wordt niet gevolgd door dubbele punt"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "grammatica start met een verticale streep" msgstr "grammatica start met een verticale streep"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "regel opgegeven voor token (%s)" msgstr "regel opgegeven voor token (%s)"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "" msgstr "`;' ontbreekt aan het einde van de voorgaande regel"
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "twee @prec's na elkaar" msgstr "twee @prec's na elkaar"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard aanwezig maar %%semantic_parser niet opgegeven" msgstr "%%guard aanwezig maar %%semantic_parser niet opgegeven"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "twee akties aan het einde van één regel" msgstr "twee akties aan het einde van één regel"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "type-conflict (`%s' `%s') bij standaardaktie" msgstr "type-conflict (`%s' `%s') bij standaardaktie"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "lege regel voor niet-eindsymbool met type, en geen actie" msgstr "lege regel voor niet-eindsymbool met type, en geen actie"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "ongeldige invoer: %s" msgstr "ongeldige invoer: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "teveel symbolen (tokens plus niet-eindsymbolen); het maximum is %d" msgstr "teveel symbolen (tokens plus niet-eindsymbolen); het maximum is %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "invoergrammatica bevat geen regels" msgstr "invoergrammatica bevat geen regels"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"symbool %s wordt gebruikt, maar is niet gedefinieerd als een teken en heeft " "symbool %s wordt gebruikt, maar is niet gedefinieerd als een teken en heeft "
"geen regels" "geen regels"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "tokens %s en %s hebben beide nummer %d toegewezen gekregen" msgstr "tokens %s en %s hebben beide nummer %d toegewezen gekregen"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "voorrangen voor %s en %s geven conflicten" msgstr "voorrangen voor %s en %s geven conflicten"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "associativiteitswaarden voor %s en %s geven conflicten" msgstr "associativiteitswaarden voor %s en %s geven conflicten"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "het startsymbool %s is niet gedefinieerd" msgstr "het startsymbool %s is niet gedefinieerd"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "het startsymbool %s is een token" msgstr "het startsymbool %s is een token"
@@ -720,19 +702,16 @@ msgstr "%s: optie `%c%s' staat geen argument toe\n"
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: optie `%s' vereist een argument\n" msgstr "%s: optie `%s' vereist een argument\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: onbekende optie `--%s'\n" msgstr "%s: onbekende optie `--%s'\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: onbekende optie `%c%s'\n" msgstr "%s: onbekende optie `%c%s'\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -743,7 +722,6 @@ msgstr "%s: ongeldige optie -- %c\n"
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: ongeldige optie -- %c\n" msgstr "%s: ongeldige optie -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -759,26 +737,10 @@ msgstr "%s: optie `-W %s' is niet eenduidig\n"
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: optie `--%s' staat geen argument toe\n" msgstr "%s: optie `--%s' staat geen argument toe\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "geen geheugen meer beschikbaar" msgstr "geen geheugen meer beschikbaar"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "`" msgstr "`"
+34 -69
View File
@@ -5,20 +5,22 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.32\n" "Project-Id-Version: bison 1.32\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-01-25 12:19+0300\n" "PO-Revision-Date: 2002-03-20 09:44+0100\n"
"Last-Translator: Dmitry S. Sivachenko <[email protected]>\n" "Last-Translator: Dmitry S. Sivachenko <[email protected]>\n"
"Language-Team: Russian <[email protected]>\n" "Language-Team: Russian <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=koi8-r\n" "Content-Type: text/plain; charset=koi8-r\n"
"Content-Transfer-Encoding: 8-bit\n" "Content-Transfer-Encoding: 8-bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
#: src/LR0.c:189 #: src/LR0.c:189
#, c-format #, c-format
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)" msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ" msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ"
@@ -73,8 +75,6 @@ msgstr[2] "%d
msgid "State %d contains " msgid "State %d contains "
msgstr "óÏÓÔÏÑÎÉÅ %d ÓÏÄÅÒÖÉÔ " msgstr "óÏÓÔÏÑÎÉÅ %d ÓÏÄÅÒÖÉÔ "
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "ËÏÎÆÌÉËÔÙ: " msgstr "ËÏÎÆÌÉËÔÙ: "
@@ -135,8 +135,6 @@ msgstr "
msgid "cannot close file" msgid "cannot close file"
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ" msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison ÇÅÎÅÒÉÒÕÅÔ ÁÎÁÌÉÚÁÔÏÒÙ ÄÌÑ ÇÒÁÍÍÁÔÉË LALR(1).\n" msgstr "GNU bison ÇÅÎÅÒÉÒÕÅÔ ÁÎÁÌÉÚÁÔÏÒÙ ÄÌÑ ÇÒÁÍÍÁÔÉË LALR(1).\n"
@@ -209,8 +207,6 @@ msgstr ""
msgid "Report bugs to <[email protected]>.\n" msgid "Report bugs to <[email protected]>.\n"
msgstr "ïÛÉÂËÉ ÓÏÏÂÝÁÊÔÅ ÐÏ ÁÄÒÅÓÕ <[email protected]>.\n" msgstr "ïÛÉÂËÉ ÓÏÏÂÝÁÊÔÅ ÐÏ ÁÄÒÅÓÕ <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -361,7 +357,6 @@ msgstr " %-4s\t
msgid "state %d" msgid "state %d"
msgstr "ÓÏÓÔÏÑÎÉÅ %d" msgstr "ÓÏÓÔÏÑÎÉÅ %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "çÒÁÍÍÁÔÉËÁ" msgstr "çÒÁÍÍÁÔÉËÁ"
@@ -379,7 +374,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "ÐÕÓÔÏ" msgstr "ÐÕÓÔÏ"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "ôÅÒÍÉÎÁÌØÎÙÅ ÓÉÍ×ÏÌÙ Ó ÐÒÁ×ÉÌÁÍÉ, × ËÏÔÏÒÙÈ ÏÎÉ ÐÏÑ×ÌÑÀÔÓÑ" msgstr "ôÅÒÍÉÎÁÌØÎÙÅ ÓÉÍ×ÏÌÙ Ó ÐÒÁ×ÉÌÁÍÉ, × ËÏÔÏÒÙÈ ÏÎÉ ÐÏÑ×ÌÑÀÔÓÑ"
@@ -396,20 +390,11 @@ msgstr "
msgid " on right:" msgid " on right:"
msgstr " ÎÁÐÒÁ×Ï:" msgstr " ÎÁÐÒÁ×Ï:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\tÏÛÉÂËÁ (ÎÅÁÓÓÏÃÉÁÔÉ×ÎÁÑ)" msgstr "%-4s\tÏÛÉÂËÁ (ÎÅÁÓÓÏÃÉÁÔÉ×ÎÁÑ)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -480,7 +465,7 @@ msgstr ""
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÒÅÄÅÌÅÎÉÅ ÓÉÍ×ÏÌÁ %s" msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÒÅÄÅÌÅÎÉÅ ÓÉÍ×ÏÌÁ %s"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÉÓÁÎÉÅ ÔÉÐÁ ÄÌÑ %s" msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÉÓÁÎÉÅ ÔÉÐÁ ÄÌÑ %s"
@@ -490,12 +475,12 @@ msgstr "
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "`%s' ÎÅ×ÅÒÎÏ × %s" msgstr "`%s' ÎÅ×ÅÒÎÏ × %s"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "ÍÎÏÖÅÓÔ×ÅÎÎÏÅ ÏÐÉÓÁÎÉÅ %s" msgstr "ÍÎÏÖÅÓÔ×ÅÎÎÏÅ ÏÐÉÓÁÎÉÅ %s"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "ÎÅ×ÅÒÎÏÅ ÏÐÉÓÁÎÉÅ %s" msgstr "ÎÅ×ÅÒÎÏÅ ÏÐÉÓÁÎÉÅ %s"
@@ -524,125 +509,125 @@ msgstr "
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "ÎÅÏÖÉÄÁÎÎÙÊ ÜÌÅÍÅÎÔ: %s" msgstr "ÎÅÏÖÉÄÁÎÎÙÊ ÜÌÅÍÅÎÔ: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "ÎÅÐÁÒÎÁÑ %s" msgstr "ÎÅÐÁÒÎÁÑ %s"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "ÁÒÇÕÍÅÎÔ %%expect ÎÅ Ñ×ÌÑÅÔÓÑ ÃÅÌÙÍ ÞÉÓÌÏÍ" msgstr "ÁÒÇÕÍÅÎÔ %%expect ÎÅ Ñ×ÌÑÅÔÓÑ ÃÅÌÙÍ ÞÉÓÌÏÍ"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "ÎÅÒÁÓÐÏÚÎÁÎÎÙÊ ÜÌÅÍÅÎÔ %s, ÏÖÉÄÁÌÓÑ ÉÄÅÎÔÉÆÉËÁÔÏÒ" msgstr "ÎÅÒÁÓÐÏÚÎÁÎÎÙÊ ÜÌÅÍÅÎÔ %s, ÏÖÉÄÁÌÓÑ ÉÄÅÎÔÉÆÉËÁÔÏÒ"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "×ÍÅÓÔÏ %s ÏÖÉÄÁÌÁÓØ ÓÔÒÏËÏ×ÁÑ ÐÏÓÔÏÑÎÎÁÑ" msgstr "×ÍÅÓÔÏ %s ÏÖÉÄÁÌÁÓØ ÓÔÒÏËÏ×ÁÑ ÐÏÓÔÏÑÎÎÁÑ"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "ÎÅÒÁÓÐÏÚÎÁÎÏ: %s" msgstr "ÎÅÒÁÓÐÏÚÎÁÎÏ: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "ÎÅÔ ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÉ" msgstr "ÎÅÔ ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÉ"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "ÎÅÉÚ×ÅÓÔÎÙÊ ÓÉÍ×ÏÌ: %s" msgstr "ÎÅÉÚ×ÅÓÔÎÙÊ ÓÉÍ×ÏÌ: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "ÎÅÚÁËÏÎÞÅÎÎÙÊ ÏÐÅÒÁÔÏÒ %guard" msgstr "ÎÅÚÁËÏÎÞÅÎÎÙÊ ÏÐÅÒÁÔÏÒ %guard"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "ÎÅ×ÅÒÎÏÅ ÐÒÁ×ÉÌÏ: Ä×ÏÅÔÏÞÉÅ ÎÅ ÓÌÅÄÕÅÔ ÚÁ ÎÁÞÁÌØÎÙÍ ÓÉÍ×ÏÌÏÍ" msgstr "ÎÅ×ÅÒÎÏÅ ÐÒÁ×ÉÌÏ: Ä×ÏÅÔÏÞÉÅ ÎÅ ÓÌÅÄÕÅÔ ÚÁ ÎÁÞÁÌØÎÙÍ ÓÉÍ×ÏÌÏÍ"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "ÇÒÁÍÍÁÔÉËÁ ÎÁÞÉÎÁÅÔÓÑ Ó ×ÅÒÔÉËÁÌØÎÏÊ ÞÅÒÔÙ" msgstr "ÇÒÁÍÍÁÔÉËÁ ÎÁÞÉÎÁÅÔÓÑ Ó ×ÅÒÔÉËÁÌØÎÏÊ ÞÅÒÔÙ"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "ÐÒÁ×ÉÌÏ ÚÁÄÁÎÏ ÄÌÑ %s, ËÏÔÏÒÙÊ Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ" msgstr "ÐÒÁ×ÉÌÏ ÚÁÄÁÎÏ ÄÌÑ %s, ËÏÔÏÒÙÊ Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "" msgstr ""
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "Ä×Á @prec ÐÏÄÒÑÄ" msgstr "Ä×Á @prec ÐÏÄÒÑÄ"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard ÐÒÉÓÕÔÓÔ×ÕÅÔ, Á %%semantic_parser ÎÅ ÚÁÄÁÎ" msgstr "%%guard ÐÒÉÓÕÔÓÔ×ÕÅÔ, Á %%semantic_parser ÎÅ ÚÁÄÁÎ"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "Ä×Á ÄÅÊÓÔ×ÉÑ × ËÏÎÃÅ ÏÄÎÏÇÏ ÐÒÁ×ÉÌÁ" msgstr "Ä×Á ÄÅÊÓÔ×ÉÑ × ËÏÎÃÅ ÏÄÎÏÇÏ ÐÒÁ×ÉÌÁ"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "ËÏÎÆÌÉËÔ ÔÉÐÏ× (`%s' `%s') ÎÁ ÄÅÊÓÔ×ÉÉ ÐÏ ÕÍÏÌÞÁÎÉÀ" msgstr "ËÏÎÆÌÉËÔ ÔÉÐÏ× (`%s' `%s') ÎÁ ÄÅÊÓÔ×ÉÉ ÐÏ ÕÍÏÌÞÁÎÉÀ"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "" msgstr ""
"ÐÕÓÔÏÅ ÐÒÁ×ÉÌÏ ÄÌÑ ÔÉÐÉÚÉÒÏ×ÁÎÎÏÇÏ ÎÅÔÅÒÍÉÎÁÌØÎÏÇÏ ÓÉÍ×ÏÌÁ, É ÎÅÔ ÄÅÊÓÔ×ÉÑ" "ÐÕÓÔÏÅ ÐÒÁ×ÉÌÏ ÄÌÑ ÔÉÐÉÚÉÒÏ×ÁÎÎÏÇÏ ÎÅÔÅÒÍÉÎÁÌØÎÏÇÏ ÓÉÍ×ÏÌÁ, É ÎÅÔ ÄÅÊÓÔ×ÉÑ"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "ÎÅ×ÅÒÎÙÅ ×ÈÏÄÎÙÅ ÄÁÎÎÙÅ: %s" msgstr "ÎÅ×ÅÒÎÙÅ ×ÈÏÄÎÙÅ ÄÁÎÎÙÅ: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÉÍ×ÏÌÏ× (ÌÅËÓÅÍÙ ÐÌÀÓ ÎÅÔÅÒÍÉÎÁÌÙ); ÍÁËÓÉÍÁÌØÎÏ %d" msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÉÍ×ÏÌÏ× (ÌÅËÓÅÍÙ ÐÌÀÓ ÎÅÔÅÒÍÉÎÁÌÙ); ÍÁËÓÉÍÁÌØÎÏ %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "ÏÔÓÕÔÓÔ×ÕÀÔ ÐÒÁ×ÉÌÁ ×Ï ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÅ" msgstr "ÏÔÓÕÔÓÔ×ÕÀÔ ÐÒÁ×ÉÌÁ ×Ï ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÅ"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "ÓÉÍ×ÏÌ %s ÉÓÐÏÌØÚÕÅÔÓÑ, ÎÏ ÎÅ ÏÐÒÅÄÅÌÅÎ ËÁË ÌÅËÓÅÍÁ É ÎÅ ÉÍÅÅÔ ÐÒÁ×ÉÌ" msgstr "ÓÉÍ×ÏÌ %s ÉÓÐÏÌØÚÕÅÔÓÑ, ÎÏ ÎÅ ÏÐÒÅÄÅÌÅÎ ËÁË ÌÅËÓÅÍÁ É ÎÅ ÉÍÅÅÔ ÐÒÁ×ÉÌ"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "ÏÂÅÉÍ ÌÅËÓÅÍÁÍ %s É %s ÐÒÉÓ×ÏÅÎ ÎÏÍÅÒ %d" msgstr "ÏÂÅÉÍ ÌÅËÓÅÍÁÍ %s É %s ÐÒÉÓ×ÏÅÎ ÎÏÍÅÒ %d"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÐÒÉÏÒÉÔÅÔÙ ÄÌÑ %s É %s" msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÐÒÉÏÒÉÔÅÔÙ ÄÌÑ %s É %s"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÚÎÁÞÅÎÉÑ ÁÓÓÏÃÉÁÔÉ×ÎÏÓÔÉ ÄÌÑ %s É %s" msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÚÎÁÞÅÎÉÑ ÁÓÓÏÃÉÁÔÉ×ÎÏÓÔÉ ÄÌÑ %s É %s"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s ÎÅÏÐÒÅÄÅÌÅÎ" msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s ÎÅÏÐÒÅÄÅÌÅÎ"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ" msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ"
@@ -712,19 +697,16 @@ msgstr "%s:
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n" msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `--%s'\n" msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `--%s'\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `%c%s'\n" msgstr "%s: ÎÅÉÚ×ÅÓÔÎÙÊ ËÌÀÞ `%c%s'\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -735,7 +717,6 @@ msgstr "%s:
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: ÎÅ×ÅÒÎÙÊ ËÌÀÞ -- %c\n" msgstr "%s: ÎÅ×ÅÒÎÙÊ ËÌÀÞ -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -751,26 +732,10 @@ msgstr "%s:
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n" msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ" msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "`" msgstr "`"
+31 -68
View File
@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.33b\n" "Project-Id-Version: bison 1.33b\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-03-05 10:18+0100\n" "PO-Revision-Date: 2002-03-05 10:18+0100\n"
"Last-Translator: Göran Uddeborg <[email protected]>\n" "Last-Translator: Göran Uddeborg <[email protected]>\n"
"Language-Team: Swedish <[email protected]>\n" "Language-Team: Swedish <[email protected]>\n"
@@ -20,7 +20,7 @@ msgstr ""
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "för många tillstånd (max %d)" msgstr "för många tillstånd (max %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "Okänt systemfel" msgstr "Okänt systemfel"
@@ -73,8 +73,6 @@ msgstr[1] "%d reducera/reducerakonflikter"
msgid "State %d contains " msgid "State %d contains "
msgstr "Tillstånd %d innehåller " msgstr "Tillstånd %d innehåller "
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "konflikter: " msgstr "konflikter: "
@@ -134,8 +132,6 @@ msgstr "kan inte
msgid "cannot close file" msgid "cannot close file"
msgstr "kan inte stänga fil" msgstr "kan inte stänga fil"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison genererar parsrar för LALR(1)-grammatiker.\n" msgstr "GNU bison genererar parsrar för LALR(1)-grammatiker.\n"
@@ -209,8 +205,6 @@ msgstr ""
"Rapportera fel till <[email protected]>.\n" "Rapportera fel till <[email protected]>.\n"
"Rapportera synpunkter på översättningen till <[email protected]>.\n" "Rapportera synpunkter på översättningen till <[email protected]>.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -359,7 +353,6 @@ msgstr " %-4s\tg
msgid "state %d" msgid "state %d"
msgstr "tillstånd %d" msgstr "tillstånd %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "Grammatik" msgstr "Grammatik"
@@ -377,7 +370,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "tom" msgstr "tom"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "Terminaler, med regler där de förekommer" msgstr "Terminaler, med regler där de förekommer"
@@ -394,20 +386,11 @@ msgstr " till v
msgid " on right:" msgid " on right:"
msgstr " till höger:" msgstr " till höger:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\tfel (ickeassociativ)" msgstr "%-4s\tfel (ickeassociativ)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -477,7 +460,7 @@ msgstr "symbolen \"%s\" har f
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "symbolen %s omdefinierad" msgstr "symbolen %s omdefinierad"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "typen omdeklarerad för %s" msgstr "typen omdeklarerad för %s"
@@ -487,12 +470,12 @@ msgstr "typen omdeklarerad f
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "\"%s\" är felaktig i %s" msgstr "\"%s\" är felaktig i %s"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "flera %s-deklarationer" msgstr "flera %s-deklarationer"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "felaktig %s-deklaration" msgstr "felaktig %s-deklaration"
@@ -521,126 +504,126 @@ msgstr "felaktig text (%s) - tal skulle f
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "oväntat objekt: %s" msgstr "oväntat objekt: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "ensam %s" msgstr "ensam %s"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "argument till %%expect är inte ett heltal" msgstr "argument till %%expect är inte ett heltal"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "oväntat objekt %s, förväntade en identifierare" msgstr "oväntat objekt %s, förväntade en identifierare"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "förväntade strängkonstant istället för %s" msgstr "förväntade strängkonstant istället för %s"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "okänt: %s" msgstr "okänt: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "ingen ingrammatik" msgstr "ingen ingrammatik"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "okänt tecken: %s" msgstr "okänt tecken: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "oavlutad %guard-sats" msgstr "oavlutad %guard-sats"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "felskriven regel: första symbolen följs inte av ett kolon" msgstr "felskriven regel: första symbolen följs inte av ett kolon"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "grammatiken startar med ett vertikalt streck" msgstr "grammatiken startar med ett vertikalt streck"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "regel given för %s, som är ett element" msgstr "regel given för %s, som är ett element"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "föregående regel saknar ett avslutande \";\"" msgstr "föregående regel saknar ett avslutande \";\""
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "två @prec i rad" msgstr "två @prec i rad"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard finns men %%semantic_parser är inte angiven" msgstr "%%guard finns men %%semantic_parser är inte angiven"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "två åtgärder vid slutet av en regel" msgstr "två åtgärder vid slutet av en regel"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "typkonflikt (\"%s\" \"%s\") för standardåtgärd" msgstr "typkonflikt (\"%s\" \"%s\") för standardåtgärd"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "tom regel för typad icketerminal, och ingen åtgärd" msgstr "tom regel för typad icketerminal, och ingen åtgärd"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "felaktig indata: %s" msgstr "felaktig indata: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "för många symboler (element plus icketerminaler); max %d" msgstr "för många symboler (element plus icketerminaler); max %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "inga regler i ingrammatiken" msgstr "inga regler i ingrammatiken"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"symbolen %s används, men är inte definierad som ett element och har inga " "symbolen %s används, men är inte definierad som ett element och har inga "
"regler" "regler"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "elementen %s och %s har båda fått nummer %d" msgstr "elementen %s och %s har båda fått nummer %d"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "motstridiga precedenser mellan %s och %s" msgstr "motstridiga precedenser mellan %s och %s"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "motstridiga assoc-värden mellan %s och %s" msgstr "motstridiga assoc-värden mellan %s och %s"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "startsymbolen %s är odefinierad" msgstr "startsymbolen %s är odefinierad"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "startsymbolen %s är ett element" msgstr "startsymbolen %s är ett element"
@@ -707,19 +690,16 @@ msgstr "%s: flaggan \"%c%s\" tar inget argument\n"
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: flaggan \"%s\" behöver ett argument\n" msgstr "%s: flaggan \"%s\" behöver ett argument\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: okänd flagga \"--%s\"\n" msgstr "%s: okänd flagga \"--%s\"\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: okänd flagga \"%c%s\"\n" msgstr "%s: okänd flagga \"%c%s\"\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -730,7 +710,6 @@ msgstr "%s: otill
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: ogiltig flagga --%c\n" msgstr "%s: ogiltig flagga --%c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -746,8 +725,6 @@ msgstr "%s: flaggan \"-W %s\"
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: flaggan \"-W %s\" tar inget argument\n" msgstr "%s: flaggan \"-W %s\" tar inget argument\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "minnet slut" msgstr "minnet slut"
@@ -755,20 +732,6 @@ msgstr "minnet slut"
# När vi går över till Unicode mer allmänt kanske vi bör översätta båda dessa # När vi går över till Unicode mer allmänt kanske vi bör översätta båda dessa
# med U+201D (RIGHT DOUBLE QUOTATION MARK) på svenska. Eller? # med U+201D (RIGHT DOUBLE QUOTATION MARK) på svenska. Eller?
# #
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "\"" msgstr "\""
+38 -75
View File
@@ -4,23 +4,23 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.33b\n" "Project-Id-Version: bison 1.34\n"
"POT-Creation-Date: 2002-03-04 19:13+0100\n" "POT-Creation-Date: 2002-03-20 09:33+0100\n"
"PO-Revision-Date: 2002-03-05 14:30GMT +02:00\n" "PO-Revision-Date: 2002-03-14 11:03GMT +02:00\n"
"Last-Translator: Altuð Bayram <[email protected]>\n" "Last-Translator: Altuð Bayram <[email protected]>\n"
"Language-Team: Turkish <[email protected]>\n" "Language-Team: Turkish <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-9\n" "Content-Type: text/plain; charset=ISO-8859-9\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: KBabel 0.9.5\n" "X-Generator: KBabel 0.9.5\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: src/LR0.c:189 #: src/LR0.c:189
#, c-format #, c-format
msgid "too many states (max %d)" msgid "too many states (max %d)"
msgstr "çok fazla durum (en fazla %d)" msgstr "çok fazla durum (en fazla %d)"
#: lib/error.c:128 lib/error.c:156 src/complain.c:99 #: src/complain.c:99 lib/error.c:128 lib/error.c:156
msgid "Unknown system error" msgid "Unknown system error"
msgstr "Bilinmeyen sistem hatasý" msgstr "Bilinmeyen sistem hatasý"
@@ -56,7 +56,7 @@ msgstr "bir hata"
msgid "%d shift/reduce conflict" msgid "%d shift/reduce conflict"
msgid_plural "%d shift/reduce conflicts" msgid_plural "%d shift/reduce conflicts"
msgstr[0] "%d öteleme/indirgeme çeliþkisi" msgstr[0] "%d öteleme/indirgeme çeliþkisi"
msgstr[1] "" msgstr[1] "%d öteleme/indirgeme çeliþkisi"
#: src/conflicts.c:309 #: src/conflicts.c:309
msgid "and" msgid "and"
@@ -67,15 +67,13 @@ msgstr "ve"
msgid "%d reduce/reduce conflict" msgid "%d reduce/reduce conflict"
msgid_plural "%d reduce/reduce conflicts" msgid_plural "%d reduce/reduce conflicts"
msgstr[0] "%d indirgeme/indirgeme çeliþkisi" msgstr[0] "%d indirgeme/indirgeme çeliþkisi"
msgstr[1] "" msgstr[1] "%d indirgeme/indirgeme çeliþkisi"
#: src/conflicts.c:340 #: src/conflicts.c:340
#, c-format #, c-format
msgid "State %d contains " msgid "State %d contains "
msgstr "%d durumu içerir" msgstr "%d durumu içerir"
#. If invoked with `--yacc', use the output format specified by
#. POSIX.
#: src/conflicts.c:387 #: src/conflicts.c:387
msgid "conflicts: " msgid "conflicts: "
msgstr "çeliþkiler: " msgstr "çeliþkiler: "
@@ -135,8 +133,6 @@ msgstr "`%s' dosyas
msgid "cannot close file" msgid "cannot close file"
msgstr "dosya kapatýlamýyor" msgstr "dosya kapatýlamýyor"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:84 #: src/getargs.c:84
msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgid "GNU bison generates parsers for LALR(1) grammars.\n"
msgstr "GNU bison LALR(1) gramerler için ayrýþtýrýcýlar üretir.\n" msgstr "GNU bison LALR(1) gramerler için ayrýþtýrýcýlar üretir.\n"
@@ -211,8 +207,6 @@ msgstr ""
"Hatalarý <[email protected]>'a,\n" "Hatalarý <[email protected]>'a,\n"
"çeviri hatalarýný <[email protected]>'e bildir.\n" "çeviri hatalarýný <[email protected]>'e bildir.\n"
#. Some efforts were made to ease the translators' task, please
#. continue.
#: src/getargs.c:141 #: src/getargs.c:141
#, c-format #, c-format
msgid "bison (GNU Bison) %s" msgid "bison (GNU Bison) %s"
@@ -361,7 +355,6 @@ msgstr " %-4s\tdurum %d'ye git\n"
msgid "state %d" msgid "state %d"
msgstr "durum %d" msgstr "durum %d"
#. rule # : LHS -> RHS
#: src/print.c:211 #: src/print.c:211
msgid "Grammar" msgid "Grammar"
msgstr "Gramer" msgstr "Gramer"
@@ -379,7 +372,6 @@ msgstr " %3d %3d %s ->"
msgid "empty" msgid "empty"
msgstr "boþ" msgstr "boþ"
#. TERMINAL (type #) : rule #s terminal is on RHS
#: src/print.c:231 #: src/print.c:231
msgid "Terminals, with rules where they appear" msgid "Terminals, with rules where they appear"
msgstr "Sabit simgeler, kurallarýnýn bulunduklarý yerde" msgstr "Sabit simgeler, kurallarýnýn bulunduklarý yerde"
@@ -396,20 +388,11 @@ msgstr " solda:"
msgid " on right:" msgid " on right:"
msgstr " saðda:" msgstr " saðda:"
#. If something has been added in the NODE_OBSTACK after
#. the declaration of the label, then we need a `\n'.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:146 #: src/print_graph.c:146
#, c-format #, c-format
msgid "%-4s\terror (nonassociative)" msgid "%-4s\terror (nonassociative)"
msgstr "%-4s\thata (birleþmeli deðil)" msgstr "%-4s\thata (birleþmeli deðil)"
#.
#. if (obstack_object_size (node_obstack) > node_output_size)
#. obstack_sgrow (node_obstack, "\n");
#.
#: src/print_graph.c:161 #: src/print_graph.c:161
#, c-format #, c-format
msgid "$default\treduce using rule %d (%s)" msgid "$default\treduce using rule %d (%s)"
@@ -479,7 +462,7 @@ msgstr "simge `%s' bir harfiyen uyumlu dizgi gibi birden fazla verilmi
msgid "symbol %s redefined" msgid "symbol %s redefined"
msgstr "%s simgesi yeniden tanýmlandý" msgstr "%s simgesi yeniden tanýmlandý"
#: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1314 #: src/reader.c:559 src/reader.c:638 src/reader.c:699 src/reader.c:1315
#, c-format #, c-format
msgid "type redeclaration for %s" msgid "type redeclaration for %s"
msgstr "%s için yeniden tip bildirimi" msgstr "%s için yeniden tip bildirimi"
@@ -489,12 +472,12 @@ msgstr "%s i
msgid "`%s' is invalid in %s" msgid "`%s' is invalid in %s"
msgstr "`%s' %s içinde geçersizdir" msgstr "`%s' %s içinde geçersizdir"
#: src/reader.c:586 src/reader.c:751 #: src/reader.c:586 src/reader.c:752
#, c-format #, c-format
msgid "multiple %s declarations" msgid "multiple %s declarations"
msgstr "çoklu %s bildirimleri" msgstr "çoklu %s bildirimleri"
#: src/reader.c:588 src/reader.c:930 src/reader.c:955 src/reader.c:1292 #: src/reader.c:588 src/reader.c:931 src/reader.c:956 src/reader.c:1293
#, c-format #, c-format
msgid "invalid %s declaration" msgid "invalid %s declaration"
msgstr "geçersiz %s bildirimi" msgstr "geçersiz %s bildirimi"
@@ -523,126 +506,126 @@ msgstr "ge
msgid "unexpected item: %s" msgid "unexpected item: %s"
msgstr "beklenmeyen öðe: %s" msgstr "beklenmeyen öðe: %s"
#: src/reader.c:794 src/reader.c:1126 src/reader.c:1203 #: src/reader.c:795 src/reader.c:1127 src/reader.c:1204
#, c-format #, c-format
msgid "unmatched %s" msgid "unmatched %s"
msgstr "eþlenemeyen %s" msgstr "eþlenemeyen %s"
#: src/reader.c:826 #: src/reader.c:827
#, c-format #, c-format
msgid "argument of %%expect is not an integer" msgid "argument of %%expect is not an integer"
msgstr "%%expect'in argümaný bir tamsayý deðildir" msgstr "%%expect'in argümaný bir tamsayý deðildir"
#: src/reader.c:872 #: src/reader.c:873
#, c-format #, c-format
msgid "unrecognized item %s, expected an identifier" msgid "unrecognized item %s, expected an identifier"
msgstr "%s öðesi tanýnmadý, beklenen bir tanýtýcýdýr" msgstr "%s öðesi tanýnmadý, beklenen bir tanýtýcýdýr"
#: src/reader.c:894 #: src/reader.c:895
#, c-format #, c-format
msgid "expected string constant instead of %s" msgid "expected string constant instead of %s"
msgstr "%s'in yerine sabit dizge beklendi" msgstr "%s'in yerine sabit dizge beklendi"
#: src/reader.c:1042 #: src/reader.c:1043
#, c-format #, c-format
msgid "unrecognized: %s" msgid "unrecognized: %s"
msgstr "tanýnmayan: %s" msgstr "tanýnmayan: %s"
#: src/reader.c:1047 #: src/reader.c:1048
msgid "no input grammar" msgid "no input grammar"
msgstr "girdi grameri yok" msgstr "girdi grameri yok"
#: src/reader.c:1052 #: src/reader.c:1053
#, c-format #, c-format
msgid "unknown character: %s" msgid "unknown character: %s"
msgstr "bilinmeyen karakter: %s" msgstr "bilinmeyen karakter: %s"
#: src/reader.c:1226 #: src/reader.c:1227
#, c-format #, c-format
msgid "unterminated %guard clause" msgid "unterminated %guard clause"
msgstr "sonlandýrýlmamýþ %guard yantümcesi" msgstr "sonlandýrýlmamýþ %guard yantümcesi"
#: src/reader.c:1379 #: src/reader.c:1380
msgid "ill-formed rule: initial symbol not followed by colon" msgid "ill-formed rule: initial symbol not followed by colon"
msgstr "kötü-biçemli kural: baþlangýç simgesini takip eden \":\" yok" msgstr "kötü-biçemli kural: baþlangýç simgesini takip eden \":\" yok"
#: src/reader.c:1386 #: src/reader.c:1387
msgid "grammar starts with vertical bar" msgid "grammar starts with vertical bar"
msgstr "gramer düþey çubuk ile baþlýyor" msgstr "gramer düþey çubuk ile baþlýyor"
#: src/reader.c:1414 #: src/reader.c:1415
#, c-format #, c-format
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "bir andaç olan %s için verilen kural" msgstr "bir andaç olan %s için verilen kural"
#: src/reader.c:1444 src/reader.c:1556 #: src/reader.c:1445 src/reader.c:1557
msgid "previous rule lacks an ending `;'" msgid "previous rule lacks an ending `;'"
msgstr "önceki kuralda bir bitiþ `;' eksik" msgstr "önceki kuralda bir bitiþ `;' eksik"
#: src/reader.c:1517 #: src/reader.c:1518
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "bir satýrda iki @prec" msgstr "bir satýrda iki @prec"
#: src/reader.c:1525 #: src/reader.c:1526
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard sunulmuþ fakat %%semantic_parser belirlenmemiþ" msgstr "%%guard sunulmuþ fakat %%semantic_parser belirlenmemiþ"
#: src/reader.c:1534 #: src/reader.c:1535
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "bir kuralýn sonunda iki eylem" msgstr "bir kuralýn sonunda iki eylem"
#: src/reader.c:1548 #: src/reader.c:1549
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "öntanýmlý eylem üzerinde (`%s' `%s') tip çatýþmasý" msgstr "öntanýmlý eylem üzerinde (`%s' `%s') tip çatýþmasý"
#: src/reader.c:1554 #: src/reader.c:1555
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "" msgstr ""
"Tipli deðiþken simge için boþ kural tanýmlanmýþ, ve eylem belirtilmemiþ" "Tipli deðiþken simge için boþ kural tanýmlanmýþ, ve eylem belirtilmemiþ"
#: src/reader.c:1600 #: src/reader.c:1601
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "geçersiz girdi: %s" msgstr "geçersiz girdi: %s"
#: src/reader.c:1608 #: src/reader.c:1609
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "çok fazla simge var (andaçlar ve deðiþken simgeler); en fazla %d" msgstr "çok fazla simge var (andaçlar ve deðiþken simgeler); en fazla %d"
#: src/reader.c:1611 #: src/reader.c:1612
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "girdi grameri içinde kurallar yok" msgstr "girdi grameri içinde kurallar yok"
#: src/reader.c:1635 #: src/reader.c:1640
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"simge %s kullanýldý, fakat bir andaç olarak tanýmlanmadý ve kurallarý yok" "simge %s kullanýldý, fakat bir andaç olarak tanýmlanmadý ve kurallarý yok"
#: src/reader.c:1770 #: src/reader.c:1775
#, c-format #, c-format
msgid "tokens %s and %s both assigned number %d" msgid "tokens %s and %s both assigned number %d"
msgstr "%s ve %s andaçlarýnýn her ikisi %d sayýsýna atandý" msgstr "%s ve %s andaçlarýnýn her ikisi %d sayýsýna atandý"
#: src/reader.c:1823 #: src/reader.c:1828
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "%s ve %s için çeliþen öncelikler" msgstr "%s ve %s için çeliþen öncelikler"
#: src/reader.c:1835 #: src/reader.c:1840
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "%s ve %s için çeliþen birleþmeli deðerler" msgstr "%s ve %s için çeliþen birleþmeli deðerler"
#: src/reader.c:1874 #: src/reader.c:1879
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "baþlangýç simgesi %s tanýmlanmadý" msgstr "baþlangýç simgesi %s tanýmlanmadý"
#: src/reader.c:1876 #: src/reader.c:1881
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "baþlangýç simgesi %s bir andaçtýr" msgstr "baþlangýç simgesi %s bir andaçtýr"
@@ -671,7 +654,7 @@ msgstr[1] "%d kural asla indirgenmedi\n"
msgid "%d useless nonterminal" msgid "%d useless nonterminal"
msgid_plural "%d useless nonterminals" msgid_plural "%d useless nonterminals"
msgstr[0] "%d yararsýz deðiþken simge" msgstr[0] "%d yararsýz deðiþken simge"
msgstr[1] "" msgstr[1] "%d yararsýz deðiþken simge"
#: src/reduce.c:517 #: src/reduce.c:517
msgid " and " msgid " and "
@@ -682,7 +665,7 @@ msgstr " ve "
msgid "%d useless rule" msgid "%d useless rule"
msgid_plural "%d useless rules" msgid_plural "%d useless rules"
msgstr[0] "%d yararsýz kural" msgstr[0] "%d yararsýz kural"
msgstr[1] "" msgstr[1] "%d yararsýz kural"
#: src/reduce.c:551 #: src/reduce.c:551
#, c-format #, c-format
@@ -709,19 +692,16 @@ msgstr "%s: se
msgid "%s: option `%s' requires an argument\n" msgid "%s: option `%s' requires an argument\n"
msgstr "%s: `%s' seçeneði bir argümanla kullanýlýr\n" msgstr "%s: `%s' seçeneði bir argümanla kullanýlýr\n"
#. --option
#: lib/getopt.c:771 #: lib/getopt.c:771
#, c-format #, c-format
msgid "%s: unrecognized option `--%s'\n" msgid "%s: unrecognized option `--%s'\n"
msgstr "%s: `--%s' seçeneði bilinmiyor\n" msgstr "%s: `--%s' seçeneði bilinmiyor\n"
#. +option or -option
#: lib/getopt.c:775 #: lib/getopt.c:775
#, c-format #, c-format
msgid "%s: unrecognized option `%c%s'\n" msgid "%s: unrecognized option `%c%s'\n"
msgstr "%s: `%c%s' seçeneði bilinmiyor\n" msgstr "%s: `%c%s' seçeneði bilinmiyor\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:801 #: lib/getopt.c:801
#, c-format #, c-format
msgid "%s: illegal option -- %c\n" msgid "%s: illegal option -- %c\n"
@@ -732,7 +712,6 @@ msgstr "%s: kurald
msgid "%s: invalid option -- %c\n" msgid "%s: invalid option -- %c\n"
msgstr "%s: geçersiz seçenek -- %c\n" msgstr "%s: geçersiz seçenek -- %c\n"
#. 1003.2 specifies the format of this message.
#: lib/getopt.c:834 lib/getopt.c:964 #: lib/getopt.c:834 lib/getopt.c:964
#, c-format #, c-format
msgid "%s: option requires an argument -- %c\n" msgid "%s: option requires an argument -- %c\n"
@@ -748,26 +727,10 @@ msgstr "%s: `-W %s' se
msgid "%s: option `-W %s' doesn't allow an argument\n" msgid "%s: option `-W %s' doesn't allow an argument\n"
msgstr "%s: `-W %s' seçeneði argümansýz kullanýlýr\n" msgstr "%s: `-W %s' seçeneði argümansýz kullanýlýr\n"
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
#. before exiting when memory is exhausted. Goes through gettext.
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 #: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
msgid "memory exhausted" msgid "memory exhausted"
msgstr "bellek tükendi" msgstr "bellek tükendi"
#. Get translations for open and closing quotation marks.
#.
#. The message catalog should translate "`" to a left
#. quotation mark suitable for the locale, and similarly for
#. "'". If the catalog has no translation,
#. locale_quoting_style quotes `like this', and
#. clocale_quoting_style quotes "like this".
#.
#. For example, an American English Unicode locale should
#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and
#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION
#. MARK). A British English Unicode locale should instead
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
#: lib/quotearg.c:274 #: lib/quotearg.c:274
msgid "`" msgid "`"
msgstr "`" msgstr "`"
+12 -7
View File
@@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.5c from Makefile.am. # Makefile.in generated by automake 1.6 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -48,6 +48,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@@ -67,7 +68,6 @@ AMTAR = @AMTAR@
AUTOM4TE = @AUTOM4TE@ AUTOM4TE = @AUTOM4TE@
AWK = @AWK@ AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@ CATOBJEXT = @CATOBJEXT@
CC = @CC@ CC = @CC@
CPP = @CPP@ CPP = @CPP@
@@ -76,8 +76,8 @@ DEPDIR = @DEPDIR@
GCC = @GCC@ GCC = @GCC@
GENCAT = @GENCAT@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@ GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
HAVE_LIB = @HAVE_LIB@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@ INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@ INTLBISON = @INTLBISON@
@@ -86,10 +86,12 @@ INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIB = @LIB@ LIB = @LIB@
LIBICONV = @LIBICONV@ LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LTLIB = @LTLIB@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@ POSUB = @POSUB@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
STRIP = @STRIP@ STRIP = @STRIP@
@@ -203,6 +205,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
$(AUTOMAKE) --gnu src/Makefile $(AUTOMAKE) --gnu src/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
install-binPROGRAMS: $(bin_PROGRAMS) install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL) @$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(bindir) $(mkinstalldirs) $(DESTDIR)$(bindir)
@@ -210,9 +213,10 @@ install-binPROGRAMS: $(bin_PROGRAMS)
p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
if test -f $$p \ if test -f $$p \
; then \ ; then \
p1=`echo "$$p1" | sed -e 's,^.*/,,'`; \
f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p1|sed '$(transform);s/$$/$(EXEEXT)/'`; \
echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f"; \ echo " $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f"; \
$(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$f; \ $(INSTALL_PROGRAM_ENV) $(binPROGRAMS_INSTALL) $$p $(DESTDIR)$(bindir)/$$f; \
else :; fi; \ else :; fi; \
done done
@@ -220,6 +224,7 @@ uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; for p in $$list; do \ @list='$(bin_PROGRAMS)'; for p in $$list; do \
f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ f=`echo $$p|sed 's/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
f=`echo "$$f" | sed -e 's,^.*/,,'`; \
echo " rm -f $(DESTDIR)$(bindir)/$$f"; \ echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
rm -f $(DESTDIR)$(bindir)/$$f; \ rm -f $(DESTDIR)$(bindir)/$$f; \
done done
+36 -36
View File
@@ -66,6 +66,12 @@
# define YYSTACK_ALLOC malloc # define YYSTACK_ALLOC malloc
# define YYSTACK_FREE free # define YYSTACK_FREE free
# endif # endif
#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */
#if (! defined (yyoverflow) \
&& (! defined (__cplusplus) \
|| (YYLTYPE_IS_TRIVIAL && YYSTYPE_IS_TRIVIAL)))
/* A type that is properly aligned for any stack member. */ /* A type that is properly aligned for any stack member. */
union yyalloc union yyalloc
@@ -92,24 +98,41 @@ union yyalloc
+ YYSTACK_GAP_MAX) + YYSTACK_GAP_MAX)
# endif # endif
/* Relocate the TYPE STACK from its old location to the new one. The /* Copy COUNT objects from FROM to TO. The source and destination do
not overlap. */
# ifndef YYCOPY
# if 1 < __GNUC__
# define YYCOPY(To, From, Count) \
__builtin_memcpy (To, From, (Count) * sizeof (*(From)))
# else
# define YYCOPY(To, From, Count) \
do \
{ \
register YYSIZE_T yyi; \
for (yyi = 0; yyi < (Count); yyi++) \
(To)[yyi] = (From)[yyi]; \
} \
while (0)
# endif
# endif
/* Relocate STACK from its old location to the new one. The
local variables YYSIZE and YYSTACKSIZE give the old and new number of local variables YYSIZE and YYSTACKSIZE give the old and new number of
elements in the stack, and YYPTR gives the new location of the elements in the stack, and YYPTR gives the new location of the
stack. Advance YYPTR to a properly aligned location for the next stack. Advance YYPTR to a properly aligned location for the next
stack. */ stack. */
# define YYSTACK_RELOCATE(Type, Stack) \ # define YYSTACK_RELOCATE(Stack) \
do \ do \
{ \ { \
YYSIZE_T yynewbytes; \ YYSIZE_T yynewbytes; \
yymemcpy ((char *) yyptr, (char *) (Stack), \ YYCOPY (&yyptr->Stack, Stack, yysize); \
yysize * (YYSIZE_T) sizeof (Type)); \
Stack = &yyptr->Stack; \ Stack = &yyptr->Stack; \
yynewbytes = yystacksize * sizeof (Type) + YYSTACK_GAP_MAX; \ yynewbytes = yystacksize * sizeof (*Stack) + YYSTACK_GAP_MAX; \
yyptr += yynewbytes / sizeof (*yyptr); \ yyptr += yynewbytes / sizeof (*yyptr); \
} \ } \
while (0) while (0)
#endif /* ! defined (yyoverflow) || defined (YYERROR_VERBOSE) */ #endif
#if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__) #if ! defined (YYSIZE_T) && defined (__SIZE_TYPE__)
@@ -236,33 +259,6 @@ int yydebug;
# define YYMAXDEPTH 10000 # define YYMAXDEPTH 10000
#endif #endif
#if ! defined (yyoverflow) && ! defined (yymemcpy)
# if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
# define yymemcpy __builtin_memcpy
# else /* not GNU C or C++ */
/* This is the most reliable way to avoid incompatibilities
in available built-in functions on various systems. */
static void
# if defined (__STDC__) || defined (__cplusplus)
yymemcpy (char *yyto, const char *yyfrom, YYSIZE_T yycount)
# else
yymemcpy (yyto, yyfrom, yycount)
char *yyto;
const char *yyfrom;
YYSIZE_T yycount;
# endif
{
register const char *yyf = yyfrom;
register char *yyt = yyto;
register YYSIZE_T yyi = yycount;
while (yyi-- != 0)
*yyt++ = *yyf++;
}
# endif
#endif
#ifdef YYERROR_VERBOSE #ifdef YYERROR_VERBOSE
# ifndef yystrlen # ifndef yystrlen
@@ -504,6 +500,9 @@ yyparse (YYPARSE_PARAM_ARG)
yyvs = yyvs1; yyvs = yyvs1;
} }
#else /* no yyoverflow */ #else /* no yyoverflow */
# ifndef YYSTACK_RELOCATE
goto yyoverflowlab;
# else
/* Extend the stack our own way. */ /* Extend the stack our own way. */
if (yystacksize >= YYMAXDEPTH) if (yystacksize >= YYMAXDEPTH)
goto yyoverflowlab; goto yyoverflowlab;
@@ -517,15 +516,16 @@ yyparse (YYPARSE_PARAM_ARG)
(union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize)); (union yyalloc *) YYSTACK_ALLOC (YYSTACK_BYTES (yystacksize));
if (! yyptr) if (! yyptr)
goto yyoverflowlab; goto yyoverflowlab;
YYSTACK_RELOCATE (short, yyss); YYSTACK_RELOCATE (yyss);
YYSTACK_RELOCATE (YYSTYPE, yyvs); YYSTACK_RELOCATE (yyvs);
# if YYLSP_NEEDED # if YYLSP_NEEDED
YYSTACK_RELOCATE (YYLTYPE, yyls); YYSTACK_RELOCATE (yyls);
# endif # endif
# undef YYSTACK_RELOCATE # undef YYSTACK_RELOCATE
if (yyss1 != yyssa) if (yyss1 != yyssa)
YYSTACK_FREE (yyss1); YYSTACK_FREE (yyss1);
} }
# endif
#endif /* no yyoverflow */ #endif /* no yyoverflow */
yyssp = yyss + yysize - 1; yyssp = yyss + yysize - 1;
+1 -1
View File
@@ -38,7 +38,7 @@ static unsigned *lookaheadset = NULL;
static inline void static inline void
log_resolution (int state, int LAno, int token, char *resolution) log_resolution (int state, int LAno, int token, const char *resolution)
{ {
obstack_fgrow4 (&output_obstack, obstack_fgrow4 (&output_obstack,
_("\ _("\
+1 -1
View File
@@ -456,7 +456,7 @@ compute_output_file_names (void)
else else
parser_filename = stringappend (full_base_name, src_extension); parser_filename = stringappend (full_base_name, src_extension);
if (!strcmp (spec_defines_file, parser_filename)) if (!strcmp (spec_defines_file, parser_filename))
fatal ("header and parser would be both named %s", fatal ("header and parser would both be named %s",
quote (parser_filename)); quote (parser_filename));
} }
+8 -2
View File
@@ -745,6 +745,7 @@ typedef union";
const char *epilogue = "\ const char *epilogue = "\
yystype;\n\ yystype;\n\
# define YYSTYPE yystype\n\ # define YYSTYPE yystype\n\
# define YYSTYPE_IS_TRIVIAL 1\n\
#endif\n"; #endif\n";
if (typed) if (typed)
@@ -1617,12 +1618,16 @@ readgram (void)
/* We used to use `unsigned long' as YYSTYPE on MSDOS, /* We used to use `unsigned long' as YYSTYPE on MSDOS,
but it seems better to be consistent. but it seems better to be consistent.
Most programs should declare their own type anyway. */ Most programs should declare their own type anyway. */
obstack_sgrow (&attrs_obstack, obstack_sgrow (&attrs_obstack, "\
"#ifndef YYSTYPE\n#define YYSTYPE int\n#endif\n"); #ifndef YYSTYPE\n\
# define YYSTYPE int\n\
# define YYSTYPE_IS_TRIVIAL 1\n\
#endif\n");
if (defines_flag) if (defines_flag)
obstack_sgrow (&defines_obstack, "\ obstack_sgrow (&defines_obstack, "\
# ifndef YYSTYPE\n\ # ifndef YYSTYPE\n\
# define YYSTYPE int\n\ # define YYSTYPE int\n\
# define YYSTYPE_IS_TRIVIAL 1\n\
# endif\n"); # endif\n");
} }
@@ -2043,6 +2048,7 @@ typedef struct yyltype\n\
} yyltype;\n\ } yyltype;\n\
\n\ \n\
# define YYLTYPE yyltype\n\ # define YYLTYPE yyltype\n\
# define YYLTYPE_IS_TRIVIAL 1\n\
#endif\n\ #endif\n\
\n"); \n");
} }
+1 -1
View File
@@ -162,7 +162,7 @@ void *memrchr PARAMS ((const void *s, int c, size_t n));
# define setlocale(Category, Locale) # define setlocale(Category, Locale)
#endif #endif
#include "libgettext.h" #include "gettext.h"
#define _(Msgid) gettext (Msgid) #define _(Msgid) gettext (Msgid)
#define N_(Msgid) (Msgid) #define N_(Msgid) (Msgid)
+7 -5
View File
@@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.5c from Makefile.am. # Makefile.in generated by automake 1.6 from Makefile.am.
# @configure_input@ # @configure_input@
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
@@ -48,6 +48,7 @@ INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@ INSTALL_DATA = @INSTALL_DATA@
install_sh_DATA = $(install_sh) -c -m 644 install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_HEADER = $(INSTALL_DATA) INSTALL_HEADER = $(INSTALL_DATA)
transform = @program_transform_name@ transform = @program_transform_name@
@@ -67,7 +68,6 @@ AMTAR = @AMTAR@
AUTOM4TE = @AUTOM4TE@ AUTOM4TE = @AUTOM4TE@
AWK = @AWK@ AWK = @AWK@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@ BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@ CATOBJEXT = @CATOBJEXT@
CC = @CC@ CC = @CC@
CPP = @CPP@ CPP = @CPP@
@@ -76,8 +76,8 @@ DEPDIR = @DEPDIR@
GCC = @GCC@ GCC = @GCC@
GENCAT = @GENCAT@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@ GLIBC21 = @GLIBC21@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
HAVE_LIB = @HAVE_LIB@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTOBJEXT = @INSTOBJEXT@ INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@ INTLBISON = @INTLBISON@
@@ -86,10 +86,12 @@ INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
LIB = @LIB@ LIB = @LIB@
LIBICONV = @LIBICONV@ LIBICONV = @LIBICONV@
LIBINTL = @LIBINTL@
LTLIB = @LTLIB@
LTLIBICONV = @LTLIBICONV@
LTLIBINTL = @LTLIBINTL@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
POFILES = @POFILES@
POSUB = @POSUB@ POSUB = @POSUB@
RANLIB = @RANLIB@ RANLIB = @RANLIB@
STRIP = @STRIP@ STRIP = @STRIP@
+3 -3
View File
@@ -1,5 +1,5 @@
# Checking the output filenames. -*- Autotest -*- # Checking the output filenames. -*- Autotest -*-
# Copyright 2000, 2001 Free Software Foundation, Inc. # Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@@ -84,12 +84,12 @@ AT_CHECK_OUTPUT([foo.yy], [],
# Be sure to reject cases where the parser and the header would have # Be sure to reject cases where the parser and the header would have
# the same name. # the same name.
AT_SETUP([Clashing Output Files.]) AT_SETUP([Clashing Output Files])
AT_DATA([foo.y], AT_DATA([foo.y],
[[%% foo: {}; [[%% foo: {};
]]) ]])
AT_CHECK([bison -do foo.x foo.y], [1], [], AT_CHECK([bison -do foo.x foo.y], [1], [],
[foo.y:2: fatal error: header and parser would be both named `foo.x' [foo.y:2: fatal error: header and parser would both be named `foo.x'
]) ])
AT_CLEANUP AT_CLEANUP