mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-08-14 05:05:14 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2874a4e5d | ||
|
|
d54387b4bc | ||
|
|
a4c22fa4bf | ||
|
|
0d214b93b0 | ||
|
|
3c5d71ca8b | ||
|
|
d61c57b70c | ||
|
|
ea57e0a3c4 | ||
|
|
57c429f305 | ||
|
|
239e5c1a9a | ||
|
|
ae9b5e5a4f | ||
|
|
7ae1c5929e | ||
|
|
1d708336d4 | ||
|
|
705131d1de | ||
|
|
5c2a5a8970 | ||
|
|
6b784f8552 | ||
|
|
32a1edfccd | ||
|
|
63cf44e7ac | ||
|
|
9507085cf3 | ||
|
|
8d3c8c3643 | ||
|
|
16c9da79ef | ||
|
|
d0132d6bec | ||
|
|
1306676ce3 | ||
|
|
e18cda8b5e | ||
|
|
ddf896eb8e | ||
|
|
9aadbdf371 | ||
|
|
f1b769ff28 | ||
|
|
94ff2b9475 | ||
|
|
470d206b2e | ||
|
|
08f0a4e409 | ||
|
|
00fda01856 | ||
|
|
bf31619762 | ||
|
|
31a743b2bb | ||
|
|
48b43d9d83 | ||
|
|
4b9e71f993 | ||
|
|
16cd214585 | ||
|
|
f2c7ab2c1f | ||
|
|
2c377512c2 | ||
|
|
74c3b26d85 | ||
|
|
72ab1d45d2 | ||
|
|
d9302e4b73 | ||
|
|
f1394282f0 | ||
|
|
d8b1af2801 | ||
|
|
445cb4e989 | ||
|
|
f40703a29a | ||
|
|
e348b12ae0 | ||
|
|
ba6f6bf90f | ||
|
|
d9af6cc62f | ||
|
|
ab30845981 | ||
|
|
0b3870c112 | ||
|
|
e92a5d5bae | ||
|
|
02cbcfc577 | ||
|
|
8c67836b58 | ||
|
|
cae30a7df4 | ||
|
|
9fb2ad6738 | ||
|
|
8bce355d7c | ||
|
|
ae7c7ada67 |
@@ -164,124 +164,128 @@ 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 July
|
matrix shows the current state of internationalization, as of September
|
||||||
2001. The matrix shows, in regard of each package, for which languages
|
2001. 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
|
Ready PO files bg cs da de el en eo es et fi fr gl he hr id it ja
|
||||||
+-------------------------------------------------+
|
+----------------------------------------------------+
|
||||||
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 | |
|
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 | [] |
|
||||||
kbd | |
|
kbd | |
|
||||||
ld | |
|
ld | [] |
|
||||||
libc | [] [] [] [] [] [] [] [] |
|
libc | [] [] [] [] [] [] [] [] |
|
||||||
lilypond | |
|
lilypond | [] |
|
||||||
lynx | [] [] [] |
|
lynx | [] [] [] [] |
|
||||||
m4 | [] [] [] [] [] [] [] |
|
m4 | [] [] [] [] [] [] [] [] |
|
||||||
make | [] [] [] [] [] |
|
make | [] [] [] [] [] [] |
|
||||||
nano | [] [] |
|
mysecretdiary | [] |
|
||||||
opcodes | |
|
nano | [] [] [] |
|
||||||
parted | [] [] |
|
opcodes | |
|
||||||
ptx | [] [] [] [] [] [] [] |
|
parted | [] [] [] |
|
||||||
python | |
|
ptx | [] [] [] [] [] [] [] |
|
||||||
recode | [] [] [] [] [] [] [] [] [] |
|
python | |
|
||||||
sed | [] [] [] [] [] [] [] [] [] [] |
|
recode | [] [] [] [] [] [] [] [] [] |
|
||||||
sh-utils | [] [] [] [] [] [] [] [] [] |
|
sed | [] [] [] [] [] [] [] [] [] [] [] [] |
|
||||||
sharutils | [] [] [] [] [] [] [] |
|
sh-utils | [] [] [] [] [] [] [] [] [] [] |
|
||||||
soundtracker | [] |
|
sharutils | [] [] [] [] [] [] [] [] |
|
||||||
sp | |
|
sketch | |
|
||||||
tar | [] [] [] [] [] [] [] [] |
|
soundtracker | [] [] [] |
|
||||||
texinfo | [] [] [] [] [] |
|
sp | |
|
||||||
textutils | [] [] [] [] [] [] [] |
|
tar | [] [] [] [] [] [] [] [] |
|
||||||
util-linux | [] [] |
|
texinfo | [] [] [] [] [] [] |
|
||||||
wdiff | [] [] |
|
textutils | [] [] [] [] [] [] [] [] |
|
||||||
wget | [] [] [] [] [] [] [] [] [] |
|
util-linux | [] [] |
|
||||||
+-------------------------------------------------+
|
wdiff | [] [] [] |
|
||||||
bg cs da de el en eo es et fi fr gl he hr id it
|
wget | [] [] [] [] [] [] [] [] [] [] |
|
||||||
0 13 23 30 11 1 8 21 13 1 29 22 3 0 8 10
|
+----------------------------------------------------+
|
||||||
|
bg cs da de el en eo es et fi fr gl he hr id it ja
|
||||||
|
0 14 24 32 11 1 8 23 13 1 33 22 4 0 7 9 18
|
||||||
|
|
||||||
ja ko lv nl no pl pt pt_BR ru sk sl sv tr uk zh
|
ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh
|
||||||
+-------------------------------------------------+
|
+----------------------------------------------------+
|
||||||
a2ps | [] [] [] | 5
|
a2ps | [] [] [] | 6
|
||||||
bash | | 4
|
bash | | 4
|
||||||
bfd | | 0
|
bfd | | 0
|
||||||
binutils | | 0
|
binutils | | 1
|
||||||
bison | [] [] [] | 7
|
bison | [] | 6
|
||||||
clisp | [] | 5
|
clisp | [] | 5
|
||||||
cpio | [] [] [] [] [] | 10
|
cpio | [] [] [] [] [] | 10
|
||||||
diffutils | [] [] [] | 10
|
diffutils | [] [] [] [] | 11
|
||||||
enscript | [] [] [] | 5
|
enscript | [] [] [] | 5
|
||||||
error | [] | 3
|
error | [] [] | 4
|
||||||
fetchmail | | 0
|
fetchmail | | 0
|
||||||
fileutils | [] [] [] [] [] [] [] [] [] [] | 17
|
fileutils | [] [] [] [] [] [] [] [] [] | 17
|
||||||
findutils | [] [] [] [] [] [] [] [] | 16
|
findutils | [] [] [] [] [] [] [] [] | 16
|
||||||
flex | [] [] [] | 6
|
flex | [] [] [] | 6
|
||||||
freetype | | 0
|
freetype | | 0
|
||||||
gas | | 0
|
gas | | 0
|
||||||
gawk | [] | 2
|
gawk | [] | 3
|
||||||
gcal | | 0
|
gcal | | 0
|
||||||
gcc | | 0
|
gcc | | 0
|
||||||
gettext | [] [] [] [] [] [] [] [] [] | 18
|
gettext | [] [] [] [] [] [] [] [] | 18
|
||||||
gnupg | [] [] [] [] | 10
|
gnupg | [] [] [] | 10
|
||||||
gprof | | 0
|
gprof | | 0
|
||||||
grep | [] [] [] | 10
|
grep | [] [] [] [] | 12
|
||||||
hello | [] [] [] [] [] [] [] [] [] [] [] | 21
|
hello | [] [] [] [] [] [] [] [] [] [] [] | 22
|
||||||
id-utils | [] [] [] | 6
|
id-utils | [] [] [] | 6
|
||||||
indent | [] [] [] [] [] [] [] | 12
|
indent | [] [] [] [] [] [] [] | 12
|
||||||
jpilot | | 1
|
jpilot | | 1
|
||||||
kbd | [] | 1
|
kbd | [] | 1
|
||||||
ld | | 0
|
ld | | 1
|
||||||
libc | [] [] [] [] [] [] [] [] [] | 17
|
libc | [] [] [] [] [] [] [] [] | 16
|
||||||
lilypond | [] [] | 2
|
lilypond | [] [] | 3
|
||||||
lynx | [] [] [] [] [] | 8
|
lynx | [] [] [] [] | 8
|
||||||
m4 | [] [] [] [] [] | 12
|
m4 | [] [] [] [] | 12
|
||||||
make | [] [] [] [] [] [] [] | 12
|
make | [] [] [] [] [] [] | 12
|
||||||
nano | [] | 3
|
mysecretdiary | | 1
|
||||||
opcodes | | 0
|
nano | [] | 4
|
||||||
parted | [] [] [] | 5
|
opcodes | [] | 1
|
||||||
ptx | [] [] [] [] [] [] [] | 14
|
parted | [] [] | 5
|
||||||
python | | 0
|
ptx | [] [] [] [] [] [] [] [] | 15
|
||||||
recode | [] [] [] [] | 13
|
python | | 0
|
||||||
sed | [] [] [] [] [] [] [] [] | 18
|
recode | [] [] [] [] | 13
|
||||||
sh-utils | [] [] [] [] [] [] [] [] [] [] [] | 20
|
sed | [] [] [] [] [] [] [] | 19
|
||||||
sharutils | [] [] [] [] | 11
|
sh-utils | [] [] [] [] [] [] [] [] [] [] [] | 21
|
||||||
soundtracker | | 1
|
sharutils | [] [] [] | 11
|
||||||
sp | | 0
|
sketch | | 0
|
||||||
tar | [] [] [] [] [] [] [] [] [] | 17
|
soundtracker | | 3
|
||||||
texinfo | [] [] | 7
|
sp | | 0
|
||||||
textutils | [] [] [] [] [] [] [] [] | 15
|
tar | [] [] [] [] [] [] [] | 15
|
||||||
util-linux | [] [] | 4
|
texinfo | [] | 7
|
||||||
wdiff | [] [] [] | 5
|
textutils | [] [] [] [] [] [] [] [] | 16
|
||||||
wget | [] [] [] [] [] [] [] | 16
|
util-linux | [] [] | 4
|
||||||
+-------------------------------------------------+
|
wdiff | [] [] [] [] | 7
|
||||||
31 teams ja ko lv nl no pl pt pt_BR ru sk sl sv tr uk zh
|
wget | [] [] [] [] [] [] [] | 17
|
||||||
51 domains 17 9 1 23 6 17 1 13 26 9 11 20 19 2 2 369
|
+----------------------------------------------------+
|
||||||
|
33 teams ko lv nb nl nn no pl pt pt_BR ru sk sl sv tr uk zh
|
||||||
|
53 domains 9 1 6 20 0 6 17 1 13 25 10 11 23 21 2 2 387
|
||||||
|
|
||||||
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
|
||||||
@@ -294,9 +298,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 July 2001 seems to be old, you may fetch a more recent copy of
|
If September 2001 seems to be old, you may fetch a more recent copy
|
||||||
this `ABOUT-NLS' file on most GNU archive sites. The most up-to-date
|
of this `ABOUT-NLS' file on most GNU archive sites. The most
|
||||||
matrix with full percentage details can be found at
|
up-to-date 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
|
||||||
@@ -304,10 +308,11 @@ Using `gettext' in new packages
|
|||||||
|
|
||||||
If you are writing a freely available program and want to
|
If you are writing a freely available program and want to
|
||||||
internationalize it you are welcome to use GNU `gettext' in your
|
internationalize it you are welcome to use GNU `gettext' in your
|
||||||
package. Of course the GNU General Public License applies to your
|
package. Of course you have to respect the GNU Library General Public
|
||||||
sources from then on if you include `gettext' directly in your
|
License which covers the use of the GNU `gettext' library. This means
|
||||||
distribution but since you are writing free software anyway this is no
|
in particular that even non-free programs can use `libintl' as a shared
|
||||||
restriction.
|
library, whereas only free software can use `libintl' as a static
|
||||||
|
library or use modified versions of `libintl'.
|
||||||
|
|
||||||
Once the sources are changed appropriately and the setup can handle
|
Once the sources are changed appropriately and the setup can handle
|
||||||
to use of `gettext' the only thing missing are the translations. The
|
to use of `gettext' the only thing missing are the translations. The
|
||||||
|
|||||||
@@ -1,3 +1,226 @@
|
|||||||
|
2001-11-05 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.30a.
|
||||||
|
* src/lex.c (parse_percent_token): s/quotearg/quote/.
|
||||||
|
|
||||||
|
2001-11-05 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (AT_TEST_CPP_GUARD_H): Adjust the clean up
|
||||||
|
pattern.
|
||||||
|
|
||||||
|
2001-11-05 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/reader.c (parse_union_decl): Output yystype/YYSTYPE as we do
|
||||||
|
with yyltype/YYLTYPE. This allows inclusion of the generated
|
||||||
|
header within the parser if the compiler, such as GGC, accepts
|
||||||
|
multiple equivalent #defines.
|
||||||
|
|
||||||
|
2001-11-04 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/getargs.c (longopts): Support `--output'. getopt is now
|
||||||
|
able to understand that `--out' is OK: the two racing long options
|
||||||
|
are aliases.
|
||||||
|
(usage): Adjust.
|
||||||
|
* src/lex.h (tok_setopt): Remove, replaced with...
|
||||||
|
(tok_intopt, tok_stropt): these new guys.
|
||||||
|
* src/lex.c (getopt.h): Not needed.
|
||||||
|
(token_buffer, unlexed_token_buffer): Not const.
|
||||||
|
(percent_table): Promote `-' over `_' in directive names.
|
||||||
|
Active `%name-prefix', `file-prefix', and `output'.
|
||||||
|
(parse_percent_token): Accept possible arguments to directives.
|
||||||
|
Promote `-' over `_' in directive names.
|
||||||
|
* doc/bison.texinfo (Decl Summary): Split the list into
|
||||||
|
`directives for grammars' and `directives for bison'.
|
||||||
|
Sort'em.
|
||||||
|
Add description of `%name-prefix', `file-prefix', and `output'.
|
||||||
|
Promote `-' over `_' in directive names.
|
||||||
|
(Bison Options): s/%locactions/%locations/. Nice Freudian slip.
|
||||||
|
Simplify the description of `--name-prefix'.
|
||||||
|
Promote `-' over `_' in directive names.
|
||||||
|
Promote `--output' over `--output-file'.
|
||||||
|
Fix the description of `--defines'.
|
||||||
|
* tests/output.at: Exercise %file-prefix and %output.
|
||||||
|
|
||||||
|
2001-11-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* doc/refcard.tex: Update.
|
||||||
|
|
||||||
|
2001-11-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/symtab.h (SUNDEF): New.
|
||||||
|
* src/symtab.c (bucket_new): Init user_token_number to SUNDEF to
|
||||||
|
stand for `uninitialized', instead of 0.
|
||||||
|
* src/reader.c (packsymbols, parse_thong_decl): Adjust.
|
||||||
|
* src/lex.c (lex): Adjust.
|
||||||
|
|
||||||
|
* tests/calc.at (_AT_DATA_CALC_Y): Declare a token for EOF.
|
||||||
|
Number it 0.
|
||||||
|
Let yylex return it instead of a plain 0.
|
||||||
|
Reported by Dick Streefland.
|
||||||
|
|
||||||
|
2001-11-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (Mixing %token styles): New test.
|
||||||
|
|
||||||
|
2001-11-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/reader.c (parse_thong_decl): Formatting changes.
|
||||||
|
(token_translations_init): New, extracted from...
|
||||||
|
(packsymbols): Here.
|
||||||
|
Adjust.
|
||||||
|
|
||||||
|
2001-11-01 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (AT_TEST_CPP_GUARD_H): New.
|
||||||
|
Check that `9foo.y' produces correct cpp guards.
|
||||||
|
* src/files.c (compute_header_macro): Prepend `BISON_' to CPP
|
||||||
|
guards.
|
||||||
|
Reported by Wwp.
|
||||||
|
|
||||||
|
2001-11-01 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (Invalid input: 2): New.
|
||||||
|
* src/lex.c (unlexed_token_buffer): New.
|
||||||
|
(lex, unlex): Adjust: when unlexing, be sure to save token_buffer
|
||||||
|
too.
|
||||||
|
Reported by Wwp.
|
||||||
|
|
||||||
|
2001-11-01 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* configure.in: Bump to 1.30a.
|
||||||
|
Adjust to newer Autotest.
|
||||||
|
|
||||||
|
2001-10-26 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.30.
|
||||||
|
|
||||||
|
2001-10-26 Paul Eggert <[email protected]>
|
||||||
|
|
||||||
|
* lib/error.c, lib/error.h, lib/getopt.c, lib/getopt.h,
|
||||||
|
lib/getopt1.c, lib/obstack.c, lib/obstack.h, lib/quote.c,
|
||||||
|
lib/strnlen.c, lib/xmalloc.c, m4/c-bs-a.m4, m4/error.m4,
|
||||||
|
m4/gettext.m4, m4/lcmessage.m4, m4/malloc.m4, m4/mbstate_t.m4,
|
||||||
|
m4/progtest.m4, m4/realloc.m4, m4/strerror_r.m4:
|
||||||
|
Sync with fileutils 4.1.1.
|
||||||
|
|
||||||
|
2001-10-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29f.
|
||||||
|
* tests/calc.at (_AT_CHECK_CALC_ERROR): Don't use `foo && bar', to
|
||||||
|
avoid spurious failures.
|
||||||
|
|
||||||
|
2001-10-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29e.
|
||||||
|
|
||||||
|
2001-10-18 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/atlocal.in (GCC): Add.
|
||||||
|
* tests/calc.at: s/m4_match/m4_bmatch/.
|
||||||
|
s/m4_patsubst/m4_bpatsubst/.
|
||||||
|
(AT_CHECK_CALC): Check the compiler's stderr only if it's GCC.
|
||||||
|
* configure.in: AC_SUBST(GCC).
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* m4/m4.m4: Remove.
|
||||||
|
* configure.in: M4 is no longer needed, but autom4te is.
|
||||||
|
* tests/Makefile.am (AUTOTEST): Don't define AUTOM4TE, let
|
||||||
|
AC_SUBST do it.
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Bump to 1.29e.
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29d.
|
||||||
|
* src/bison.simple: Be sure to set YYSTACK_USE_ALLOCA.
|
||||||
|
Use `#if !YYSTACK_USE_ALLOCA', not `#ifndef'.
|
||||||
|
Reported by Airy Andre.
|
||||||
|
|
||||||
|
2001-10-10 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* INSTALL, config/config.guess, config/config.sub, config/mdate-sh
|
||||||
|
* config/mkinstalldirs, lib/ansi2knr.c: Update.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Bump 1.29d.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Version 1.29c.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (Invalid CPP headers): New.
|
||||||
|
From Alexander Belopolsky.
|
||||||
|
* src/files.c (compute_header_macro): Map non alnum chars to `_'.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/regression.at (Invalid input): New.
|
||||||
|
* src/lex.c (lex): Be sure to set `token_buffer' in any case.
|
||||||
|
Reported by Shura.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/calc.at: Now that --debug works, the tests must be adjusted.
|
||||||
|
|
||||||
|
2001-10-02 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/output.c (output_parser): Assert `skeleton'.
|
||||||
|
* src/files.c (skeleton_find): Look harder for skeletons on DOSish
|
||||||
|
systems.
|
||||||
|
From Shura.
|
||||||
|
|
||||||
|
2001-10-01 Marc Autret <[email protected]>
|
||||||
|
|
||||||
|
* src/lex.h: Echo modifications.
|
||||||
|
* src/lex.c (unlex): Parameter is now token_t.
|
||||||
|
From Hans Aberg.
|
||||||
|
|
||||||
|
2001-10-01 Marc Autret <[email protected]>
|
||||||
|
|
||||||
|
* src/main.c: Include lex.h.
|
||||||
|
From Hans Aberg.
|
||||||
|
|
||||||
|
2001-09-29 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* src/getargs.c (longopts): `--debug' is `-t', not `-d'.
|
||||||
|
|
||||||
|
2001-09-28 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
* tests/testsuite.at: Update to newer Autotest.
|
||||||
|
* tests/Makefile.am (EXTRA_DIST): bison is not to be shipped.
|
||||||
|
|
||||||
|
2001-09-27 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Position independent wrapper.
|
||||||
|
|
||||||
|
* tests/bison: Remove.
|
||||||
|
* tests/bison.in: New.
|
||||||
|
* configure.in: Adjust.
|
||||||
|
|
||||||
|
2001-09-27 Paul Eggert <[email protected]>
|
||||||
|
|
||||||
|
Port quotearg fixes from tar 1.13.24.
|
||||||
|
|
||||||
|
* lib/quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
|
||||||
|
tm to be declared.
|
||||||
|
(HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
|
||||||
|
(mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
|
||||||
|
|
||||||
|
* m4/Makefile.am (EXTRA_DIST): Add mbrtowc.m4.
|
||||||
|
* m4/mbrtowc.m4: New file.
|
||||||
|
* m4/prereq.m4 (jm_PREREQ_QUOTEARG): Check for mbsinit and stddef.h.
|
||||||
|
Use jm_FUNC_MBRTOWC instead of AC_CHECK_FUNCS(mbrtowc).
|
||||||
|
|
||||||
|
2001-09-27 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
|
Bump to 1.29c.
|
||||||
|
|
||||||
2001-09-27 Akim Demaille <[email protected]>
|
2001-09-27 Akim Demaille <[email protected]>
|
||||||
|
|
||||||
Version 1.29b.
|
Version 1.29b.
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
Copyright 1994, 1995, 1996, 1999, 2000, 2001 Free Software Foundation,
|
||||||
|
Inc.
|
||||||
|
|
||||||
|
This file is free documentation; the Free Software Foundation gives
|
||||||
|
unlimited permission to copy, distribute and modify it.
|
||||||
|
|
||||||
Basic Installation
|
Basic Installation
|
||||||
==================
|
==================
|
||||||
|
|
||||||
@@ -8,20 +14,27 @@ various system-dependent variables used during compilation. It uses
|
|||||||
those values to create a `Makefile' in each directory of the package.
|
those values to create a `Makefile' in each directory of the package.
|
||||||
It may also create one or more `.h' files containing system-dependent
|
It may also create one or more `.h' files containing system-dependent
|
||||||
definitions. Finally, it creates a shell script `config.status' that
|
definitions. Finally, it creates a shell script `config.status' that
|
||||||
you can run in the future to recreate the current configuration, a file
|
you can run in the future to recreate the current configuration, and a
|
||||||
`config.cache' that saves the results of its tests to speed up
|
file `config.log' containing compiler output (useful mainly for
|
||||||
reconfiguring, and a file `config.log' containing compiler output
|
debugging `configure').
|
||||||
(useful mainly for debugging `configure').
|
|
||||||
|
It can also use an optional file (typically called `config.cache'
|
||||||
|
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||||
|
the results of its tests to speed up reconfiguring. (Caching is
|
||||||
|
disabled by default to prevent problems with accidental use of stale
|
||||||
|
cache files.)
|
||||||
|
|
||||||
If you need to do unusual things to compile the package, please try
|
If you need to do unusual things to compile the package, please try
|
||||||
to figure out how `configure' could check whether to do them, and mail
|
to figure out how `configure' could check whether to do them, and mail
|
||||||
diffs or instructions to the address given in the `README' so they can
|
diffs or instructions to the address given in the `README' so they can
|
||||||
be considered for the next release. If at some point `config.cache'
|
be considered for the next release. If you are using the cache, and at
|
||||||
contains results you don't want to keep, you may remove or edit it.
|
some point `config.cache' contains results you don't want to keep, you
|
||||||
|
may remove or edit it.
|
||||||
|
|
||||||
The file `configure.in' is used to create `configure' by a program
|
The file `configure.ac' (or `configure.in') is used to create
|
||||||
called `autoconf'. You only need `configure.in' if you want to change
|
`configure' by a program called `autoconf'. You only need
|
||||||
it or regenerate `configure' using a newer version of `autoconf'.
|
`configure.ac' if you want to change it or regenerate `configure' using
|
||||||
|
a newer version of `autoconf'.
|
||||||
|
|
||||||
The simplest way to compile this package is:
|
The simplest way to compile this package is:
|
||||||
|
|
||||||
@@ -55,14 +68,15 @@ Compilers and Options
|
|||||||
=====================
|
=====================
|
||||||
|
|
||||||
Some systems require unusual options for compilation or linking that
|
Some systems require unusual options for compilation or linking that
|
||||||
the `configure' script does not know about. You can give `configure'
|
the `configure' script does not know about. Run `./configure --help'
|
||||||
initial values for variables by setting them in the environment. Using
|
for details on some of the pertinent environment variables.
|
||||||
a Bourne-compatible shell, you can do that on the command line like
|
|
||||||
this:
|
|
||||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
|
||||||
|
|
||||||
Or on systems that have the `env' program, you can do it like this:
|
You can give `configure' initial values for variables by setting
|
||||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
them in the environment. You can do that on the command line like this:
|
||||||
|
|
||||||
|
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
|
||||||
|
|
||||||
|
*Note Defining Variables::, for more details.
|
||||||
|
|
||||||
Compiling For Multiple Architectures
|
Compiling For Multiple Architectures
|
||||||
====================================
|
====================================
|
||||||
@@ -75,11 +89,11 @@ directory where you want the object files and executables to go and run
|
|||||||
the `configure' script. `configure' automatically checks for the
|
the `configure' script. `configure' automatically checks for the
|
||||||
source code in the directory that `configure' is in and in `..'.
|
source code in the directory that `configure' is in and in `..'.
|
||||||
|
|
||||||
If you have to use a `make' that does not supports the `VPATH'
|
If you have to use a `make' that does not support the `VPATH'
|
||||||
variable, you have to compile the package for one architecture at a time
|
variable, you have to compile the package for one architecture at a
|
||||||
in the source code directory. After you have installed the package for
|
time in the source code directory. After you have installed the
|
||||||
one architecture, use `make distclean' before reconfiguring for another
|
package for one architecture, use `make distclean' before reconfiguring
|
||||||
architecture.
|
for another architecture.
|
||||||
|
|
||||||
Installation Names
|
Installation Names
|
||||||
==================
|
==================
|
||||||
@@ -122,22 +136,35 @@ you can use the `configure' options `--x-includes=DIR' and
|
|||||||
Specifying the System Type
|
Specifying the System Type
|
||||||
==========================
|
==========================
|
||||||
|
|
||||||
There may be some features `configure' can not figure out
|
There may be some features `configure' cannot figure out
|
||||||
automatically, but needs to determine by the type of host the package
|
automatically, but needs to determine by the type of host the package
|
||||||
will run on. Usually `configure' can figure that out, but if it prints
|
will run on. Usually `configure' can figure that out, but if it prints
|
||||||
a message saying it can not guess the host type, give it the
|
a message saying it cannot guess the host type, give it the
|
||||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||||
type, such as `sun4', or a canonical name with three fields:
|
type, such as `sun4', or a canonical name which has the form:
|
||||||
|
|
||||||
CPU-COMPANY-SYSTEM
|
CPU-COMPANY-SYSTEM
|
||||||
|
|
||||||
See the file `config.sub' for the possible values of each field. If
|
where SYSTEM can have one of these forms:
|
||||||
|
|
||||||
|
OS KERNEL-OS
|
||||||
|
|
||||||
|
See the file `config.sub' for the possible values of each field. If
|
||||||
`config.sub' isn't included in this package, then this package doesn't
|
`config.sub' isn't included in this package, then this package doesn't
|
||||||
need to know the host type.
|
need to know the host type.
|
||||||
|
|
||||||
If you are building compiler tools for cross-compiling, you can also
|
If you are _building_ compiler tools for cross-compiling, you should
|
||||||
use the `--target=TYPE' option to select the type of system they will
|
use the `--target=TYPE' option to select the type of system they will
|
||||||
produce code for and the `--build=TYPE' option to select the type of
|
produce code for.
|
||||||
system on which you are compiling the package.
|
|
||||||
|
If you want to _use_ a cross compiler, that generates code for a
|
||||||
|
platform different from the build platform, you should specify the host
|
||||||
|
platform (i.e., that on which the generated programs will eventually be
|
||||||
|
run) with `--host=TYPE'. In this case, you should also specify the
|
||||||
|
build platform with `--build=TYPE', because, in this case, it may not
|
||||||
|
be possible to guess the build platform (it sometimes involves
|
||||||
|
compiling and running simple test programs, and this can't be done if
|
||||||
|
the compiler is a cross compiler).
|
||||||
|
|
||||||
Sharing Defaults
|
Sharing Defaults
|
||||||
================
|
================
|
||||||
@@ -150,20 +177,44 @@ default values for variables like `CC', `cache_file', and `prefix'.
|
|||||||
`CONFIG_SITE' environment variable to the location of the site script.
|
`CONFIG_SITE' environment variable to the location of the site script.
|
||||||
A warning: not all `configure' scripts look for a site script.
|
A warning: not all `configure' scripts look for a site script.
|
||||||
|
|
||||||
Operation Controls
|
Defining Variables
|
||||||
==================
|
==================
|
||||||
|
|
||||||
|
Variables not defined in a site shell script can be set in the
|
||||||
|
environment passed to `configure'. However, some packages may run
|
||||||
|
configure again during the build, and the customized values of these
|
||||||
|
variables may be lost. In order to avoid this problem, you should set
|
||||||
|
them in the `configure' command line, using `VAR=value'. For example:
|
||||||
|
|
||||||
|
./configure CC=/usr/local2/bin/gcc
|
||||||
|
|
||||||
|
will cause the specified gcc to be used as the C compiler (unless it is
|
||||||
|
overridden in the site shell script).
|
||||||
|
|
||||||
|
`configure' Invocation
|
||||||
|
======================
|
||||||
|
|
||||||
`configure' recognizes the following options to control how it
|
`configure' recognizes the following options to control how it
|
||||||
operates.
|
operates.
|
||||||
|
|
||||||
`--cache-file=FILE'
|
|
||||||
Use and save the results of the tests in FILE instead of
|
|
||||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
|
||||||
debugging `configure'.
|
|
||||||
|
|
||||||
`--help'
|
`--help'
|
||||||
|
`-h'
|
||||||
Print a summary of the options to `configure', and exit.
|
Print a summary of the options to `configure', and exit.
|
||||||
|
|
||||||
|
`--version'
|
||||||
|
`-V'
|
||||||
|
Print the version of Autoconf used to generate the `configure'
|
||||||
|
script, and exit.
|
||||||
|
|
||||||
|
`--cache-file=FILE'
|
||||||
|
Enable the cache: use and save the results of the tests in FILE,
|
||||||
|
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||||
|
disable caching.
|
||||||
|
|
||||||
|
`--config-cache'
|
||||||
|
`-C'
|
||||||
|
Alias for `--cache-file=config.cache'.
|
||||||
|
|
||||||
`--quiet'
|
`--quiet'
|
||||||
`--silent'
|
`--silent'
|
||||||
`-q'
|
`-q'
|
||||||
@@ -175,8 +226,6 @@ operates.
|
|||||||
Look for the package's source code in directory DIR. Usually
|
Look for the package's source code in directory DIR. Usually
|
||||||
`configure' can determine that directory automatically.
|
`configure' can determine that directory automatically.
|
||||||
|
|
||||||
`--version'
|
`configure' also accepts some other, not widely useful, options. Run
|
||||||
Print the version of Autoconf used to generate the `configure'
|
`configure --help' for more details.
|
||||||
script, and exit.
|
|
||||||
|
|
||||||
`configure' also accepts some other, not widely useful, options.
|
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
## 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
|
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha dist-bzip2
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
|
|||||||
+61
-57
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +44,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +59,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +73,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +86,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -96,7 +101,7 @@ 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
|
AUTOMAKE_OPTIONS = 1.5 check-news readme-alpha dist-bzip2
|
||||||
|
|
||||||
ACLOCAL_AMFLAGS = -I m4
|
ACLOCAL_AMFLAGS = -I m4
|
||||||
|
|
||||||
@@ -132,9 +137,9 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
|
|||||||
uninstall-info-recursive all-recursive install-data-recursive \
|
uninstall-info-recursive all-recursive install-data-recursive \
|
||||||
install-exec-recursive installdirs-recursive install-recursive \
|
install-exec-recursive installdirs-recursive install-recursive \
|
||||||
uninstall-recursive check-recursive installcheck-recursive
|
uninstall-recursive check-recursive installcheck-recursive
|
||||||
DIST_COMMON = README ./stamp-h.in ABOUT-NLS AUTHORS COPYING ChangeLog \
|
DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
|
||||||
INSTALL Makefile.am Makefile.in NEWS README-alpha THANKS \
|
Makefile.am Makefile.in NEWS README-alpha THANKS aclocal.m4 \
|
||||||
aclocal.m4 config.hin configure configure.in
|
config.hin configure configure.in
|
||||||
DIST_SUBDIRS = $(SUBDIRS)
|
DIST_SUBDIRS = $(SUBDIRS)
|
||||||
all: config.h
|
all: config.h
|
||||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||||
@@ -144,44 +149,34 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu Makefile
|
$(AUTOMAKE) --gnu Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$@ $(SHELL) ./config.status
|
|
||||||
|
|
||||||
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
||||||
$(SHELL) ./config.status --recheck
|
$(SHELL) ./config.status --recheck
|
||||||
$(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/m4.m4 m4/malloc.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/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-h
|
|
||||||
|
config.h: stamp-h1
|
||||||
@if test ! -f $@; then \
|
@if test ! -f $@; then \
|
||||||
rm -f stamp-h; \
|
rm -f stamp-h1; \
|
||||||
$(MAKE) stamp-h; \
|
$(MAKE) stamp-h1; \
|
||||||
else :; fi
|
else :; fi
|
||||||
stamp-h: $(srcdir)/config.hin $(top_builddir)/config.status
|
|
||||||
@rm -f stamp-h stamp-hT
|
stamp-h1: $(srcdir)/config.hin $(top_builddir)/config.status
|
||||||
@echo timestamp > stamp-hT 2> /dev/null
|
@rm -f stamp-h1
|
||||||
cd $(top_builddir) \
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
||||||
&& CONFIG_FILES= CONFIG_HEADERS=config.h:config.hin \
|
|
||||||
$(SHELL) ./config.status
|
$(srcdir)/config.hin: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||||
@mv stamp-hT stamp-h
|
|
||||||
$(srcdir)/config.hin: $(srcdir)/./stamp-h.in
|
|
||||||
@if test ! -f $@; then \
|
|
||||||
rm -f $(srcdir)/./stamp-h.in; \
|
|
||||||
$(MAKE) $(srcdir)/./stamp-h.in; \
|
|
||||||
else :; fi
|
|
||||||
$(srcdir)/./stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
||||||
@rm -f $(srcdir)/./stamp-h.in $(srcdir)/./stamp-h.inT
|
|
||||||
@echo timestamp > $(srcdir)/./stamp-h.inT 2> /dev/null
|
|
||||||
cd $(top_srcdir) && $(AUTOHEADER)
|
cd $(top_srcdir) && $(AUTOHEADER)
|
||||||
@mv $(srcdir)/./stamp-h.inT $(srcdir)/./stamp-h.in
|
touch $(srcdir)/config.hin
|
||||||
|
|
||||||
distclean-hdr:
|
distclean-hdr:
|
||||||
-rm -f config.h
|
-rm -f config.h
|
||||||
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
|
intl/Makefile: $(top_builddir)/config.status $(top_srcdir)/intl/Makefile.in
|
||||||
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
|
|
||||||
# This directory's subdirectories are mostly independent; you can cd
|
# This directory's subdirectories are mostly independent; you can cd
|
||||||
@@ -269,7 +264,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
|
|||||||
|| etags $(ETAGS_ARGS) $$tags config.hin $$unique $(LISP)
|
|| etags $(ETAGS_ARGS) $$tags config.hin $$unique $(LISP)
|
||||||
|
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $(GTAGS_ARGS) $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
@@ -292,7 +287,7 @@ distdir: $(DISTFILES)
|
|||||||
fi
|
fi
|
||||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
mkdir $(distdir)
|
mkdir $(distdir)
|
||||||
$(mkinstalldirs) $(distdir)/intl $(distdir)/po
|
$(mkinstalldirs) $(distdir)/intl $(distdir)/po $(distdir)/tests
|
||||||
@for file in $(DISTFILES); do \
|
@for file in $(DISTFILES); do \
|
||||||
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
||||||
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||||
@@ -326,10 +321,19 @@ distdir: $(DISTFILES)
|
|||||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||||
|| chmod -R a+r $(distdir)
|
|| chmod -R a+r $(distdir)
|
||||||
dist: distdir
|
dist-gzip: distdir
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
|
||||||
|
dist-bzip2: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||||
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
|
||||||
|
dist dist-all: distdir
|
||||||
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||||
|
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
||||||
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
||||||
|
|
||||||
# This target untars the dist file and tries a VPATH configuration. Then
|
# This target untars the dist file and tries a VPATH configuration. Then
|
||||||
# it guarantees that the distribution is self-contained by making another
|
# it guarantees that the distribution is self-contained by making another
|
||||||
# tarfile.
|
# tarfile.
|
||||||
@@ -340,7 +344,7 @@ distcheck: dist
|
|||||||
mkdir $(distdir)/=build
|
mkdir $(distdir)/=build
|
||||||
mkdir $(distdir)/=inst
|
mkdir $(distdir)/=inst
|
||||||
chmod a-w $(distdir)
|
chmod a-w $(distdir)
|
||||||
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
|
||||||
&& cd $(distdir)/=build \
|
&& cd $(distdir)/=build \
|
||||||
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
||||||
--with-included-gettext \
|
--with-included-gettext \
|
||||||
@@ -351,14 +355,16 @@ distcheck: dist
|
|||||||
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
||||||
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
&& (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
||||||
|| (echo "Error: files left after uninstall" 1>&2; \
|
|| { echo "ERROR: files left after uninstall:" ; \
|
||||||
exit 1) ) \
|
find $$dc_install_base -type f -print ; \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
exit 1; } >&2 ) \
|
||||||
|
&& $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
|
||||||
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
||||||
&& rm -f $(distdir).tar.gz \
|
&& rm -f $(distdir).tar.gz \
|
||||||
&& (test `find . -type f -print | wc -l` -eq 0 \
|
&& (test `find . -type f -print | wc -l` -eq 0 \
|
||||||
|| (echo "Error: files left after distclean" 1>&2; \
|
|| { echo "ERROR: files left after distclean:" ; \
|
||||||
exit 1) )
|
find . -type f -print ; \
|
||||||
|
exit 1; } >&2 )
|
||||||
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
||||||
@echo "$(distdir).tar.gz is ready for distribution" | \
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
||||||
sed 'h;s/./=/g;p;x;p;x'
|
sed 'h;s/./=/g;p;x;p;x'
|
||||||
@@ -396,9 +402,6 @@ clean: clean-recursive
|
|||||||
|
|
||||||
clean-am: clean-generic mostlyclean-am
|
clean-am: clean-generic mostlyclean-am
|
||||||
|
|
||||||
dist-all: distdir
|
|
||||||
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
||||||
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
||||||
distclean: distclean-recursive
|
distclean: distclean-recursive
|
||||||
-rm -f config.status config.cache config.log
|
-rm -f config.status config.cache config.log
|
||||||
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
||||||
@@ -434,19 +437,20 @@ uninstall-am: uninstall-info-am
|
|||||||
uninstall-info: uninstall-info-recursive
|
uninstall-info: uninstall-info-recursive
|
||||||
|
|
||||||
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
|
||||||
clean-generic clean-recursive dist dist-all distcheck distclean \
|
clean-generic clean-recursive dist dist-all dist-bzip2 \
|
||||||
distclean-generic distclean-hdr distclean-recursive \
|
dist-gzip distcheck distclean distclean-generic distclean-hdr \
|
||||||
distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
|
distclean-recursive distclean-tags distdir dvi dvi-am \
|
||||||
info-recursive install install-am install-data install-data-am \
|
dvi-recursive info info-am info-recursive install install-am \
|
||||||
install-data-recursive install-exec install-exec-am \
|
install-data install-data-am install-data-recursive \
|
||||||
install-exec-recursive install-info install-info-am \
|
install-exec install-exec-am install-exec-recursive \
|
||||||
install-info-recursive install-man install-recursive \
|
install-info install-info-am install-info-recursive install-man \
|
||||||
install-strip installcheck installcheck-am installdirs \
|
install-recursive install-strip installcheck installcheck-am \
|
||||||
installdirs-am installdirs-recursive maintainer-clean \
|
installdirs installdirs-am installdirs-recursive \
|
||||||
maintainer-clean-generic maintainer-clean-recursive mostlyclean \
|
maintainer-clean maintainer-clean-generic \
|
||||||
mostlyclean-generic mostlyclean-recursive tags tags-recursive \
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
||||||
uninstall uninstall-am uninstall-info-am \
|
mostlyclean-recursive tags tags-recursive uninstall \
|
||||||
uninstall-info-recursive uninstall-recursive
|
uninstall-am uninstall-info-am uninstall-info-recursive \
|
||||||
|
uninstall-recursive
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not 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.
|
||||||
|
|||||||
@@ -1,7 +1,26 @@
|
|||||||
Bison News
|
Bison News
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Changes in version 1.29b:
|
Changes in version 1.30a:
|
||||||
|
|
||||||
|
* Fixed incorrect processing of some invalid input.
|
||||||
|
|
||||||
|
* Fixed CPP guards: 9foo.h uses BISON_9FOO_H instead of 9FOO_H.
|
||||||
|
|
||||||
|
* Fixed some typos in the documentation.
|
||||||
|
|
||||||
|
* %token MY_EOF 0 is supported.
|
||||||
|
Before, MY_EOF was silently renumbered as 257.
|
||||||
|
|
||||||
|
* doc/refcard.tex is updated.
|
||||||
|
|
||||||
|
* %output, %file-prefix, %name-prefix.
|
||||||
|
New.
|
||||||
|
|
||||||
|
* --output
|
||||||
|
New, aliasing `--output-file'.
|
||||||
|
|
||||||
|
Changes in version 1.30, 2001-10-26:
|
||||||
|
|
||||||
* `--defines' and `--graph' have now an optionnal argument which is the
|
* `--defines' and `--graph' have now an optionnal argument which is the
|
||||||
output file name. `-d' and `-g' do not change, they do not take any
|
output file name. `-d' and `-g' do not change, they do not take any
|
||||||
@@ -10,13 +29,14 @@ Changes in version 1.29b:
|
|||||||
* `%source_extension' and `%header_extension' are removed, failed
|
* `%source_extension' and `%header_extension' are removed, failed
|
||||||
experiment.
|
experiment.
|
||||||
|
|
||||||
* The test suite is more portable.
|
* Portability fixes.
|
||||||
|
|
||||||
|
Changes in version 1.29, 2001-09-07:
|
||||||
|
|
||||||
* Better portability.
|
* The output file does not define const, as this caused problems when used
|
||||||
|
with common autoconfiguration schemes. If you still use ancient compilers
|
||||||
Changes in version 1.29:
|
that lack const, compile with the equivalent of the C compiler option
|
||||||
|
`-Dconst='. autoconf's AC_C_CONST macro provides one way to do this.
|
||||||
* Output file does not redefine const; that is now config.h's job.
|
|
||||||
|
|
||||||
* Added `-g' and `--graph'.
|
* Added `-g' and `--graph'.
|
||||||
|
|
||||||
@@ -42,8 +62,11 @@ Changes in version 1.29:
|
|||||||
* New directives.
|
* New directives.
|
||||||
`%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
|
`%yacc', `%fixed_output_files', `%defines', `%no_parser', `%verbose',
|
||||||
`%debug', `%source_extension' and `%header_extension'.
|
`%debug', `%source_extension' and `%header_extension'.
|
||||||
|
|
||||||
|
* @$
|
||||||
|
Automatic location tracking.
|
||||||
|
|
||||||
Changes in version 1.28:
|
Changes in version 1.28, 1999-07-06:
|
||||||
|
|
||||||
* Should compile better now with K&R compilers.
|
* Should compile better now with K&R compilers.
|
||||||
|
|
||||||
@@ -75,7 +98,7 @@ Changes in version 1.26:
|
|||||||
* Generated parsers should now work even on operating systems which do
|
* Generated parsers should now work even on operating systems which do
|
||||||
not provide alloca().
|
not provide alloca().
|
||||||
|
|
||||||
Changes in version 1.25:
|
Changes in version 1.25, 1995-10-16:
|
||||||
|
|
||||||
* Errors in the input grammar are not fatal; Bison keeps reading
|
* Errors in the input grammar are not fatal; Bison keeps reading
|
||||||
the grammar file, and reports all the errors found in it.
|
the grammar file, and reports all the errors found in it.
|
||||||
@@ -116,3 +139,7 @@ Changes in version 1.22:
|
|||||||
Changes in version 1.20:
|
Changes in version 1.20:
|
||||||
|
|
||||||
Output file does not redefine const for C++.
|
Output file does not redefine const for C++.
|
||||||
|
|
||||||
|
Local Variables:
|
||||||
|
mode: outline
|
||||||
|
End:
|
||||||
|
|||||||
@@ -1,25 +1,30 @@
|
|||||||
Bison was originally written by Robert Corbett. It would not be what
|
Bison was originally written by Robert Corbett. It would not be what
|
||||||
it is today without the invaluable help of these people:
|
it is today without the invaluable help of these people:
|
||||||
|
|
||||||
Akim Demaille akim@epita.fr
|
Airy Andre Airy.Andre@edf.fr
|
||||||
|
Akim Demaille [email protected]
|
||||||
Albert Chin-A-Young [email protected]
|
Albert Chin-A-Young [email protected]
|
||||||
Daniel Hagerty [email protected]
|
Alexander Belopolsky [email protected]
|
||||||
David J. MacKenzie djm@gnu.org
|
Daniel Hagerty hag@gnu.org
|
||||||
Fabrice Bauzac [email protected]
|
David J. MacKenzie [email protected]
|
||||||
Hans Aberg [email protected]
|
Dick Streefland [email protected]
|
||||||
Jesse Thilo [email protected]
|
Fabrice Bauzac [email protected]
|
||||||
Jim Meyering [email protected]
|
Hans Aberg [email protected]
|
||||||
Juan Manuel Guerrero [email protected]
|
Jesse Thilo [email protected]
|
||||||
Keith Browne [email protected]
|
Jim Meyering [email protected]
|
||||||
Laurent Mascherpa [email protected]
|
Juan Manuel Guerrero [email protected]
|
||||||
|
Keith Browne [email protected]
|
||||||
|
Laurent Mascherpa [email protected]
|
||||||
Marc Autret [email protected]
|
Marc Autret [email protected]
|
||||||
Neil Booth [email protected]
|
Neil Booth [email protected]
|
||||||
Noah Friedman [email protected]
|
Noah Friedman [email protected]
|
||||||
Pascal Bart [email protected]
|
Pascal Bart [email protected]
|
||||||
Paul Eggert [email protected]
|
Paul Eggert [email protected]
|
||||||
Piotr Gackiewicz [email protected]
|
Piotr Gackiewicz [email protected]
|
||||||
Richard Stallman [email protected]
|
Richard Stallman [email protected]
|
||||||
Robert Anisko [email protected]
|
Robert Anisko [email protected]
|
||||||
|
Shura [email protected]
|
||||||
|
Wwp [email protected]
|
||||||
|
|
||||||
Many people are not named here because we lost track of them. We
|
Many people are not named here because we lost track of them. We
|
||||||
thank them! Please, help us keeping this list up to date.
|
thank them! Please, help us keeping this list up to date.
|
||||||
|
|||||||
Vendored
+430
-231
@@ -1,4 +1,4 @@
|
|||||||
# aclocal.m4 generated automatically by aclocal 1.5
|
# aclocal.m4t generated automatically by aclocal 1.5a -*- Autoconf -*-
|
||||||
|
|
||||||
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -11,11 +11,29 @@
|
|||||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
# Do all the work for Automake. This macro actually does too much --
|
# Do all the work for Automake. -*- Autoconf -*-
|
||||||
# some checks are only needed if your package does certain things.
|
|
||||||
# But this isn't really a big deal.
|
|
||||||
|
|
||||||
# serial 5
|
# This macro actually does too much some checks are only needed if
|
||||||
|
# your package does certain things. But this isn't really a big deal.
|
||||||
|
|
||||||
|
# Copyright 1996, 1997, 1998, 1999, 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
|
# serial 6
|
||||||
|
|
||||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||||
# written in clear, in which case automake, when reading aclocal.m4,
|
# written in clear, in which case automake, when reading aclocal.m4,
|
||||||
@@ -24,55 +42,29 @@
|
|||||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||||
|
|
||||||
|
|
||||||
# We require 2.13 because we rely on SHELL being computed by configure.
|
AC_PREREQ([2.52])
|
||||||
AC_PREREQ([2.13])
|
|
||||||
|
|
||||||
# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
|
|
||||||
# -----------------------------------------------------------
|
|
||||||
# If MACRO-NAME is provided do IF-PROVIDED, else IF-NOT-PROVIDED.
|
|
||||||
# The purpose of this macro is to provide the user with a means to
|
|
||||||
# check macros which are provided without letting her know how the
|
|
||||||
# information is coded.
|
|
||||||
# If this macro is not defined by Autoconf, define it here.
|
|
||||||
ifdef([AC_PROVIDE_IFELSE],
|
|
||||||
[],
|
|
||||||
[define([AC_PROVIDE_IFELSE],
|
|
||||||
[ifdef([AC_PROVIDE_$1],
|
|
||||||
[$2], [$3])])])
|
|
||||||
|
|
||||||
|
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
||||||
|
# the ones we care about.
|
||||||
|
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||||
|
|
||||||
# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
|
# AM_INIT_AUTOMAKE(PACKAGE,VERSION, [NO-DEFINE])
|
||||||
# ----------------------------------------------
|
# ----------------------------------------------
|
||||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||||
[AC_REQUIRE([AC_PROG_INSTALL])dnl
|
[AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||||
# test to see if srcdir already configured
|
# test to see if srcdir already configured
|
||||||
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
|
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||||
test -f $srcdir/config.status; then
|
test -f $srcdir/config.status; then
|
||||||
AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
|
AC_MSG_ERROR([source directory already configured; run \"make distclean\" there first])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Define the identity of the package.
|
# Define the identity of the package.
|
||||||
PACKAGE=$1
|
AC_SUBST([PACKAGE], [$1])dnl
|
||||||
AC_SUBST(PACKAGE)dnl
|
AC_SUBST([VERSION], [$2])dnl
|
||||||
VERSION=$2
|
|
||||||
AC_SUBST(VERSION)dnl
|
|
||||||
ifelse([$3],,
|
ifelse([$3],,
|
||||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
|
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])
|
||||||
|
|
||||||
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
|
|
||||||
# the ones we care about.
|
|
||||||
ifdef([m4_pattern_allow],
|
|
||||||
[m4_pattern_allow([^AM_[A-Z]+FLAGS])])dnl
|
|
||||||
|
|
||||||
# Autoconf 2.50 always computes EXEEXT. However we need to be
|
|
||||||
# compatible with 2.13, for now. So we always define EXEEXT, but we
|
|
||||||
# don't compute it.
|
|
||||||
AC_SUBST(EXEEXT)
|
|
||||||
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
|
|
||||||
# requests that it be used. This is a bit dumb.
|
|
||||||
: ${OBJEXT=o}
|
|
||||||
AC_SUBST(OBJEXT)
|
|
||||||
|
|
||||||
# Some tools Automake needs.
|
# Some tools Automake needs.
|
||||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||||
@@ -105,6 +97,23 @@ AC_PROVIDE_IFELSE([AC_PROG_][CXX],
|
|||||||
# Check to make sure that the build environment is sane.
|
# Check to make sure that the build environment is sane.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Copyright 1996, 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
# serial 3
|
# serial 3
|
||||||
|
|
||||||
# AM_SANITY_CHECK
|
# AM_SANITY_CHECK
|
||||||
@@ -148,6 +157,25 @@ Check your system clock])
|
|||||||
fi
|
fi
|
||||||
AC_MSG_RESULT(yes)])
|
AC_MSG_RESULT(yes)])
|
||||||
|
|
||||||
|
# -*- Autoconf -*-
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright 1997, 1999, 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
@@ -178,6 +206,23 @@ fi
|
|||||||
|
|
||||||
# AM_AUX_DIR_EXPAND
|
# AM_AUX_DIR_EXPAND
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||||
@@ -216,19 +261,59 @@ fi
|
|||||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||||
# configured tree to be moved without reconfiguration.
|
# configured tree to be moved without reconfiguration.
|
||||||
|
|
||||||
|
# Rely on autoconf to set up CDPATH properly.
|
||||||
|
AC_PREREQ([2.50])
|
||||||
|
|
||||||
AC_DEFUN([AM_AUX_DIR_EXPAND], [
|
AC_DEFUN([AM_AUX_DIR_EXPAND], [
|
||||||
# expand $ac_aux_dir to an absolute path
|
# expand $ac_aux_dir to an absolute path
|
||||||
am_aux_dir=`CDPATH=:; cd $ac_aux_dir && pwd`
|
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||||
])
|
])
|
||||||
|
|
||||||
# AM_PROG_INSTALL_SH
|
# AM_PROG_INSTALL_SH
|
||||||
# ------------------
|
# ------------------
|
||||||
# Define $install_sh.
|
# Define $install_sh.
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||||
AC_SUBST(install_sh)])
|
AC_SUBST(install_sh)])
|
||||||
|
|
||||||
|
# AM_PROG_INSTALL_STRIP
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
# One issue with vendor `install' (even GNU) is that you can't
|
# One issue with vendor `install' (even GNU) is that you can't
|
||||||
# specify the program used to strip binaries. This is especially
|
# specify the program used to strip binaries. This is especially
|
||||||
# annoying in cross-compiling environments, where the build's strip
|
# annoying in cross-compiling environments, where the build's strip
|
||||||
@@ -243,6 +328,22 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|||||||
|
|
||||||
# serial 4 -*- Autoconf -*-
|
# serial 4 -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright 1999, 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
|
|
||||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||||
@@ -254,7 +355,7 @@ AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
|||||||
|
|
||||||
|
|
||||||
# _AM_DEPENDENCIES(NAME)
|
# _AM_DEPENDENCIES(NAME)
|
||||||
# ---------------------
|
# ----------------------
|
||||||
# See how the compiler implements dependency checking.
|
# See how the compiler implements dependency checking.
|
||||||
# NAME is "CC", "CXX" or "OBJC".
|
# NAME is "CC", "CXX" or "OBJC".
|
||||||
# We try a few techniques and use that to set a single cache variable.
|
# We try a few techniques and use that to set a single cache variable.
|
||||||
@@ -333,8 +434,7 @@ else
|
|||||||
am_cv_$1_dependencies_compiler_type=none
|
am_cv_$1_dependencies_compiler_type=none
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
$1DEPMODE="depmode=$am_cv_$1_dependencies_compiler_type"
|
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||||
AC_SUBST([$1DEPMODE])
|
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@@ -352,7 +452,7 @@ else
|
|||||||
DEPDIR=_deps
|
DEPDIR=_deps
|
||||||
fi
|
fi
|
||||||
rmdir .deps 2>/dev/null
|
rmdir .deps 2>/dev/null
|
||||||
AC_SUBST(DEPDIR)
|
AC_SUBST([DEPDIR])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@@ -367,30 +467,40 @@ if test "x$enable_dependency_tracking" != xno; then
|
|||||||
AMDEPBACKSLASH='\'
|
AMDEPBACKSLASH='\'
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||||
pushdef([subst], defn([AC_SUBST]))
|
AC_SUBST([AMDEPBACKSLASH])
|
||||||
subst(AMDEPBACKSLASH)
|
|
||||||
popdef([subst])
|
|
||||||
])
|
])
|
||||||
|
|
||||||
# Generate code to set up dependency tracking.
|
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
|
||||||
# Usage:
|
|
||||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
|
||||||
|
|
||||||
#
|
# Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
# This code is only required when automatic dependency tracking
|
|
||||||
# is enabled. FIXME. This creates each `.P' file that we will
|
# This program is free software; you can redistribute it and/or modify
|
||||||
# need in order to bootstrap the dependency handling code.
|
# it under the terms of the GNU General Public License as published by
|
||||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],[
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
AC_OUTPUT_COMMANDS([
|
# any later version.
|
||||||
test x"$AMDEP_TRUE" != x"" ||
|
|
||||||
for mf in $CONFIG_FILES; do
|
# This program is distributed in the hope that it will be useful,
|
||||||
case "$mf" in
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program; if not, write to the Free Software
|
||||||
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
||||||
|
# 02111-1307, USA.
|
||||||
|
|
||||||
|
#serial 2
|
||||||
|
|
||||||
|
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
|
# ------------------------------
|
||||||
|
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[for mf in $CONFIG_FILES; do
|
||||||
|
case $mf in
|
||||||
Makefile) dirpart=.;;
|
Makefile) dirpart=.;;
|
||||||
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
|
*/Makefile) dirpart=`AS_DIRNAME("$mf")`;;
|
||||||
*) continue;;
|
*) continue;;
|
||||||
esac
|
esac
|
||||||
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
|
grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue
|
||||||
# Extract the definition of DEP_FILES from the Makefile without
|
# Extract the definition of DEP_FILES from the Makefile without
|
||||||
# running `make'.
|
# running `make'.
|
||||||
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
|
||||||
@@ -414,18 +524,49 @@ for mf in $CONFIG_FILES; do
|
|||||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||||
# Make sure the directory exists.
|
# Make sure the directory exists.
|
||||||
test -f "$dirpart/$file" && continue
|
test -f "$dirpart/$file" && continue
|
||||||
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
|
fdir=`AS_DIRNAME(["$file"])`
|
||||||
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
|
AS_MKDIR_P([$dirpart/$fdir])
|
||||||
# echo "creating $dirpart/$file"
|
# echo "creating $dirpart/$file"
|
||||||
echo '# dummy' > "$dirpart/$file"
|
echo '# dummy' > "$dirpart/$file"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
], [AMDEP_TRUE="$AMDEP_TRUE"
|
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
ac_aux_dir="$ac_aux_dir"])])
|
|
||||||
|
|
||||||
|
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||||
|
# -----------------------------
|
||||||
|
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||||
|
#
|
||||||
|
# This code is only required when automatic dependency tracking
|
||||||
|
# is enabled. FIXME. This creates each `.P' file that we will
|
||||||
|
# need in order to bootstrap the dependency handling code.
|
||||||
|
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[AC_CONFIG_COMMANDS([depfiles],
|
||||||
|
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||||
|
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||||
|
])
|
||||||
|
|
||||||
# AM_MAKE_INCLUDE()
|
# AM_MAKE_INCLUDE()
|
||||||
# -----------------
|
# -----------------
|
||||||
# Check to see how make treats includes.
|
# Check to see how make treats includes.
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||||
[am_make=${MAKE-make}
|
[am_make=${MAKE-make}
|
||||||
cat > confinc << 'END'
|
cat > confinc << 'END'
|
||||||
@@ -464,23 +605,35 @@ AC_MSG_RESULT($_am_result)
|
|||||||
rm -f confinc confmf
|
rm -f confinc confmf
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 3
|
# AM_CONDITIONAL -*- Autoconf -*-
|
||||||
|
|
||||||
|
# Copyright 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
|
# serial 5
|
||||||
|
|
||||||
|
AC_PREREQ(2.52)
|
||||||
|
|
||||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||||
# -------------------------------------
|
# -------------------------------------
|
||||||
# Define a conditional.
|
# Define a conditional.
|
||||||
#
|
|
||||||
# FIXME: Once using 2.50, use this:
|
|
||||||
# m4_match([$1], [^TRUE\|FALSE$], [AC_FATAL([$0: invalid condition: $1])])dnl
|
|
||||||
AC_DEFUN([AM_CONDITIONAL],
|
AC_DEFUN([AM_CONDITIONAL],
|
||||||
[ifelse([$1], [TRUE],
|
[ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||||
[errprint(__file__:__line__: [$0: invalid condition: $1
|
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||||
])dnl
|
|
||||||
m4exit(1)])dnl
|
|
||||||
ifelse([$1], [FALSE],
|
|
||||||
[errprint(__file__:__line__: [$0: invalid condition: $1
|
|
||||||
])dnl
|
|
||||||
m4exit(1)])dnl
|
|
||||||
AC_SUBST([$1_TRUE])
|
AC_SUBST([$1_TRUE])
|
||||||
AC_SUBST([$1_FALSE])
|
AC_SUBST([$1_FALSE])
|
||||||
if $2; then
|
if $2; then
|
||||||
@@ -491,72 +644,83 @@ else
|
|||||||
$1_FALSE=
|
$1_FALSE=
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
# Like AC_CONFIG_HEADER, but automatically create stamp file.
|
# Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
|
||||||
|
|
||||||
# serial 3
|
# Copyright 1996, 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
|
AC_PREREQ([2.52])
|
||||||
|
|
||||||
|
# serial 6
|
||||||
|
|
||||||
# When config.status generates a header, we must update the stamp-h file.
|
# When config.status generates a header, we must update the stamp-h file.
|
||||||
# This file resides in the same directory as the config header
|
# This file resides in the same directory as the config header
|
||||||
# that is generated. We must strip everything past the first ":",
|
# that is generated. We must strip everything past the first ":",
|
||||||
# and everything past the last "/".
|
# and everything past the last "/".
|
||||||
|
|
||||||
AC_PREREQ([2.12])
|
|
||||||
|
|
||||||
AC_DEFUN([AM_CONFIG_HEADER],
|
|
||||||
[ifdef([AC_FOREACH],dnl
|
|
||||||
[dnl init our file count if it isn't already
|
|
||||||
m4_ifndef([_AM_Config_Header_Index], m4_define([_AM_Config_Header_Index], [0]))
|
|
||||||
dnl prepare to store our destination file list for use in config.status
|
|
||||||
AC_FOREACH([_AM_File], [$1],
|
|
||||||
[m4_pushdef([_AM_Dest], m4_patsubst(_AM_File, [:.*]))
|
|
||||||
m4_define([_AM_Config_Header_Index], m4_incr(_AM_Config_Header_Index))
|
|
||||||
dnl and add it to the list of files AC keeps track of, along
|
|
||||||
dnl with our hook
|
|
||||||
AC_CONFIG_HEADERS(_AM_File,
|
|
||||||
dnl COMMANDS, [, INIT-CMDS]
|
|
||||||
[# update the timestamp
|
|
||||||
echo timestamp >"AS_ESCAPE(_AM_DIRNAME(]_AM_Dest[))/stamp-h]_AM_Config_Header_Index["
|
|
||||||
][$2]m4_ifval([$3], [, [$3]]))dnl AC_CONFIG_HEADERS
|
|
||||||
m4_popdef([_AM_Dest])])],dnl
|
|
||||||
[AC_CONFIG_HEADER([$1])
|
|
||||||
AC_OUTPUT_COMMANDS(
|
|
||||||
ifelse(patsubst([$1], [[^ ]], []),
|
|
||||||
[],
|
|
||||||
[test -z "$CONFIG_HEADERS" || echo timestamp >dnl
|
|
||||||
patsubst([$1], [^\([^:]*/\)?.*], [\1])stamp-h]),dnl
|
|
||||||
[am_indx=1
|
|
||||||
for am_file in $1; do
|
|
||||||
case " \$CONFIG_HEADERS " in
|
|
||||||
*" \$am_file "*)
|
|
||||||
am_dir=\`echo \$am_file |sed 's%:.*%%;s%[^/]*\$%%'\`
|
|
||||||
if test -n "\$am_dir"; then
|
|
||||||
am_tmpdir=\`echo \$am_dir |sed 's%^\(/*\).*\$%\1%'\`
|
|
||||||
for am_subdir in \`echo \$am_dir |sed 's%/% %'\`; do
|
|
||||||
am_tmpdir=\$am_tmpdir\$am_subdir/
|
|
||||||
if test ! -d \$am_tmpdir; then
|
|
||||||
mkdir \$am_tmpdir
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
echo timestamp > "\$am_dir"stamp-h\$am_indx
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
am_indx=\`expr \$am_indx + 1\`
|
|
||||||
done])
|
|
||||||
])]) # AM_CONFIG_HEADER
|
|
||||||
|
|
||||||
# _AM_DIRNAME(PATH)
|
# _AM_DIRNAME(PATH)
|
||||||
# -----------------
|
# -----------------
|
||||||
# Like AS_DIRNAME, only do it during macro expansion
|
# Like AS_DIRNAME, only do it during macro expansion
|
||||||
AC_DEFUN([_AM_DIRNAME],
|
AC_DEFUN([_AM_DIRNAME],
|
||||||
[m4_if(m4_regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
|
[m4_if(regexp([$1], [^.*[^/]//*[^/][^/]*/*$]), -1,
|
||||||
m4_if(m4_regexp([$1], [^//\([^/]\|$\)]), -1,
|
m4_if(regexp([$1], [^//\([^/]\|$\)]), -1,
|
||||||
m4_if(m4_regexp([$1], [^/.*]), -1,
|
m4_if(regexp([$1], [^/.*]), -1,
|
||||||
[.],
|
[.],
|
||||||
m4_patsubst([$1], [^\(/\).*], [\1])),
|
patsubst([$1], [^\(/\).*], [\1])),
|
||||||
m4_patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
patsubst([$1], [^\(//\)\([^/].*\|$\)], [\1])),
|
||||||
m4_patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
patsubst([$1], [^\(.*[^/]\)//*[^/][^/]*/*$], [\1]))[]dnl
|
||||||
]) # _AM_DIRNAME
|
])# _AM_DIRNAME
|
||||||
|
|
||||||
|
|
||||||
|
# The stamp files are numbered to have different names.
|
||||||
|
# We could number them on a directory basis, but that's additional
|
||||||
|
# complications, let's have a unique counter.
|
||||||
|
m4_define([_AM_STAMP_Count], [0])
|
||||||
|
|
||||||
|
|
||||||
|
# _AM_STAMP(HEADER)
|
||||||
|
# -----------------
|
||||||
|
# The name of the stamp file for HEADER.
|
||||||
|
AC_DEFUN([_AM_STAMP],
|
||||||
|
[m4_define([_AM_STAMP_Count], m4_incr(_AM_STAMP_Count))dnl
|
||||||
|
AS_ESCAPE(_AM_DIRNAME(patsubst([$1],
|
||||||
|
[:.*])))/stamp-h[]_AM_STAMP_Count])
|
||||||
|
|
||||||
|
|
||||||
|
# _AM_CONFIG_HEADER(HEADER[:SOURCES], COMMANDS, INIT-COMMANDS)
|
||||||
|
# ------------------------------------------------------------
|
||||||
|
# We used to try to get a real timestamp in stamp-h. But the fear is that
|
||||||
|
# that will cause unnecessary cvs conflicts.
|
||||||
|
AC_DEFUN([_AM_CONFIG_HEADER],
|
||||||
|
[# Add the stamp file to the list of files AC keeps track of,
|
||||||
|
# along with our hook.
|
||||||
|
AC_CONFIG_HEADERS([$1],
|
||||||
|
[# update the timestamp
|
||||||
|
echo 'timestamp for $1' >"_AM_STAMP([$1])"
|
||||||
|
$2],
|
||||||
|
[$3])
|
||||||
|
])# _AM_CONFIG_HEADER
|
||||||
|
|
||||||
|
|
||||||
|
# AM_CONFIG_HEADER(HEADER[:SOURCES]..., COMMANDS, INIT-COMMANDS)
|
||||||
|
# --------------------------------------------------------------
|
||||||
|
AC_DEFUN([AM_CONFIG_HEADER],
|
||||||
|
[AC_FOREACH([_AM_File], [$1], [_AM_CONFIG_HEADER(_AM_File, [$2], [$3])])
|
||||||
|
])# AM_CONFIG_HEADER
|
||||||
|
|
||||||
#serial 1
|
#serial 1
|
||||||
# This test replaces the one in autoconf.
|
# This test replaces the one in autoconf.
|
||||||
@@ -577,6 +741,23 @@ AC_DEFUN([AC_ISC_POSIX],
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright 1996, 1997, 1999, 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
# serial 1
|
# serial 1
|
||||||
|
|
||||||
# @defmac AC_PROG_CC_STDC
|
# @defmac AC_PROG_CC_STDC
|
||||||
@@ -665,23 +846,6 @@ case "x$am_cv_prog_cc_stdc" in
|
|||||||
esac
|
esac
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 1 -*- Autoconf -*-
|
|
||||||
|
|
||||||
# BISON_AC_PROG_GNU_M4
|
|
||||||
# --------------------
|
|
||||||
# Check for GNU m4, at least 1.3 (supports frozen files).
|
|
||||||
AC_DEFUN([BISON_AC_PROG_GNU_M4],
|
|
||||||
[AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
|
||||||
AC_CACHE_CHECK([whether m4 supports frozen files],
|
|
||||||
[ac_cv_prog_gnu_m4],
|
|
||||||
[ac_cv_prog_gnu_m4=no
|
|
||||||
if test x"$M4" != x; then
|
|
||||||
case `$M4 --help < /dev/null 2>&1` in
|
|
||||||
*reload-state*) ac_cv_prog_gnu_m4=yes ;;
|
|
||||||
esac
|
|
||||||
fi])
|
|
||||||
])# BISON_AC_PROG_GNU_M4
|
|
||||||
|
|
||||||
AC_DEFUN(BISON_WARNING,
|
AC_DEFUN(BISON_WARNING,
|
||||||
[AC_MSG_CHECKING(whether compiler accepts $1)
|
[AC_MSG_CHECKING(whether compiler accepts $1)
|
||||||
AC_SUBST(WARNING_CFLAGS)
|
AC_SUBST(WARNING_CFLAGS)
|
||||||
@@ -695,6 +859,23 @@ AC_MSG_RESULT(no))
|
|||||||
CFLAGS="$ac_save_CFLAGS"])
|
CFLAGS="$ac_save_CFLAGS"])
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright 1996, 1997, 1998, 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 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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.
|
||||||
|
|
||||||
# serial 1
|
# serial 1
|
||||||
|
|
||||||
AC_DEFUN([AM_C_PROTOTYPES],
|
AC_DEFUN([AM_C_PROTOTYPES],
|
||||||
@@ -716,19 +897,19 @@ AC_SUBST(U)dnl
|
|||||||
AC_SUBST(ANSI2KNR)dnl
|
AC_SUBST(ANSI2KNR)dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether malloc accepts 0 as its argument.
|
dnl Determine whether malloc accepts 0 as its argument.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_MALLOC,
|
AC_DEFUN([jm_FUNC_MALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
||||||
[Define if the malloc check has been performed. ])
|
[Define if the malloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -745,26 +926,25 @@ AC_DEFUN(jm_FUNC_MALLOC,
|
|||||||
jm_cv_func_working_malloc=no)
|
jm_cv_func_working_malloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_malloc = no; then
|
if test $jm_cv_func_working_malloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(malloc)
|
||||||
LIBOBJS="$LIBOBJS malloc.$ac_objext"
|
AC_DEFINE(malloc, rpl_malloc,
|
||||||
AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
|
|
||||||
[Define to rpl_malloc if the replacement function should be used.])
|
[Define to rpl_malloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether realloc works when both arguments are 0.
|
dnl Determine whether realloc works when both arguments are 0.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_REALLOC,
|
AC_DEFUN([jm_FUNC_REALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
||||||
[Define if the realloc check has been performed. ])
|
[Define if the realloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -781,33 +961,52 @@ AC_DEFUN(jm_FUNC_REALLOC,
|
|||||||
jm_cv_func_working_realloc=no)
|
jm_cv_func_working_realloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_realloc = no; then
|
if test $jm_cv_func_working_realloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(realloc)
|
||||||
LIBOBJS="$LIBOBJS realloc.$ac_objext"
|
AC_DEFINE(realloc, rpl_realloc,
|
||||||
AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
|
|
||||||
[Define to rpl_realloc if the replacement function should be used.])
|
[Define to rpl_realloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 1
|
#serial 2
|
||||||
|
|
||||||
dnl These are the prerequisite macros for files in the lib/
|
dnl These are the prerequisite macros for files in the lib/
|
||||||
dnl directories of Bison.
|
dnl directories of Bison.
|
||||||
|
|
||||||
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(isascii iswprint mbrtowc)
|
AC_CHECK_FUNCS(isascii iswprint mbsinit)
|
||||||
AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h)
|
jm_FUNC_MBRTOWC
|
||||||
|
AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h)
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_C_BACKSLASH_A
|
AC_C_BACKSLASH_A
|
||||||
AC_MBSTATE_T
|
AC_MBSTATE_T
|
||||||
AM_C_PROTOTYPES
|
AM_C_PROTOTYPES
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 3
|
#serial 4
|
||||||
|
|
||||||
|
dnl From Paul Eggert
|
||||||
|
|
||||||
|
AC_DEFUN([jm_FUNC_MBRTOWC],
|
||||||
|
[
|
||||||
|
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
|
||||||
|
jm_cv_func_mbrtowc,
|
||||||
|
[AC_TRY_LINK(
|
||||||
|
[#include <wchar.h>],
|
||||||
|
[mbstate_t state; return ! (sizeof state && mbrtowc);],
|
||||||
|
jm_cv_func_mbrtowc=yes,
|
||||||
|
jm_cv_func_mbrtowc=no)])
|
||||||
|
if test $jm_cv_func_mbrtowc = yes; then
|
||||||
|
AC_DEFINE(HAVE_MBRTOWC, 1,
|
||||||
|
[Define to 1 if mbrtowc and mbstate_t are properly declared.])
|
||||||
|
fi
|
||||||
|
])
|
||||||
|
|
||||||
|
#serial 4
|
||||||
|
|
||||||
dnl From Paul Eggert.
|
dnl From Paul Eggert.
|
||||||
|
|
||||||
AC_DEFUN(AC_C_BACKSLASH_A,
|
AC_DEFUN([AC_C_BACKSLASH_A],
|
||||||
[
|
[
|
||||||
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
||||||
[AC_TRY_COMPILE([],
|
[AC_TRY_COMPILE([],
|
||||||
@@ -827,7 +1026,7 @@ AC_DEFUN(AC_C_BACKSLASH_A,
|
|||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|
||||||
# serial 8
|
# serial 9
|
||||||
|
|
||||||
# From Paul Eggert.
|
# From Paul Eggert.
|
||||||
|
|
||||||
@@ -839,7 +1038,7 @@ AC_DEFUN(AC_C_BACKSLASH_A,
|
|||||||
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
||||||
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
||||||
|
|
||||||
AC_DEFUN(AC_MBSTATE_T,
|
AC_DEFUN([AC_MBSTATE_T],
|
||||||
[
|
[
|
||||||
AC_CHECK_HEADERS(stdlib.h)
|
AC_CHECK_HEADERS(stdlib.h)
|
||||||
|
|
||||||
@@ -857,25 +1056,40 @@ AC_DEFUN(AC_MBSTATE_T,
|
|||||||
[Define to a type if <wchar.h> does not define.])
|
[Define to a type if <wchar.h> does not define.])
|
||||||
fi])
|
fi])
|
||||||
|
|
||||||
#serial 1
|
#serial 4
|
||||||
|
|
||||||
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
||||||
dnl directory -- otherwise, they'll conflict with existing files.
|
dnl directory -- otherwise, they'll conflict with existing files.
|
||||||
|
|
||||||
dnl These are the prerequisite macros for GNU's error.c file.
|
dnl These are the prerequisite macros for GNU's error.c file.
|
||||||
AC_DEFUN(jm_PREREQ_ERROR,
|
AC_DEFUN([jm_PREREQ_ERROR],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
|
AC_CHECK_FUNCS(strerror vprintf doprnt)
|
||||||
AC_HEADER_STDC
|
AC_CHECK_DECLS([strerror])
|
||||||
AC_FUNC_STRERROR_R
|
AC_FUNC_STRERROR_R
|
||||||
|
AC_HEADER_STDC
|
||||||
])
|
])
|
||||||
|
|
||||||
#serial 1002
|
#serial 1003
|
||||||
# Experimental replacement for the function in the latest CVS autoconf.
|
# Experimental replacement for the function in the latest CVS autoconf.
|
||||||
# If the compile-test says strerror_r doesn't work, then resort to a
|
|
||||||
# `run'-test that works on BeOS and segfaults on DEC Unix.
|
|
||||||
# Use with the error.c file in ../lib.
|
# Use with the error.c file in ../lib.
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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. */
|
||||||
|
|
||||||
undefine([AC_FUNC_STRERROR_R])
|
undefine([AC_FUNC_STRERROR_R])
|
||||||
|
|
||||||
# AC_FUNC_STRERROR_R
|
# AC_FUNC_STRERROR_R
|
||||||
@@ -883,57 +1097,36 @@ undefine([AC_FUNC_STRERROR_R])
|
|||||||
AC_DEFUN([AC_FUNC_STRERROR_R],
|
AC_DEFUN([AC_FUNC_STRERROR_R],
|
||||||
[AC_CHECK_DECLS([strerror_r])
|
[AC_CHECK_DECLS([strerror_r])
|
||||||
AC_CHECK_FUNCS([strerror_r])
|
AC_CHECK_FUNCS([strerror_r])
|
||||||
if test $ac_cv_func_strerror_r = yes; then
|
AC_CACHE_CHECK([whether strerror_r returns char *],
|
||||||
AC_CHECK_HEADERS(string.h)
|
ac_cv_func_strerror_r_char_p,
|
||||||
AC_CACHE_CHECK([for working strerror_r],
|
|
||||||
ac_cv_func_strerror_r_works,
|
|
||||||
[
|
[
|
||||||
AC_TRY_COMPILE(
|
ac_cv_func_strerror_r_char_p=no
|
||||||
[
|
if test $ac_cv_have_decl_strerror_r = yes; then
|
||||||
# include <stdio.h>
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
||||||
# if HAVE_STRING_H
|
[[
|
||||||
# include <string.h>
|
char buf[100];
|
||||||
# endif
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
],
|
char *p = strerror_r (0, buf, sizeof buf);
|
||||||
[
|
]])],
|
||||||
char buf[100];
|
ac_cv_func_strerror_r_char_p=yes)
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
else
|
||||||
],
|
# strerror_r is not declared. Choose between
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no
|
|
||||||
)
|
|
||||||
if test $ac_cv_func_strerror_r_works = no; then
|
|
||||||
# strerror_r seems not to work, but now we have to choose between
|
|
||||||
# systems that have relatively inaccessible declarations for the
|
# systems that have relatively inaccessible declarations for the
|
||||||
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
||||||
# former has a strerror_r that returns char*, while the latter
|
# former has a strerror_r that returns char*, while the latter
|
||||||
# has a strerror_r that returns `int'.
|
# has a strerror_r that returns `int'.
|
||||||
# This test should segfault on the DEC system.
|
# This test should segfault on the DEC system.
|
||||||
AC_TRY_RUN(
|
AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
|
||||||
[
|
extern char *strerror_r ();],
|
||||||
# include <stdio.h>
|
[[char buf[100];
|
||||||
# include <string.h>
|
|
||||||
# include <ctype.h>
|
|
||||||
|
|
||||||
extern char *strerror_r ();
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
char buf[100];
|
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
exit (!isalpha (x));
|
exit (!isalpha (x));]])],
|
||||||
}
|
ac_cv_func_strerror_r_char_p=yes, , :)
|
||||||
],
|
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no,
|
|
||||||
ac_cv_func_strerror_r_works=no)
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
if test $ac_cv_func_strerror_r_works = yes; then
|
if test $ac_cv_func_strerror_r_char_p = yes; then
|
||||||
AC_DEFINE_UNQUOTED(HAVE_WORKING_STRERROR_R, 1,
|
AC_DEFINE([STRERROR_R_CHAR_P], 1,
|
||||||
[Define to 1 if `strerror_r' returns a string.])
|
[Define to 1 if strerror_r returns char *.])
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
])# AC_FUNC_STRERROR_R
|
])# AC_FUNC_STRERROR_R
|
||||||
|
|
||||||
@@ -961,10 +1154,12 @@ fi], [AC_MSG_RESULT(no)])
|
|||||||
#
|
#
|
||||||
# This file can 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
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 10
|
# serial 10
|
||||||
|
|
||||||
@@ -1199,7 +1394,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
dnl Found it, now check the version.
|
dnl Found it, now check the version.
|
||||||
AC_MSG_CHECKING([version of bison])
|
AC_MSG_CHECKING([version of bison])
|
||||||
changequote(<<,>>)dnl
|
changequote(<<,>>)dnl
|
||||||
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||||||
case $ac_prog_version in
|
case $ac_prog_version in
|
||||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||||
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
||||||
@@ -1330,10 +1525,12 @@ strdup strtoul tsearch __argz_count __argz_stringify __argz_next])
|
|||||||
#
|
#
|
||||||
# This file can 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
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
@@ -1495,10 +1692,12 @@ AC_DEFUN([AM_LANGINFO_CODESET],
|
|||||||
#
|
#
|
||||||
# This file can 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
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
|
|||||||
+11
-4
@@ -38,6 +38,10 @@
|
|||||||
*/
|
*/
|
||||||
#undef HAVE_DECL_STPCPY
|
#undef HAVE_DECL_STPCPY
|
||||||
|
|
||||||
|
/* Define to 1 if you have the declaration of `strerror', and to 0 if you
|
||||||
|
don't. */
|
||||||
|
#undef HAVE_DECL_STRERROR
|
||||||
|
|
||||||
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
|
||||||
don't. */
|
don't. */
|
||||||
#undef HAVE_DECL_STRERROR_R
|
#undef HAVE_DECL_STRERROR_R
|
||||||
@@ -113,9 +117,12 @@
|
|||||||
/* Define if you have the <malloc.h> header file. */
|
/* Define if you have the <malloc.h> header file. */
|
||||||
#undef HAVE_MALLOC_H
|
#undef HAVE_MALLOC_H
|
||||||
|
|
||||||
/* Define if you have the `mbrtowc' function. */
|
/* Define to 1 if mbrtowc and mbstate_t are properly declared. */
|
||||||
#undef HAVE_MBRTOWC
|
#undef HAVE_MBRTOWC
|
||||||
|
|
||||||
|
/* Define if you have the `mbsinit' function. */
|
||||||
|
#undef HAVE_MBSINIT
|
||||||
|
|
||||||
/* Define if you have the `memchr' function. */
|
/* Define if you have the `memchr' function. */
|
||||||
#undef HAVE_MEMCHR
|
#undef HAVE_MEMCHR
|
||||||
|
|
||||||
@@ -215,9 +222,6 @@
|
|||||||
/* Define if you have the <wctype.h> header file. */
|
/* Define if you have the <wctype.h> header file. */
|
||||||
#undef HAVE_WCTYPE_H
|
#undef HAVE_WCTYPE_H
|
||||||
|
|
||||||
/* Define to 1 if `strerror_r' returns a string. */
|
|
||||||
#undef HAVE_WORKING_STRERROR_R
|
|
||||||
|
|
||||||
/* Define if you have the `__argz_count' function. */
|
/* Define if you have the `__argz_count' function. */
|
||||||
#undef HAVE___ARGZ_COUNT
|
#undef HAVE___ARGZ_COUNT
|
||||||
|
|
||||||
@@ -247,6 +251,9 @@
|
|||||||
/* Define if you have the ANSI C header files. */
|
/* Define if you have the ANSI C header files. */
|
||||||
#undef STDC_HEADERS
|
#undef STDC_HEADERS
|
||||||
|
|
||||||
|
/* Define to 1 if strerror_r returns char *. */
|
||||||
|
#undef STRERROR_R_CHAR_P
|
||||||
|
|
||||||
/* Version number of package */
|
/* Version number of package */
|
||||||
#undef VERSION
|
#undef VERSION
|
||||||
|
|
||||||
|
|||||||
+10
-7
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +44,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +59,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +73,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +86,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -111,9 +116,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu config/Makefile
|
$(AUTOMAKE) --gnu config/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
|
|||||||
Vendored
+16
-17
@@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-09-13'
|
timestamp='2001-10-05'
|
||||||
|
|
||||||
# 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
|
||||||
@@ -24,8 +24,9 @@ timestamp='2001-09-13'
|
|||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Written by Per Bothner <[email protected]>.
|
# Originally written by Per Bothner <[email protected]>.
|
||||||
# Please send patches to <[email protected]>.
|
# Please send patches to <[email protected]>. Submit a context
|
||||||
|
# diff and a properly formatted ChangeLog entry.
|
||||||
#
|
#
|
||||||
# This script attempts to guess a canonical system name similar to
|
# This script attempts to guess a canonical system name similar to
|
||||||
# config.sub. If it succeeds, it prints the system name on stdout, and
|
# config.sub. If it succeeds, it prints the system name on stdout, and
|
||||||
@@ -547,10 +548,8 @@ EOF
|
|||||||
9000/31? ) HP_ARCH=m68000 ;;
|
9000/31? ) HP_ARCH=m68000 ;;
|
||||||
9000/[34]?? ) HP_ARCH=m68k ;;
|
9000/[34]?? ) HP_ARCH=m68k ;;
|
||||||
9000/[678][0-9][0-9])
|
9000/[678][0-9][0-9])
|
||||||
case "${HPUX_REV}" in
|
if [ -x /usr/bin/getconf ]; then
|
||||||
11.[0-9][0-9])
|
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
||||||
if [ -x /usr/bin/getconf ]; then
|
|
||||||
sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
|
|
||||||
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
|
||||||
case "${sc_cpu_version}" in
|
case "${sc_cpu_version}" in
|
||||||
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0
|
||||||
@@ -559,13 +558,13 @@ EOF
|
|||||||
case "${sc_kernel_bits}" in
|
case "${sc_kernel_bits}" in
|
||||||
32) HP_ARCH="hppa2.0n" ;;
|
32) HP_ARCH="hppa2.0n" ;;
|
||||||
64) HP_ARCH="hppa2.0w" ;;
|
64) HP_ARCH="hppa2.0w" ;;
|
||||||
|
'') HP_ARCH="hppa2.0" ;; # HP-UX 10.20
|
||||||
esac ;;
|
esac ;;
|
||||||
esac
|
esac
|
||||||
fi ;;
|
fi
|
||||||
esac
|
if [ "${HP_ARCH}" = "" ]; then
|
||||||
if [ "${HP_ARCH}" = "" ]; then
|
eval $set_cc_for_build
|
||||||
eval $set_cc_for_build
|
sed 's/^ //' << EOF >$dummy.c
|
||||||
sed 's/^ //' << EOF >$dummy.c
|
|
||||||
|
|
||||||
#define _HPUX_SOURCE
|
#define _HPUX_SOURCE
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -598,10 +597,10 @@ EOF
|
|||||||
exit (0);
|
exit (0);
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy`
|
(CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null) && HP_ARCH=`./$dummy`
|
||||||
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi
|
||||||
rm -f $dummy.c $dummy
|
rm -f $dummy.c $dummy
|
||||||
fi ;;
|
fi ;;
|
||||||
esac
|
esac
|
||||||
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
echo ${HP_ARCH}-hp-hpux${HPUX_REV}
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
@@ -948,7 +947,7 @@ EOF
|
|||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
M68*:*:R3V[567]*:*)
|
M68*:*:R3V[567]*:*)
|
||||||
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;;
|
||||||
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0)
|
3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0)
|
||||||
OS_REL=''
|
OS_REL=''
|
||||||
test -r /etc/.relid \
|
test -r /etc/.relid \
|
||||||
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
&& OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
|
||||||
|
|||||||
Vendored
+6
-5
@@ -3,7 +3,7 @@
|
|||||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
|
|
||||||
timestamp='2001-09-14'
|
timestamp='2001-10-05'
|
||||||
|
|
||||||
# This file is (in principle) common to ALL GNU software.
|
# This file is (in principle) common to ALL GNU software.
|
||||||
# The presence of a machine in this file suggests that SOME GNU software
|
# The presence of a machine in this file suggests that SOME GNU software
|
||||||
@@ -29,7 +29,8 @@ timestamp='2001-09-14'
|
|||||||
# configuration script generated by Autoconf, you may include it under
|
# configuration script generated by Autoconf, you may include it under
|
||||||
# the same distribution terms that you use for the rest of that program.
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Please send patches to <[email protected]>.
|
# Please send patches to <[email protected]>. Submit a context
|
||||||
|
# diff and a properly formatted ChangeLog entry.
|
||||||
#
|
#
|
||||||
# Configuration subroutine to validate and canonicalize a configuration type.
|
# Configuration subroutine to validate and canonicalize a configuration type.
|
||||||
# Supply the specified configuration type as an argument.
|
# Supply the specified configuration type as an argument.
|
||||||
@@ -725,7 +726,7 @@ case $basic_machine in
|
|||||||
pc532 | pc532-*)
|
pc532 | pc532-*)
|
||||||
basic_machine=ns32k-pc532
|
basic_machine=ns32k-pc532
|
||||||
;;
|
;;
|
||||||
pentium | p5 | k5 | k6 | nexgen)
|
pentium | p5 | k5 | k6 | nexgen | viac3)
|
||||||
basic_machine=i586-pc
|
basic_machine=i586-pc
|
||||||
;;
|
;;
|
||||||
pentiumpro | p6 | 6x86 | athlon)
|
pentiumpro | p6 | 6x86 | athlon)
|
||||||
@@ -734,7 +735,7 @@ case $basic_machine in
|
|||||||
pentiumii | pentium2)
|
pentiumii | pentium2)
|
||||||
basic_machine=i686-pc
|
basic_machine=i686-pc
|
||||||
;;
|
;;
|
||||||
pentium-* | p5-* | k5-* | k6-* | nexgen-*)
|
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
||||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||||
;;
|
;;
|
||||||
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
||||||
@@ -796,7 +797,7 @@ case $basic_machine in
|
|||||||
basic_machine=sh-hitachi
|
basic_machine=sh-hitachi
|
||||||
os=-hms
|
os=-hms
|
||||||
;;
|
;;
|
||||||
sparclite-wrs)
|
sparclite-wrs | simso-wrs)
|
||||||
basic_machine=sparclite-wrs
|
basic_machine=sparclite-wrs
|
||||||
os=-vxworks
|
os=-vxworks
|
||||||
;;
|
;;
|
||||||
|
|||||||
+6
-1
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Get modification time of a file or directory and pretty-print it.
|
# Get modification time of a file or directory and pretty-print it.
|
||||||
# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
# Copyright 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
# written by Ulrich Drepper <[email protected]>, June 1995
|
# written by Ulrich Drepper <[email protected]>, June 1995
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@@ -17,6 +17,11 @@
|
|||||||
# along with this program; if not, write to the Free Software Foundation,
|
# along with this program; if not, write to the Free Software Foundation,
|
||||||
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
|
||||||
|
# As a special exception to the GNU General Public License, if you
|
||||||
|
# distribute this file as part of a program that contains a
|
||||||
|
# configuration script generated by Autoconf, you may include it under
|
||||||
|
# the same distribution terms that you use for the rest of that program.
|
||||||
|
|
||||||
# Prevent date giving response in another language.
|
# Prevent date giving response in another language.
|
||||||
LANG=C
|
LANG=C
|
||||||
export LANG
|
export LANG
|
||||||
|
|||||||
+66
-5
@@ -7,6 +7,52 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
errstatus=0
|
errstatus=0
|
||||||
|
dirmode=""
|
||||||
|
|
||||||
|
usage="\
|
||||||
|
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
|
||||||
|
|
||||||
|
# process command line arguments
|
||||||
|
while test $# -gt 0 ; do
|
||||||
|
case "${1}" in
|
||||||
|
-h | --help | --h* ) # -h for help
|
||||||
|
echo "${usage}" 1>&2; exit 0 ;;
|
||||||
|
-m ) # -m PERM arg
|
||||||
|
shift
|
||||||
|
test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
|
||||||
|
dirmode="${1}"
|
||||||
|
shift ;;
|
||||||
|
-- ) shift; break ;; # stop option processing
|
||||||
|
-* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option
|
||||||
|
* ) break ;; # first non-opt arg
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
|
for file
|
||||||
|
do
|
||||||
|
if test -d "$file"; then
|
||||||
|
shift
|
||||||
|
else
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
case $# in
|
||||||
|
0) exit 0 ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $dirmode in
|
||||||
|
'')
|
||||||
|
if mkdir -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -p -- $*"
|
||||||
|
exec mkdir -p -- "$@"
|
||||||
|
fi ;;
|
||||||
|
*)
|
||||||
|
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
|
||||||
|
echo "mkdir -m $dirmode -p -- $*"
|
||||||
|
exec mkdir -m "$dirmode" -p -- "$@"
|
||||||
|
fi ;;
|
||||||
|
esac
|
||||||
|
|
||||||
for file
|
for file
|
||||||
do
|
do
|
||||||
@@ -22,13 +68,24 @@ do
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
if test ! -d "$pathcomp"; then
|
if test ! -d "$pathcomp"; then
|
||||||
echo "mkdir $pathcomp"
|
echo "mkdir $pathcomp"
|
||||||
|
|
||||||
mkdir "$pathcomp" || lasterr=$?
|
mkdir "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
if test ! -d "$pathcomp"; then
|
if test ! -d "$pathcomp"; then
|
||||||
errstatus=$lasterr
|
errstatus=$lasterr
|
||||||
fi
|
else
|
||||||
|
if test ! -z "$dirmode"; then
|
||||||
|
echo "chmod $dirmode $pathcomp"
|
||||||
|
|
||||||
|
lasterr=""
|
||||||
|
chmod "$dirmode" "$pathcomp" || lasterr=$?
|
||||||
|
|
||||||
|
if test ! -z "$lasterr"; then
|
||||||
|
errstatus=$lasterr
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pathcomp="$pathcomp/"
|
pathcomp="$pathcomp/"
|
||||||
@@ -37,4 +94,8 @@ done
|
|||||||
|
|
||||||
exit $errstatus
|
exit $errstatus
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: shell-script
|
||||||
|
# sh-indentation: 3
|
||||||
|
# End:
|
||||||
# mkinstalldirs ends here
|
# mkinstalldirs ends here
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1.29a
|
1.30
|
||||||
|
|||||||
+8
-10
@@ -18,14 +18,18 @@
|
|||||||
# We need a recent Autoconf to run a recent Autotest.
|
# We need a recent Autoconf to run a recent Autotest.
|
||||||
AC_PREREQ(2.52e)
|
AC_PREREQ(2.52e)
|
||||||
|
|
||||||
AC_INIT([GNU Bison], [1.29b], [[email protected]])
|
AC_INIT([GNU Bison], [1.30a], [[email protected]])
|
||||||
AC_CONFIG_AUX_DIR(config)
|
AC_CONFIG_AUX_DIR(config)
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE([bison], [1.29b])
|
AM_INIT_AUTOMAKE([bison], [1.30a])
|
||||||
AM_CONFIG_HEADER(config.h:config.hin)
|
AM_CONFIG_HEADER(config.h:config.hin)
|
||||||
|
|
||||||
# Initialize the test suite.
|
# Initialize the test suite.
|
||||||
AC_CONFIG_TESTDIR(tests)
|
AC_CONFIG_TESTDIR(tests)
|
||||||
|
AC_CONFIG_FILES([tests/bison], [chmod +x tests/bison])
|
||||||
|
AC_CONFIG_FILES([tests/Makefile tests/atlocal])
|
||||||
|
# Needed by tests/atlocal.in.
|
||||||
|
AC_SUBST([GCC])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
@@ -33,12 +37,7 @@ AC_MINIX
|
|||||||
AC_ISC_POSIX
|
AC_ISC_POSIX
|
||||||
AM_PROG_CC_STDC
|
AM_PROG_CC_STDC
|
||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
# GNU M4 is needed to build the testsuite.
|
AM_MISSING_PROG([AUTOM4TE], [autom4te])
|
||||||
BISON_AC_PROG_GNU_M4
|
|
||||||
if test "$ac_cv_prog_gnu_m4" != yes; then
|
|
||||||
missing_dir=`cd $ac_aux_dir && pwd`
|
|
||||||
M4="$missing_dir/missing m4"
|
|
||||||
fi
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(gcc-warnings,
|
AC_ARG_ENABLE(gcc-warnings,
|
||||||
[ --enable-gcc-warnings turn on lots of GCC warnings (not recommended)],
|
[ --enable-gcc-warnings turn on lots of GCC warnings (not recommended)],
|
||||||
@@ -102,5 +101,4 @@ AC_OUTPUT([Makefile
|
|||||||
config/Makefile
|
config/Makefile
|
||||||
intl/Makefile po/Makefile.in
|
intl/Makefile po/Makefile.in
|
||||||
lib/Makefile src/Makefile doc/Makefile
|
lib/Makefile src/Makefile doc/Makefile
|
||||||
m4/Makefile
|
m4/Makefile])
|
||||||
tests/Makefile])
|
|
||||||
|
|||||||
+20
-15
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +44,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +59,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +73,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +86,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -127,9 +132,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu doc/Makefile
|
$(AUTOMAKE) --gnu doc/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
|
|
||||||
$(srcdir)/version.texi: $(srcdir)/stamp-vti
|
$(srcdir)/version.texi: $(srcdir)/stamp-vti
|
||||||
@:
|
@:
|
||||||
@@ -161,7 +164,7 @@ bison.dvi: bison.texinfo $(srcdir)/version.texi $(bison_TEXINFOS)
|
|||||||
`echo $< | sed 's,.*/,,'`
|
`echo $< | sed 's,.*/,,'`
|
||||||
|
|
||||||
.texinfo.dvi:
|
.texinfo.dvi:
|
||||||
TEXINPUTS=$(top_srcdir)/config:$$TEXINPUTS \
|
TEXINPUTS="$(top_srcdir)/config$(PATH_SEPARATOR)$$TEXINPUTS" \
|
||||||
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
|
||||||
$(TEXI2DVI) $<
|
$(TEXI2DVI) $<
|
||||||
|
|
||||||
@@ -200,9 +203,10 @@ dist-info: $(INFO_DEPS)
|
|||||||
list='$(INFO_DEPS)'; \
|
list='$(INFO_DEPS)'; \
|
||||||
for base in $$list; do \
|
for base in $$list; do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
|
for file in $$d/$$base*; do \
|
||||||
test -f $(distdir)/$$file \
|
relfile=`expr "$$file" : "$$d/\(.*\)"`; \
|
||||||
|| cp -p $$d/$$file $(distdir)/$$file; \
|
test -f $(distdir)/$$relfile || \
|
||||||
|
cp -p $$file $(distdir)/$$relfile; \
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
|
|
||||||
@@ -344,10 +348,11 @@ install-info-am: $(INFO_DEPS)
|
|||||||
@list='$(INFO_DEPS)'; \
|
@list='$(INFO_DEPS)'; \
|
||||||
for file in $$list; do \
|
for file in $$list; do \
|
||||||
d=$(srcdir); \
|
d=$(srcdir); \
|
||||||
for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
|
for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9]; do \
|
||||||
if test -f $$d/$$ifile; then \
|
if test -f $$ifile; then \
|
||||||
echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
|
relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
|
||||||
$(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
|
echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
|
||||||
|
$(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
|
||||||
else : ; fi; \
|
else : ; fi; \
|
||||||
done; \
|
done; \
|
||||||
done
|
done
|
||||||
|
|||||||
+106
-106
@@ -31,115 +31,115 @@ instead of in the original English.
|
|||||||
|
|
||||||
Indirect:
|
Indirect:
|
||||||
bison.info-1: 1313
|
bison.info-1: 1313
|
||||||
bison.info-2: 50691
|
bison.info-2: 50689
|
||||||
bison.info-3: 100581
|
bison.info-3: 100579
|
||||||
bison.info-4: 150131
|
bison.info-4: 147579
|
||||||
bison.info-5: 197908
|
bison.info-5: 197449
|
||||||
|
|
||||||
Tag Table:
|
Tag Table:
|
||||||
(Indirect)
|
(Indirect)
|
||||||
Node: Top1313
|
Node: Top1313
|
||||||
Node: Introduction8969
|
Node: Introduction8967
|
||||||
Node: Conditions10244
|
Node: Conditions10242
|
||||||
Node: Copying11708
|
Node: Copying11706
|
||||||
Node: Concepts30911
|
Node: Concepts30909
|
||||||
Node: Language and Grammar31990
|
Node: Language and Grammar31988
|
||||||
Node: Grammar in Bison37006
|
Node: Grammar in Bison37004
|
||||||
Node: Semantic Values38930
|
Node: Semantic Values38928
|
||||||
Node: Semantic Actions41031
|
Node: Semantic Actions41029
|
||||||
Node: Locations Overview42220
|
Node: Locations Overview42218
|
||||||
Node: Bison Parser43667
|
Node: Bison Parser43665
|
||||||
Node: Stages45979
|
Node: Stages45977
|
||||||
Node: Grammar Layout47262
|
Node: Grammar Layout47260
|
||||||
Node: Examples48519
|
Node: Examples48517
|
||||||
Node: RPN Calc49717
|
Node: RPN Calc49715
|
||||||
Node: Rpcalc Decls50691
|
Node: Rpcalc Decls50689
|
||||||
Node: Rpcalc Rules52278
|
Node: Rpcalc Rules52276
|
||||||
Node: Rpcalc Input54078
|
Node: Rpcalc Input54076
|
||||||
Node: Rpcalc Line55539
|
Node: Rpcalc Line55537
|
||||||
Node: Rpcalc Expr56654
|
Node: Rpcalc Expr56652
|
||||||
Node: Rpcalc Lexer58599
|
Node: Rpcalc Lexer58597
|
||||||
Node: Rpcalc Main61171
|
Node: Rpcalc Main61169
|
||||||
Node: Rpcalc Error61569
|
Node: Rpcalc Error61567
|
||||||
Node: Rpcalc Gen62577
|
Node: Rpcalc Gen62575
|
||||||
Node: Rpcalc Compile63726
|
Node: Rpcalc Compile63724
|
||||||
Node: Infix Calc64601
|
Node: Infix Calc64599
|
||||||
Node: Simple Error Recovery67308
|
Node: Simple Error Recovery67306
|
||||||
Node: Location Tracking Calc69197
|
Node: Location Tracking Calc69195
|
||||||
Node: Ltcalc Decls69927
|
Node: Ltcalc Decls69925
|
||||||
Node: Ltcalc Rules70836
|
Node: Ltcalc Rules70834
|
||||||
Node: Ltcalc Lexer72897
|
Node: Ltcalc Lexer72895
|
||||||
Node: Multi-function Calc75235
|
Node: Multi-function Calc75233
|
||||||
Node: Mfcalc Decl76802
|
Node: Mfcalc Decl76800
|
||||||
Node: Mfcalc Rules78825
|
Node: Mfcalc Rules78823
|
||||||
Node: Mfcalc Symtab80205
|
Node: Mfcalc Symtab80203
|
||||||
Node: Exercises86578
|
Node: Exercises86576
|
||||||
Node: Grammar File87084
|
Node: Grammar File87082
|
||||||
Node: Grammar Outline87932
|
Node: Grammar Outline87930
|
||||||
Node: C Declarations88666
|
Node: C Declarations88664
|
||||||
Node: Bison Declarations89246
|
Node: Bison Declarations89244
|
||||||
Node: Grammar Rules89658
|
Node: Grammar Rules89656
|
||||||
Node: C Code90118
|
Node: C Code90116
|
||||||
Node: Symbols91048
|
Node: Symbols91046
|
||||||
Node: Rules96129
|
Node: Rules96127
|
||||||
Node: Recursion97768
|
Node: Recursion97766
|
||||||
Node: Semantics99487
|
Node: Semantics99485
|
||||||
Node: Value Type100581
|
Node: Value Type100579
|
||||||
Node: Multiple Types101253
|
Node: Multiple Types101251
|
||||||
Node: Actions102270
|
Node: Actions102268
|
||||||
Node: Action Types105055
|
Node: Action Types105053
|
||||||
Node: Mid-Rule Actions106358
|
Node: Mid-Rule Actions106356
|
||||||
Node: Locations111928
|
Node: Locations111926
|
||||||
Node: Location Type112576
|
Node: Location Type112574
|
||||||
Node: Actions and Locations113134
|
Node: Actions and Locations113132
|
||||||
Node: Location Default Action115290
|
Node: Location Default Action115288
|
||||||
Node: Declarations116753
|
Node: Declarations116751
|
||||||
Node: Token Decl118072
|
Node: Token Decl118070
|
||||||
Node: Precedence Decl120085
|
Node: Precedence Decl120083
|
||||||
Node: Union Decl121636
|
Node: Union Decl121634
|
||||||
Node: Type Decl122480
|
Node: Type Decl122478
|
||||||
Node: Expect Decl123386
|
Node: Expect Decl123384
|
||||||
Node: Start Decl124932
|
Node: Start Decl124930
|
||||||
Node: Pure Decl125310
|
Node: Pure Decl125308
|
||||||
Node: Decl Summary126987
|
Node: Decl Summary126985
|
||||||
Node: Multiple Parsers132370
|
Node: Multiple Parsers133113
|
||||||
Node: Interface133864
|
Node: Interface134607
|
||||||
Node: Parser Function134736
|
Node: Parser Function135479
|
||||||
Node: Lexical135571
|
Node: Lexical136314
|
||||||
Node: Calling Convention136977
|
Node: Calling Convention137720
|
||||||
Node: Token Values139748
|
Node: Token Values140491
|
||||||
Node: Token Positions140897
|
Node: Token Positions141640
|
||||||
Node: Pure Calling141782
|
Node: Pure Calling142525
|
||||||
Node: Error Reporting144714
|
Node: Error Reporting145457
|
||||||
Node: Action Features146836
|
Node: Action Features147579
|
||||||
Node: Algorithm150131
|
Node: Algorithm150874
|
||||||
Node: Look-Ahead152424
|
Node: Look-Ahead153167
|
||||||
Node: Shift/Reduce154556
|
Node: Shift/Reduce155299
|
||||||
Node: Precedence157468
|
Node: Precedence158211
|
||||||
Node: Why Precedence158119
|
Node: Why Precedence158862
|
||||||
Node: Using Precedence159984
|
Node: Using Precedence160727
|
||||||
Node: Precedence Examples160952
|
Node: Precedence Examples161695
|
||||||
Node: How Precedence161653
|
Node: How Precedence162396
|
||||||
Node: Contextual Precedence162802
|
Node: Contextual Precedence163545
|
||||||
Node: Parser States164593
|
Node: Parser States165336
|
||||||
Node: Reduce/Reduce165836
|
Node: Reduce/Reduce166579
|
||||||
Node: Mystery Conflicts169397
|
Node: Mystery Conflicts170140
|
||||||
Node: Stack Overflow172783
|
Node: Stack Overflow173526
|
||||||
Node: Error Recovery174156
|
Node: Error Recovery174899
|
||||||
Node: Context Dependency179292
|
Node: Context Dependency180035
|
||||||
Node: Semantic Tokens180140
|
Node: Semantic Tokens180883
|
||||||
Node: Lexical Tie-ins183157
|
Node: Lexical Tie-ins183900
|
||||||
Node: Tie-in Recovery184705
|
Node: Tie-in Recovery185448
|
||||||
Node: Debugging186877
|
Node: Debugging187620
|
||||||
Node: Invocation190178
|
Node: Invocation190921
|
||||||
Node: Bison Options191430
|
Node: Bison Options192173
|
||||||
Node: Environment Variables195398
|
Node: Environment Variables195723
|
||||||
Node: Option Cross Key196246
|
Node: Option Cross Key196571
|
||||||
Node: VMS Invocation197124
|
Node: VMS Invocation197449
|
||||||
Node: Table of Symbols197908
|
Node: Table of Symbols198233
|
||||||
Node: Glossary205547
|
Node: Glossary206201
|
||||||
Node: Copying This Manual211851
|
Node: Copying This Manual212505
|
||||||
Node: GNU Free Documentation License212060
|
Node: GNU Free Documentation License212714
|
||||||
Node: Index231925
|
Node: Index232579
|
||||||
|
|
||||||
End Tag Table
|
End Tag Table
|
||||||
|
|||||||
+2
-2
@@ -34,7 +34,7 @@ File: bison.info, Node: Top, Next: Introduction, Up: (dir)
|
|||||||
Bison
|
Bison
|
||||||
*****
|
*****
|
||||||
|
|
||||||
This manual documents version 1.29b of Bison, updated 20 September
|
This manual documents version 1.30a of Bison, updated 5 November
|
||||||
2001.
|
2001.
|
||||||
|
|
||||||
* Menu:
|
* Menu:
|
||||||
@@ -238,7 +238,7 @@ Bison in detail.
|
|||||||
it Yacc-compatible. Wilfred Hansen of Carnegie Mellon University added
|
it Yacc-compatible. Wilfred Hansen of Carnegie Mellon University added
|
||||||
multi-character string literals and other features.
|
multi-character string literals and other features.
|
||||||
|
|
||||||
This edition corresponds to version 1.29b of Bison.
|
This edition corresponds to version 1.30a of Bison.
|
||||||
|
|
||||||
|
|
||||||
File: bison.info, Node: Conditions, Next: Copying, Prev: Introduction, Up: Top
|
File: bison.info, Node: Conditions, Next: Copying, Prev: Introduction, Up: Top
|
||||||
|
|||||||
+62
-132
@@ -710,7 +710,7 @@ File: bison.info, Node: Decl Summary, Prev: Pure Decl, Up: Declarations
|
|||||||
Bison Declaration Summary
|
Bison Declaration Summary
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
Here is a summary of all Bison declarations:
|
Here is a summary of the declarations used to define a grammar:
|
||||||
|
|
||||||
`%union'
|
`%union'
|
||||||
Declare the collection of data types that semantic values may have
|
Declare the collection of data types that semantic values may have
|
||||||
@@ -745,38 +745,9 @@ Bison Declaration Summary
|
|||||||
Declare the expected number of shift-reduce conflicts (*note
|
Declare the expected number of shift-reduce conflicts (*note
|
||||||
Suppressing Conflict Warnings: Expect Decl.).
|
Suppressing Conflict Warnings: Expect Decl.).
|
||||||
|
|
||||||
`%yacc'
|
|
||||||
`%fixed_output_files'
|
|
||||||
Pretend the option `--yacc' was given, i.e., imitate Yacc,
|
|
||||||
including its naming conventions. *Note Bison Options::, for more.
|
|
||||||
|
|
||||||
`%locations'
|
In order to change the behavior of `bison', use the following
|
||||||
Generate the code processing the locations (*note Special Features
|
directives:
|
||||||
for Use in Actions: Action Features.). This mode is enabled as
|
|
||||||
soon as the grammar uses the special `@N' tokens, but if your
|
|
||||||
grammar does not use it, using `%locations' allows for more
|
|
||||||
accurate parse error messages.
|
|
||||||
|
|
||||||
`%pure_parser'
|
|
||||||
Request a pure (reentrant) parser program (*note A Pure
|
|
||||||
(Reentrant) Parser: Pure Decl.).
|
|
||||||
|
|
||||||
`%no_parser'
|
|
||||||
Do not include any C code in the parser file; generate tables
|
|
||||||
only. The parser file contains just `#define' directives and
|
|
||||||
static variable declarations.
|
|
||||||
|
|
||||||
This option also tells Bison to write the C code for the grammar
|
|
||||||
actions into a file named `FILENAME.act', in the form of a
|
|
||||||
brace-surrounded body fit for a `switch' statement.
|
|
||||||
|
|
||||||
`%no_lines'
|
|
||||||
Don't generate any `#line' preprocessor commands in the parser
|
|
||||||
file. Ordinarily Bison writes these commands in the parser file
|
|
||||||
so that the C compiler and debuggers will associate errors and
|
|
||||||
object code with your source file (the grammar file). This
|
|
||||||
directive causes them to associate errors with the parser file,
|
|
||||||
treating it an independent source file in its own right.
|
|
||||||
|
|
||||||
`%debug'
|
`%debug'
|
||||||
Output a definition of the macro `YYDEBUG' into the parser file, so
|
Output a definition of the macro `YYDEBUG' into the parser file, so
|
||||||
@@ -796,20 +767,48 @@ Bison Declaration Summary
|
|||||||
able to refer to token type codes and the variable `yylval'.
|
able to refer to token type codes and the variable `yylval'.
|
||||||
*Note Semantic Values of Tokens: Token Values.
|
*Note Semantic Values of Tokens: Token Values.
|
||||||
|
|
||||||
`%verbose'
|
`%file-prefix="PREFIX"'
|
||||||
Write an extra output file containing verbose descriptions of the
|
Specify a prefix to use for all Bison output file names. The
|
||||||
parser states and what is done for each type of look-ahead token in
|
names are chosen as if the input file were named `PREFIX.y'.
|
||||||
that state.
|
|
||||||
|
|
||||||
This file also describes all the conflicts, both those resolved by
|
`%locations'
|
||||||
operator precedence and the unresolved ones.
|
Generate the code processing the locations (*note Special Features
|
||||||
|
for Use in Actions: Action Features.). This mode is enabled as
|
||||||
|
soon as the grammar uses the special `@N' tokens, but if your
|
||||||
|
grammar does not use it, using `%locations' allows for more
|
||||||
|
accurate parse error messages.
|
||||||
|
|
||||||
The file's name is made by removing `.tab.c' or `.c' from the
|
`%name-prefix="PREFIX"'
|
||||||
parser output file name, and adding `.output' instead.
|
Rename the external symbols used in the parser so that they start
|
||||||
|
with PREFIX instead of `yy'. The precise list of symbols renamed
|
||||||
|
is `yyparse', `yylex', `yyerror', `yynerrs', `yylval', `yychar'
|
||||||
|
and `yydebug'. For example, if you use `%name-prefix="c_"', the
|
||||||
|
names become `c_parse', `c_lex', and so on. *Note Multiple
|
||||||
|
Parsers in the Same Program: Multiple Parsers.
|
||||||
|
|
||||||
Therefore, if the input file is `foo.y', then the parser file is
|
`%no-parser'
|
||||||
called `foo.tab.c' by default. As a consequence, the verbose
|
Do not include any C code in the parser file; generate tables
|
||||||
output file is called `foo.output'.
|
only. The parser file contains just `#define' directives and
|
||||||
|
static variable declarations.
|
||||||
|
|
||||||
|
This option also tells Bison to write the C code for the grammar
|
||||||
|
actions into a file named `FILENAME.act', in the form of a
|
||||||
|
brace-surrounded body fit for a `switch' statement.
|
||||||
|
|
||||||
|
`%no-lines'
|
||||||
|
Don't generate any `#line' preprocessor commands in the parser
|
||||||
|
file. Ordinarily Bison writes these commands in the parser file
|
||||||
|
so that the C compiler and debuggers will associate errors and
|
||||||
|
object code with your source file (the grammar file). This
|
||||||
|
directive causes them to associate errors with the parser file,
|
||||||
|
treating it an independent source file in its own right.
|
||||||
|
|
||||||
|
`%output="FILENAME"'
|
||||||
|
Specify the FILENAME for the parser file.
|
||||||
|
|
||||||
|
`%pure-parser'
|
||||||
|
Request a pure (reentrant) parser program (*note A Pure
|
||||||
|
(Reentrant) Parser: Pure Decl.).
|
||||||
|
|
||||||
`%token_table'
|
`%token_table'
|
||||||
Generate an array of token names in the parser file. The name of
|
Generate an array of token names in the parser file. The name of
|
||||||
@@ -845,6 +844,26 @@ Bison Declaration Summary
|
|||||||
`YYNSTATES'
|
`YYNSTATES'
|
||||||
The number of parser states (*note Parser States::).
|
The number of parser states (*note Parser States::).
|
||||||
|
|
||||||
|
`%verbose'
|
||||||
|
Write an extra output file containing verbose descriptions of the
|
||||||
|
parser states and what is done for each type of look-ahead token in
|
||||||
|
that state.
|
||||||
|
|
||||||
|
This file also describes all the conflicts, both those resolved by
|
||||||
|
operator precedence and the unresolved ones.
|
||||||
|
|
||||||
|
The file's name is made by removing `.tab.c' or `.c' from the
|
||||||
|
parser output file name, and adding `.output' instead.
|
||||||
|
|
||||||
|
Therefore, if the input file is `foo.y', then the parser file is
|
||||||
|
called `foo.tab.c' by default. As a consequence, the verbose
|
||||||
|
output file is called `foo.output'.
|
||||||
|
|
||||||
|
`%yacc'
|
||||||
|
`%fixed-output-files'
|
||||||
|
Pretend the option `--yacc' was given, i.e., imitate Yacc,
|
||||||
|
including its naming conventions. *Note Bison Options::, for more.
|
||||||
|
|
||||||
|
|
||||||
File: bison.info, Node: Multiple Parsers, Prev: Declarations, Up: Grammar File
|
File: bison.info, Node: Multiple Parsers, Prev: Declarations, Up: Grammar File
|
||||||
|
|
||||||
@@ -1226,92 +1245,3 @@ encountered so far. Normally this variable is global; but if you
|
|||||||
request a pure parser (*note A Pure (Reentrant) Parser: Pure Decl.)
|
request a pure parser (*note A Pure (Reentrant) Parser: Pure Decl.)
|
||||||
then it is a local variable which only the actions can access.
|
then it is a local variable which only the actions can access.
|
||||||
|
|
||||||
|
|
||||||
File: bison.info, Node: Action Features, Prev: Error Reporting, Up: Interface
|
|
||||||
|
|
||||||
Special Features for Use in Actions
|
|
||||||
===================================
|
|
||||||
|
|
||||||
Here is a table of Bison constructs, variables and macros that are
|
|
||||||
useful in actions.
|
|
||||||
|
|
||||||
`$$'
|
|
||||||
Acts like a variable that contains the semantic value for the
|
|
||||||
grouping made by the current rule. *Note Actions::.
|
|
||||||
|
|
||||||
`$N'
|
|
||||||
Acts like a variable that contains the semantic value for the Nth
|
|
||||||
component of the current rule. *Note Actions::.
|
|
||||||
|
|
||||||
`$<TYPEALT>$'
|
|
||||||
Like `$$' but specifies alternative TYPEALT in the union specified
|
|
||||||
by the `%union' declaration. *Note Data Types of Values in
|
|
||||||
Actions: Action Types.
|
|
||||||
|
|
||||||
`$<TYPEALT>N'
|
|
||||||
Like `$N' but specifies alternative TYPEALT in the union specified
|
|
||||||
by the `%union' declaration. *Note Data Types of Values in
|
|
||||||
Actions: Action Types.
|
|
||||||
|
|
||||||
`YYABORT;'
|
|
||||||
Return immediately from `yyparse', indicating failure. *Note The
|
|
||||||
Parser Function `yyparse': Parser Function.
|
|
||||||
|
|
||||||
`YYACCEPT;'
|
|
||||||
Return immediately from `yyparse', indicating success. *Note The
|
|
||||||
Parser Function `yyparse': Parser Function.
|
|
||||||
|
|
||||||
`YYBACKUP (TOKEN, VALUE);'
|
|
||||||
Unshift a token. This macro is allowed only for rules that reduce
|
|
||||||
a single value, and only when there is no look-ahead token. It
|
|
||||||
installs a look-ahead token with token type TOKEN and semantic
|
|
||||||
value VALUE; then it discards the value that was going to be
|
|
||||||
reduced by this rule.
|
|
||||||
|
|
||||||
If the macro is used when it is not valid, such as when there is a
|
|
||||||
look-ahead token already, then it reports a syntax error with a
|
|
||||||
message `cannot back up' and performs ordinary error recovery.
|
|
||||||
|
|
||||||
In either case, the rest of the action is not executed.
|
|
||||||
|
|
||||||
`YYEMPTY'
|
|
||||||
Value stored in `yychar' when there is no look-ahead token.
|
|
||||||
|
|
||||||
`YYERROR;'
|
|
||||||
Cause an immediate syntax error. This statement initiates error
|
|
||||||
recovery just as if the parser itself had detected an error;
|
|
||||||
however, it does not call `yyerror', and does not print any
|
|
||||||
message. If you want to print an error message, call `yyerror'
|
|
||||||
explicitly before the `YYERROR;' statement. *Note Error
|
|
||||||
Recovery::.
|
|
||||||
|
|
||||||
`YYRECOVERING'
|
|
||||||
This macro stands for an expression that has the value 1 when the
|
|
||||||
parser is recovering from a syntax error, and 0 the rest of the
|
|
||||||
time. *Note Error Recovery::.
|
|
||||||
|
|
||||||
`yychar'
|
|
||||||
Variable containing the current look-ahead token. (In a pure
|
|
||||||
parser, this is actually a local variable within `yyparse'.) When
|
|
||||||
there is no look-ahead token, the value `YYEMPTY' is stored in the
|
|
||||||
variable. *Note Look-Ahead Tokens: Look-Ahead.
|
|
||||||
|
|
||||||
`yyclearin;'
|
|
||||||
Discard the current look-ahead token. This is useful primarily in
|
|
||||||
error rules. *Note Error Recovery::.
|
|
||||||
|
|
||||||
`yyerrok;'
|
|
||||||
Resume generating error messages immediately for subsequent syntax
|
|
||||||
errors. This is useful primarily in error rules. *Note Error
|
|
||||||
Recovery::.
|
|
||||||
|
|
||||||
`@$'
|
|
||||||
Acts like a structure variable containing information on the
|
|
||||||
textual position of the grouping made by the current rule. *Note
|
|
||||||
Tracking Locations: Locations.
|
|
||||||
|
|
||||||
`@N'
|
|
||||||
Acts like a structure variable containing information on the
|
|
||||||
textual position of the Nth component of the current rule. *Note
|
|
||||||
Tracking Locations: Locations.
|
|
||||||
|
|
||||||
|
|||||||
+105
-48
@@ -28,6 +28,95 @@ License", "Conditions for Using Bison" and this permission notice may be
|
|||||||
included in translations approved by the Free Software Foundation
|
included in translations approved by the Free Software Foundation
|
||||||
instead of in the original English.
|
instead of in the original English.
|
||||||
|
|
||||||
|
|
||||||
|
File: bison.info, Node: Action Features, Prev: Error Reporting, Up: Interface
|
||||||
|
|
||||||
|
Special Features for Use in Actions
|
||||||
|
===================================
|
||||||
|
|
||||||
|
Here is a table of Bison constructs, variables and macros that are
|
||||||
|
useful in actions.
|
||||||
|
|
||||||
|
`$$'
|
||||||
|
Acts like a variable that contains the semantic value for the
|
||||||
|
grouping made by the current rule. *Note Actions::.
|
||||||
|
|
||||||
|
`$N'
|
||||||
|
Acts like a variable that contains the semantic value for the Nth
|
||||||
|
component of the current rule. *Note Actions::.
|
||||||
|
|
||||||
|
`$<TYPEALT>$'
|
||||||
|
Like `$$' but specifies alternative TYPEALT in the union specified
|
||||||
|
by the `%union' declaration. *Note Data Types of Values in
|
||||||
|
Actions: Action Types.
|
||||||
|
|
||||||
|
`$<TYPEALT>N'
|
||||||
|
Like `$N' but specifies alternative TYPEALT in the union specified
|
||||||
|
by the `%union' declaration. *Note Data Types of Values in
|
||||||
|
Actions: Action Types.
|
||||||
|
|
||||||
|
`YYABORT;'
|
||||||
|
Return immediately from `yyparse', indicating failure. *Note The
|
||||||
|
Parser Function `yyparse': Parser Function.
|
||||||
|
|
||||||
|
`YYACCEPT;'
|
||||||
|
Return immediately from `yyparse', indicating success. *Note The
|
||||||
|
Parser Function `yyparse': Parser Function.
|
||||||
|
|
||||||
|
`YYBACKUP (TOKEN, VALUE);'
|
||||||
|
Unshift a token. This macro is allowed only for rules that reduce
|
||||||
|
a single value, and only when there is no look-ahead token. It
|
||||||
|
installs a look-ahead token with token type TOKEN and semantic
|
||||||
|
value VALUE; then it discards the value that was going to be
|
||||||
|
reduced by this rule.
|
||||||
|
|
||||||
|
If the macro is used when it is not valid, such as when there is a
|
||||||
|
look-ahead token already, then it reports a syntax error with a
|
||||||
|
message `cannot back up' and performs ordinary error recovery.
|
||||||
|
|
||||||
|
In either case, the rest of the action is not executed.
|
||||||
|
|
||||||
|
`YYEMPTY'
|
||||||
|
Value stored in `yychar' when there is no look-ahead token.
|
||||||
|
|
||||||
|
`YYERROR;'
|
||||||
|
Cause an immediate syntax error. This statement initiates error
|
||||||
|
recovery just as if the parser itself had detected an error;
|
||||||
|
however, it does not call `yyerror', and does not print any
|
||||||
|
message. If you want to print an error message, call `yyerror'
|
||||||
|
explicitly before the `YYERROR;' statement. *Note Error
|
||||||
|
Recovery::.
|
||||||
|
|
||||||
|
`YYRECOVERING'
|
||||||
|
This macro stands for an expression that has the value 1 when the
|
||||||
|
parser is recovering from a syntax error, and 0 the rest of the
|
||||||
|
time. *Note Error Recovery::.
|
||||||
|
|
||||||
|
`yychar'
|
||||||
|
Variable containing the current look-ahead token. (In a pure
|
||||||
|
parser, this is actually a local variable within `yyparse'.) When
|
||||||
|
there is no look-ahead token, the value `YYEMPTY' is stored in the
|
||||||
|
variable. *Note Look-Ahead Tokens: Look-Ahead.
|
||||||
|
|
||||||
|
`yyclearin;'
|
||||||
|
Discard the current look-ahead token. This is useful primarily in
|
||||||
|
error rules. *Note Error Recovery::.
|
||||||
|
|
||||||
|
`yyerrok;'
|
||||||
|
Resume generating error messages immediately for subsequent syntax
|
||||||
|
errors. This is useful primarily in error rules. *Note Error
|
||||||
|
Recovery::.
|
||||||
|
|
||||||
|
`@$'
|
||||||
|
Acts like a structure variable containing information on the
|
||||||
|
textual position of the grouping made by the current rule. *Note
|
||||||
|
Tracking Locations: Locations.
|
||||||
|
|
||||||
|
`@N'
|
||||||
|
Acts like a structure variable containing information on the
|
||||||
|
textual position of the Nth component of the current rule. *Note
|
||||||
|
Tracking Locations: Locations.
|
||||||
|
|
||||||
|
|
||||||
File: bison.info, Node: Algorithm, Next: Error Recovery, Prev: Interface, Up: Top
|
File: bison.info, Node: Algorithm, Next: Error Recovery, Prev: Interface, Up: Top
|
||||||
|
|
||||||
@@ -1118,19 +1207,12 @@ Tuning the parser:
|
|||||||
Parser: Debugging.
|
Parser: Debugging.
|
||||||
|
|
||||||
`--locations'
|
`--locations'
|
||||||
Pretend that `%locactions' was specified. *Note Decl Summary::.
|
Pretend that `%locations' was specified. *Note Decl Summary::.
|
||||||
|
|
||||||
`-p PREFIX'
|
`-p PREFIX'
|
||||||
`--name-prefix=PREFIX'
|
`--name-prefix=PREFIX'
|
||||||
Rename the external symbols used in the parser so that they start
|
Pretend that `%name-prefix="PREFIX"' was specified. *Note Decl
|
||||||
with PREFIX instead of `yy'. The precise list of symbols renamed
|
Summary::.
|
||||||
is `yyparse', `yylex', `yyerror', `yynerrs', `yylval', `yychar'
|
|
||||||
and `yydebug'.
|
|
||||||
|
|
||||||
For example, if you use `-p c', the names become `cparse', `clex',
|
|
||||||
and so on.
|
|
||||||
|
|
||||||
*Note Multiple Parsers in the Same Program: Multiple Parsers.
|
|
||||||
|
|
||||||
`-l'
|
`-l'
|
||||||
`--no-lines'
|
`--no-lines'
|
||||||
@@ -1143,41 +1225,40 @@ Tuning the parser:
|
|||||||
|
|
||||||
`-n'
|
`-n'
|
||||||
`--no-parser'
|
`--no-parser'
|
||||||
Pretend that `%no_parser' was specified. *Note Decl Summary::.
|
Pretend that `%no-parser' was specified. *Note Decl Summary::.
|
||||||
|
|
||||||
`-k'
|
`-k'
|
||||||
`--token-table'
|
`--token-table'
|
||||||
Pretend that `%token_table' was specified. *Note Decl Summary::.
|
Pretend that `%token-table' was specified. *Note Decl Summary::.
|
||||||
|
|
||||||
Adjust the output:
|
Adjust the output:
|
||||||
|
|
||||||
`-d'
|
`-d'
|
||||||
Pretend that `%verbose' was specified, i.e., write an extra output
|
`--defines'
|
||||||
|
Pretend that `%defines' was specified, i.e., write an extra output
|
||||||
file containing macro definitions for the token type names defined
|
file containing macro definitions for the token type names defined
|
||||||
in the grammar and the semantic value type `YYSTYPE', as well as a
|
in the grammar and the semantic value type `YYSTYPE', as well as a
|
||||||
few `extern' variable declarations. *Note Decl Summary::.
|
few `extern' variable declarations. *Note Decl Summary::.
|
||||||
|
|
||||||
`--defines=DEFINES-FILE'
|
`--defines=DEFINES-FILE'
|
||||||
The behaviour of -DEFINES is the same than `-d'. The only
|
Same as above, but save in the file DEFINES-FILE.
|
||||||
difference is that it has an optionnal argument which is the name
|
|
||||||
of the output filename.
|
|
||||||
|
|
||||||
`-b FILE-PREFIX'
|
`-b FILE-PREFIX'
|
||||||
`--file-prefix=PREFIX'
|
`--file-prefix=PREFIX'
|
||||||
Specify a prefix to use for all Bison output file names. The
|
Pretend that `%verbose' was specified, i.e, specify prefix to use
|
||||||
names are chosen as if the input file were named `PREFIX.c'.
|
for all Bison output file names. *Note Decl Summary::.
|
||||||
|
|
||||||
`-v'
|
`-v'
|
||||||
`--verbose'
|
`--verbose'
|
||||||
Pretend that `%verbose' was specified, i.e, write an extra output
|
Pretend that `%verbose' was specified, i.e, write an extra output
|
||||||
file containing verbose descriptions of the grammar and parser.
|
file containing verbose descriptions of the grammar and parser.
|
||||||
*Note Decl Summary::, for more.
|
*Note Decl Summary::.
|
||||||
|
|
||||||
`-o OUTFILE'
|
`-o FILENAME'
|
||||||
`--output-file=OUTFILE'
|
`--output=FILENAME'
|
||||||
Specify the name OUTFILE for the parser file.
|
Specify the FILENAME for the parser file.
|
||||||
|
|
||||||
The other output files' names are constructed from OUTFILE as
|
The other output files' names are constructed from FILENAME as
|
||||||
described under the `-v' and `-d' options.
|
described under the `-v' and `-d' options.
|
||||||
|
|
||||||
`-g'
|
`-g'
|
||||||
@@ -1230,32 +1311,8 @@ find the corresponding short option.
|
|||||||
--name-prefix=PREFIX -p NAME-PREFIX
|
--name-prefix=PREFIX -p NAME-PREFIX
|
||||||
--no-lines -l
|
--no-lines -l
|
||||||
--no-parser -n
|
--no-parser -n
|
||||||
--output-file=OUTFILE -o OUTFILE
|
--output=OUTFILE -o OUTFILE
|
||||||
--token-table -k
|
--token-table -k
|
||||||
--verbose -v
|
--verbose -v
|
||||||
--version -V
|
--version -V
|
||||||
|
|
||||||
|
|
||||||
File: bison.info, Node: VMS Invocation, Prev: Option Cross Key, Up: Invocation
|
|
||||||
|
|
||||||
Invoking Bison under VMS
|
|
||||||
========================
|
|
||||||
|
|
||||||
The command line syntax for Bison on VMS is a variant of the usual
|
|
||||||
Bison command syntax--adapted to fit VMS conventions.
|
|
||||||
|
|
||||||
To find the VMS equivalent for any Bison option, start with the long
|
|
||||||
option, and substitute a `/' for the leading `--', and substitute a `_'
|
|
||||||
for each `-' in the name of the long option. For example, the
|
|
||||||
following invocation under VMS:
|
|
||||||
|
|
||||||
bison /debug/name_prefix=bar foo.y
|
|
||||||
|
|
||||||
is equivalent to the following command under POSIX.
|
|
||||||
|
|
||||||
bison --debug --name-prefix=bar foo.y
|
|
||||||
|
|
||||||
The VMS file system does not permit filenames such as `foo.tab.c'.
|
|
||||||
In the above example, the output file would instead be named
|
|
||||||
`foo_tab.c'.
|
|
||||||
|
|
||||||
|
|||||||
+39
-3
@@ -28,6 +28,30 @@ License", "Conditions for Using Bison" and this permission notice may be
|
|||||||
included in translations approved by the Free Software Foundation
|
included in translations approved by the Free Software Foundation
|
||||||
instead of in the original English.
|
instead of in the original English.
|
||||||
|
|
||||||
|
|
||||||
|
File: bison.info, Node: VMS Invocation, Prev: Option Cross Key, Up: Invocation
|
||||||
|
|
||||||
|
Invoking Bison under VMS
|
||||||
|
========================
|
||||||
|
|
||||||
|
The command line syntax for Bison on VMS is a variant of the usual
|
||||||
|
Bison command syntax--adapted to fit VMS conventions.
|
||||||
|
|
||||||
|
To find the VMS equivalent for any Bison option, start with the long
|
||||||
|
option, and substitute a `/' for the leading `--', and substitute a `_'
|
||||||
|
for each `-' in the name of the long option. For example, the
|
||||||
|
following invocation under VMS:
|
||||||
|
|
||||||
|
bison /debug/name_prefix=bar foo.y
|
||||||
|
|
||||||
|
is equivalent to the following command under POSIX.
|
||||||
|
|
||||||
|
bison --debug --name-prefix=bar foo.y
|
||||||
|
|
||||||
|
The VMS file system does not permit filenames such as `foo.tab.c'.
|
||||||
|
In the above example, the output file would instead be named
|
||||||
|
`foo_tab.c'.
|
||||||
|
|
||||||
|
|
||||||
File: bison.info, Node: Table of Symbols, Next: Glossary, Prev: Invocation, Up: Top
|
File: bison.info, Node: Table of Symbols, Next: Glossary, Prev: Invocation, Up: Top
|
||||||
|
|
||||||
@@ -172,11 +196,19 @@ Bison Symbols
|
|||||||
Bison declaration to create a header file meant for the scanner.
|
Bison declaration to create a header file meant for the scanner.
|
||||||
*Note Decl Summary::.
|
*Note Decl Summary::.
|
||||||
|
|
||||||
|
`%file-prefix="PREFIX"'
|
||||||
|
Bison declaration to set tge prefix of the output files. *Note
|
||||||
|
Decl Summary::.
|
||||||
|
|
||||||
`%left'
|
`%left'
|
||||||
Bison declaration to assign left associativity to token(s). *Note
|
Bison declaration to assign left associativity to token(s). *Note
|
||||||
Operator Precedence: Precedence Decl.
|
Operator Precedence: Precedence Decl.
|
||||||
|
|
||||||
`%no_lines'
|
`%name-prefix="PREFIX"'
|
||||||
|
Bison declaration to rename the external symbols. *Note Decl
|
||||||
|
Summary::.
|
||||||
|
|
||||||
|
`%no-lines'
|
||||||
Bison declaration to avoid generating `#line' directives in the
|
Bison declaration to avoid generating `#line' directives in the
|
||||||
parser file. *Note Decl Summary::.
|
parser file. *Note Decl Summary::.
|
||||||
|
|
||||||
@@ -184,11 +216,15 @@ Bison Symbols
|
|||||||
Bison declaration to assign non-associativity to token(s). *Note
|
Bison declaration to assign non-associativity to token(s). *Note
|
||||||
Operator Precedence: Precedence Decl.
|
Operator Precedence: Precedence Decl.
|
||||||
|
|
||||||
|
`%output="FILENAME"'
|
||||||
|
Bison declaration to set the name of the parser file. *Note Decl
|
||||||
|
Summary::.
|
||||||
|
|
||||||
`%prec'
|
`%prec'
|
||||||
Bison declaration to assign a precedence to a specific rule.
|
Bison declaration to assign a precedence to a specific rule.
|
||||||
*Note Context-Dependent Precedence: Contextual Precedence.
|
*Note Context-Dependent Precedence: Contextual Precedence.
|
||||||
|
|
||||||
`%pure_parser'
|
`%pure-parser'
|
||||||
Bison declaration to request a pure (reentrant) parser. *Note A
|
Bison declaration to request a pure (reentrant) parser. *Note A
|
||||||
Pure (Reentrant) Parser: Pure Decl.
|
Pure (Reentrant) Parser: Pure Decl.
|
||||||
|
|
||||||
@@ -204,7 +240,7 @@ Bison Symbols
|
|||||||
Bison declaration to declare token(s) without specifying
|
Bison declaration to declare token(s) without specifying
|
||||||
precedence. *Note Token Type Names: Token Decl.
|
precedence. *Note Token Type Names: Token Decl.
|
||||||
|
|
||||||
`%token_table'
|
`%token-table'
|
||||||
Bison declaration to include a token name table in the parser file.
|
Bison declaration to include a token name table in the parser file.
|
||||||
*Note Decl Summary::.
|
*Note Decl Summary::.
|
||||||
|
|
||||||
|
|||||||
+128
-96
@@ -855,11 +855,12 @@ The C declarations section (@pxref{C Declarations, ,The C Declarations Section})
|
|||||||
preprocessor directives.
|
preprocessor directives.
|
||||||
|
|
||||||
The @code{#define} directive defines the macro @code{YYSTYPE}, thus
|
The @code{#define} directive defines the macro @code{YYSTYPE}, thus
|
||||||
specifying the C data type for semantic values of both tokens and groupings
|
specifying the C data type for semantic values of both tokens and
|
||||||
(@pxref{Value Type, ,Data Types of Semantic Values}). The Bison parser will use whatever type
|
groupings (@pxref{Value Type, ,Data Types of Semantic Values}). The
|
||||||
@code{YYSTYPE} is defined as; if you don't define it, @code{int} is the
|
Bison parser will use whatever type @code{YYSTYPE} is defined as; if you
|
||||||
default. Because we specify @code{double}, each token and each expression
|
don't define it, @code{int} is the default. Because we specify
|
||||||
has an associated value, which is a floating point number.
|
@code{double}, each token and each expression has an associated value,
|
||||||
|
which is a floating point number.
|
||||||
|
|
||||||
The @code{#include} directive is used to declare the exponentiation
|
The @code{#include} directive is used to declare the exponentiation
|
||||||
function @code{pow}.
|
function @code{pow}.
|
||||||
@@ -1066,10 +1067,11 @@ token type is an identifier, that identifier is defined by Bison as a C
|
|||||||
macro whose definition is the appropriate number. In this example,
|
macro whose definition is the appropriate number. In this example,
|
||||||
therefore, @code{NUM} becomes a macro for @code{yylex} to use.
|
therefore, @code{NUM} becomes a macro for @code{yylex} to use.
|
||||||
|
|
||||||
The semantic value of the token (if it has one) is stored into the global
|
The semantic value of the token (if it has one) is stored into the
|
||||||
variable @code{yylval}, which is where the Bison parser will look for it.
|
global variable @code{yylval}, which is where the Bison parser will look
|
||||||
(The C data type of @code{yylval} is @code{YYSTYPE}, which was defined
|
for it. (The C data type of @code{yylval} is @code{YYSTYPE}, which was
|
||||||
at the beginning of the grammar; @pxref{Rpcalc Decls, ,Declarations for @code{rpcalc}}.)
|
defined at the beginning of the grammar; @pxref{Rpcalc Decls,
|
||||||
|
,Declarations for @code{rpcalc}}.)
|
||||||
|
|
||||||
A token type code of zero is returned if the end-of-file is encountered.
|
A token type code of zero is returned if the end-of-file is encountered.
|
||||||
(Bison recognizes any nonpositive value as indicating the end of the
|
(Bison recognizes any nonpositive value as indicating the end of the
|
||||||
@@ -2374,7 +2376,8 @@ the numbers associated with @var{x} and @var{y}.
|
|||||||
|
|
||||||
In a simple program it may be sufficient to use the same data type for
|
In a simple program it may be sufficient to use the same data type for
|
||||||
the semantic values of all language constructs. This was true in the
|
the semantic values of all language constructs. This was true in the
|
||||||
RPN and infix calculator examples (@pxref{RPN Calc, ,Reverse Polish Notation Calculator}).
|
RPN and infix calculator examples (@pxref{RPN Calc, ,Reverse Polish
|
||||||
|
Notation Calculator}).
|
||||||
|
|
||||||
Bison's default is to use type @code{int} for all semantic values. To
|
Bison's default is to use type @code{int} for all semantic values. To
|
||||||
specify some other type, define @code{YYSTYPE} as a macro, like this:
|
specify some other type, define @code{YYSTYPE} as a macro, like this:
|
||||||
@@ -3167,7 +3170,7 @@ valid grammar.
|
|||||||
@cindex declaration summary
|
@cindex declaration summary
|
||||||
@cindex summary, Bison declaration
|
@cindex summary, Bison declaration
|
||||||
|
|
||||||
Here is a summary of all Bison declarations:
|
Here is a summary of the declarations used to define a grammar:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item %union
|
@item %union
|
||||||
@@ -3202,40 +3205,14 @@ Start-Symbol}).
|
|||||||
@item %expect
|
@item %expect
|
||||||
Declare the expected number of shift-reduce conflicts
|
Declare the expected number of shift-reduce conflicts
|
||||||
(@pxref{Expect Decl, ,Suppressing Conflict Warnings}).
|
(@pxref{Expect Decl, ,Suppressing Conflict Warnings}).
|
||||||
|
@end table
|
||||||
|
|
||||||
@item %yacc
|
@sp 1
|
||||||
@itemx %fixed_output_files
|
@noindent
|
||||||
Pretend the option @option{--yacc} was given, i.e., imitate Yacc,
|
In order to change the behavior of @command{bison}, use the following
|
||||||
including its naming conventions. @xref{Bison Options}, for more.
|
directives:
|
||||||
|
|
||||||
@item %locations
|
|
||||||
Generate the code processing the locations (@pxref{Action Features,
|
|
||||||
,Special Features for Use in Actions}). This mode is enabled as soon as
|
|
||||||
the grammar uses the special @samp{@@@var{n}} tokens, but if your
|
|
||||||
grammar does not use it, using @samp{%locations} allows for more
|
|
||||||
accurate parse error messages.
|
|
||||||
|
|
||||||
@item %pure_parser
|
|
||||||
Request a pure (reentrant) parser program (@pxref{Pure Decl, ,A Pure
|
|
||||||
(Reentrant) Parser}).
|
|
||||||
|
|
||||||
@item %no_parser
|
|
||||||
Do not include any C code in the parser file; generate tables only. The
|
|
||||||
parser file contains just @code{#define} directives and static variable
|
|
||||||
declarations.
|
|
||||||
|
|
||||||
This option also tells Bison to write the C code for the grammar actions
|
|
||||||
into a file named @file{@var{filename}.act}, in the form of a
|
|
||||||
brace-surrounded body fit for a @code{switch} statement.
|
|
||||||
|
|
||||||
@item %no_lines
|
|
||||||
Don't generate any @code{#line} preprocessor commands in the parser
|
|
||||||
file. Ordinarily Bison writes these commands in the parser file so that
|
|
||||||
the C compiler and debuggers will associate errors and object code with
|
|
||||||
your source file (the grammar file). This directive causes them to
|
|
||||||
associate errors with the parser file, treating it an independent source
|
|
||||||
file in its own right.
|
|
||||||
|
|
||||||
|
@table @code
|
||||||
@item %debug
|
@item %debug
|
||||||
Output a definition of the macro @code{YYDEBUG} into the parser file, so
|
Output a definition of the macro @code{YYDEBUG} into the parser file, so
|
||||||
that the debugging facilities are compiled. @xref{Debugging, ,Debugging
|
that the debugging facilities are compiled. @xref{Debugging, ,Debugging
|
||||||
@@ -3254,35 +3231,64 @@ This output file is essential if you wish to put the definition of
|
|||||||
be able to refer to token type codes and the variable
|
be able to refer to token type codes and the variable
|
||||||
@code{yylval}. @xref{Token Values, ,Semantic Values of Tokens}.@refill
|
@code{yylval}. @xref{Token Values, ,Semantic Values of Tokens}.@refill
|
||||||
|
|
||||||
|
@item %file-prefix="@var{prefix}"
|
||||||
|
Specify a prefix to use for all Bison output file names. The names are
|
||||||
|
chosen as if the input file were named @file{@var{prefix}.y}.
|
||||||
|
|
||||||
|
@c @item %header_extension
|
||||||
|
@c Specify the extension of the parser header file generated when
|
||||||
|
@c @code{%define} or @samp{-d} are used.
|
||||||
|
@c
|
||||||
|
@c For example, a grammar file named @file{foo.ypp} and containing a
|
||||||
|
@c @code{%header_extension .hh} directive will produce a header file
|
||||||
|
@c named @file{foo.tab.hh}
|
||||||
|
|
||||||
|
@item %locations
|
||||||
|
Generate the code processing the locations (@pxref{Action Features,
|
||||||
|
,Special Features for Use in Actions}). This mode is enabled as soon as
|
||||||
|
the grammar uses the special @samp{@@@var{n}} tokens, but if your
|
||||||
|
grammar does not use it, using @samp{%locations} allows for more
|
||||||
|
accurate parse error messages.
|
||||||
|
|
||||||
|
@item %name-prefix="@var{prefix}"
|
||||||
|
Rename the external symbols used in the parser so that they start with
|
||||||
|
@var{prefix} instead of @samp{yy}. The precise list of symbols renamed
|
||||||
|
is @code{yyparse}, @code{yylex}, @code{yyerror}, @code{yynerrs},
|
||||||
|
@code{yylval}, @code{yychar} and @code{yydebug}. For example, if you
|
||||||
|
use @samp{%name-prefix="c_"}, the names become @code{c_parse},
|
||||||
|
@code{c_lex}, and so on. @xref{Multiple Parsers, ,Multiple Parsers in
|
||||||
|
the Same Program}.
|
||||||
|
|
||||||
|
@item %no-parser
|
||||||
|
Do not include any C code in the parser file; generate tables only. The
|
||||||
|
parser file contains just @code{#define} directives and static variable
|
||||||
|
declarations.
|
||||||
|
|
||||||
|
This option also tells Bison to write the C code for the grammar actions
|
||||||
|
into a file named @file{@var{filename}.act}, in the form of a
|
||||||
|
brace-surrounded body fit for a @code{switch} statement.
|
||||||
|
|
||||||
|
@item %no-lines
|
||||||
|
Don't generate any @code{#line} preprocessor commands in the parser
|
||||||
|
file. Ordinarily Bison writes these commands in the parser file so that
|
||||||
|
the C compiler and debuggers will associate errors and object code with
|
||||||
|
your source file (the grammar file). This directive causes them to
|
||||||
|
associate errors with the parser file, treating it an independent source
|
||||||
|
file in its own right.
|
||||||
|
|
||||||
|
@item %output="@var{filename}"
|
||||||
|
Specify the @var{filename} for the parser file.
|
||||||
|
|
||||||
|
@item %pure-parser
|
||||||
|
Request a pure (reentrant) parser program (@pxref{Pure Decl, ,A Pure
|
||||||
|
(Reentrant) Parser}).
|
||||||
|
|
||||||
@c @item %source_extension
|
@c @item %source_extension
|
||||||
@c Specify the extension of the parser output file.
|
@c Specify the extension of the parser output file.
|
||||||
@c
|
@c
|
||||||
@c For example, a grammar file named @file{foo.yy} and containing a
|
@c For example, a grammar file named @file{foo.yy} and containing a
|
||||||
@c @code{%source_extension .cpp} directive will produce a parser file
|
@c @code{%source_extension .cpp} directive will produce a parser file
|
||||||
@c named @file{foo.tab.cpp}
|
@c named @file{foo.tab.cpp}
|
||||||
@c
|
|
||||||
@c @item %header_extension
|
|
||||||
@c Specify the extension of the parser header file generated when
|
|
||||||
@c @code{%define} or @samp{-d} are used.
|
|
||||||
@c
|
|
||||||
@c For example, a garmmar file named @file{foo.ypp} and containing a
|
|
||||||
@c @code{%header_extension .hh} directive will produce a header file
|
|
||||||
@c named @file{foo.tab.hh}
|
|
||||||
|
|
||||||
@item %verbose
|
|
||||||
Write an extra output file containing verbose descriptions of the
|
|
||||||
parser states and what is done for each type of look-ahead token in
|
|
||||||
that state.
|
|
||||||
|
|
||||||
This file also describes all the conflicts, both those resolved by
|
|
||||||
operator precedence and the unresolved ones.
|
|
||||||
|
|
||||||
The file's name is made by removing @samp{.tab.c} or @samp{.c} from
|
|
||||||
the parser output file name, and adding @samp{.output} instead.@refill
|
|
||||||
|
|
||||||
Therefore, if the input file is @file{foo.y}, then the parser file is
|
|
||||||
called @file{foo.tab.c} by default. As a consequence, the verbose
|
|
||||||
output file is called @file{foo.output}.@refill
|
|
||||||
|
|
||||||
@item %token_table
|
@item %token_table
|
||||||
Generate an array of token names in the parser file. The name of the
|
Generate an array of token names in the parser file. The name of the
|
||||||
@@ -3316,8 +3322,31 @@ The number of grammar rules,
|
|||||||
@item YYNSTATES
|
@item YYNSTATES
|
||||||
The number of parser states (@pxref{Parser States}).
|
The number of parser states (@pxref{Parser States}).
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
@item %verbose
|
||||||
|
Write an extra output file containing verbose descriptions of the
|
||||||
|
parser states and what is done for each type of look-ahead token in
|
||||||
|
that state.
|
||||||
|
|
||||||
|
This file also describes all the conflicts, both those resolved by
|
||||||
|
operator precedence and the unresolved ones.
|
||||||
|
|
||||||
|
The file's name is made by removing @samp{.tab.c} or @samp{.c} from
|
||||||
|
the parser output file name, and adding @samp{.output} instead.@refill
|
||||||
|
|
||||||
|
Therefore, if the input file is @file{foo.y}, then the parser file is
|
||||||
|
called @file{foo.tab.c} by default. As a consequence, the verbose
|
||||||
|
output file is called @file{foo.output}.@refill
|
||||||
|
|
||||||
|
@item %yacc
|
||||||
|
@itemx %fixed-output-files
|
||||||
|
Pretend the option @option{--yacc} was given, i.e., imitate Yacc,
|
||||||
|
including its naming conventions. @xref{Bison Options}, for more.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@node Multiple Parsers
|
@node Multiple Parsers
|
||||||
@section Multiple Parsers in the Same Program
|
@section Multiple Parsers in the Same Program
|
||||||
|
|
||||||
@@ -5049,19 +5078,12 @@ that the debugging facilities are compiled. @xref{Debugging, ,Debugging
|
|||||||
Your Parser}.
|
Your Parser}.
|
||||||
|
|
||||||
@item --locations
|
@item --locations
|
||||||
Pretend that @code{%locactions} was specified. @xref{Decl Summary}.
|
Pretend that @code{%locations} was specified. @xref{Decl Summary}.
|
||||||
|
|
||||||
@item -p @var{prefix}
|
@item -p @var{prefix}
|
||||||
@itemx --name-prefix=@var{prefix}
|
@itemx --name-prefix=@var{prefix}
|
||||||
Rename the external symbols used in the parser so that they start with
|
Pretend that @code{%name-prefix="@var{prefix}"} was specified.
|
||||||
@var{prefix} instead of @samp{yy}. The precise list of symbols renamed
|
@xref{Decl Summary}.
|
||||||
is @code{yyparse}, @code{yylex}, @code{yyerror}, @code{yynerrs},
|
|
||||||
@code{yylval}, @code{yychar} and @code{yydebug}.
|
|
||||||
|
|
||||||
For example, if you use @samp{-p c}, the names become @code{cparse},
|
|
||||||
@code{clex}, and so on.
|
|
||||||
|
|
||||||
@xref{Multiple Parsers, ,Multiple Parsers in the Same Program}.
|
|
||||||
|
|
||||||
@item -l
|
@item -l
|
||||||
@itemx --no-lines
|
@itemx --no-lines
|
||||||
@@ -5073,11 +5095,11 @@ parser file, treating it as an independent source file in its own right.
|
|||||||
|
|
||||||
@item -n
|
@item -n
|
||||||
@itemx --no-parser
|
@itemx --no-parser
|
||||||
Pretend that @code{%no_parser} was specified. @xref{Decl Summary}.
|
Pretend that @code{%no-parser} was specified. @xref{Decl Summary}.
|
||||||
|
|
||||||
@item -k
|
@item -k
|
||||||
@itemx --token-table
|
@itemx --token-table
|
||||||
Pretend that @code{%token_table} was specified. @xref{Decl Summary}.
|
Pretend that @code{%token-table} was specified. @xref{Decl Summary}.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@noindent
|
@noindent
|
||||||
@@ -5085,33 +5107,32 @@ Adjust the output:
|
|||||||
|
|
||||||
@table @option
|
@table @option
|
||||||
@item -d
|
@item -d
|
||||||
Pretend that @code{%verbose} was specified, i.e., write an extra output
|
@itemx --defines
|
||||||
|
Pretend that @code{%defines} was specified, i.e., write an extra output
|
||||||
file containing macro definitions for the token type names defined in
|
file containing macro definitions for the token type names defined in
|
||||||
the grammar and the semantic value type @code{YYSTYPE}, as well as a few
|
the grammar and the semantic value type @code{YYSTYPE}, as well as a few
|
||||||
@code{extern} variable declarations. @xref{Decl Summary}.
|
@code{extern} variable declarations. @xref{Decl Summary}.
|
||||||
|
|
||||||
@item --defines=@var{defines-file}
|
@item --defines=@var{defines-file}
|
||||||
The behaviour of @var{--defines} is the same than @samp{-d}. The only
|
Same as above, but save in the file @var{defines-file}.
|
||||||
difference is that it has an optionnal argument which is the name of
|
|
||||||
the output filename.
|
|
||||||
|
|
||||||
@item -b @var{file-prefix}
|
@item -b @var{file-prefix}
|
||||||
@itemx --file-prefix=@var{prefix}
|
@itemx --file-prefix=@var{prefix}
|
||||||
Specify a prefix to use for all Bison output file names. The names are
|
Pretend that @code{%verbose} was specified, i.e, specify prefix to use
|
||||||
chosen as if the input file were named @file{@var{prefix}.c}.
|
for all Bison output file names. @xref{Decl Summary}.
|
||||||
|
|
||||||
@item -v
|
@item -v
|
||||||
@itemx --verbose
|
@itemx --verbose
|
||||||
Pretend that @code{%verbose} was specified, i.e, write an extra output
|
Pretend that @code{%verbose} was specified, i.e, write an extra output
|
||||||
file containing verbose descriptions of the grammar and
|
file containing verbose descriptions of the grammar and
|
||||||
parser. @xref{Decl Summary}, for more.
|
parser. @xref{Decl Summary}.
|
||||||
|
|
||||||
@item -o @var{outfile}
|
@item -o @var{filename}
|
||||||
@itemx --output-file=@var{outfile}
|
@itemx --output=@var{filename}
|
||||||
Specify the name @var{outfile} for the parser file.
|
Specify the @var{filename} for the parser file.
|
||||||
|
|
||||||
The other output files' names are constructed from @var{outfile}
|
The other output files' names are constructed from @var{filename} as
|
||||||
as described under the @samp{-v} and @samp{-d} options.
|
described under the @samp{-v} and @samp{-d} options.
|
||||||
|
|
||||||
@item -g
|
@item -g
|
||||||
Output a VCG definition of the LALR(1) grammar automaton computed by
|
Output a VCG definition of the LALR(1) grammar automaton computed by
|
||||||
@@ -5119,7 +5140,7 @@ Bison. If the grammar file is @file{foo.y}, the VCG output file will
|
|||||||
be @file{foo.vcg}.
|
be @file{foo.vcg}.
|
||||||
|
|
||||||
@item --graph=@var{graph-file}
|
@item --graph=@var{graph-file}
|
||||||
The behaviour of @var{--graph} is the same than @samp{-g}. The only
|
The behaviour of @var{--graph} is the same than @samp{-g}. The only
|
||||||
difference is that it has an optionnal argument which is the name of
|
difference is that it has an optionnal argument which is the name of
|
||||||
the output graph filename.
|
the output graph filename.
|
||||||
@end table
|
@end table
|
||||||
@@ -5168,7 +5189,7 @@ the corresponding short option.
|
|||||||
\line{ --name-prefix \leaderfill -p}
|
\line{ --name-prefix \leaderfill -p}
|
||||||
\line{ --no-lines \leaderfill -l}
|
\line{ --no-lines \leaderfill -l}
|
||||||
\line{ --no-parser \leaderfill -n}
|
\line{ --no-parser \leaderfill -n}
|
||||||
\line{ --output-file \leaderfill -o}
|
\line{ --output \leaderfill -o}
|
||||||
\line{ --token-table \leaderfill -k}
|
\line{ --token-table \leaderfill -k}
|
||||||
\line{ --verbose \leaderfill -v}
|
\line{ --verbose \leaderfill -v}
|
||||||
\line{ --version \leaderfill -V}
|
\line{ --version \leaderfill -V}
|
||||||
@@ -5187,7 +5208,7 @@ the corresponding short option.
|
|||||||
--name-prefix=@var{prefix} -p @var{name-prefix}
|
--name-prefix=@var{prefix} -p @var{name-prefix}
|
||||||
--no-lines -l
|
--no-lines -l
|
||||||
--no-parser -n
|
--no-parser -n
|
||||||
--output-file=@var{outfile} -o @var{outfile}
|
--output=@var{outfile} -o @var{outfile}
|
||||||
--token-table -k
|
--token-table -k
|
||||||
--verbose -v
|
--verbose -v
|
||||||
--version -V
|
--version -V
|
||||||
@@ -5361,6 +5382,10 @@ Equip the parser for debugging. @xref{Decl Summary}.
|
|||||||
Bison declaration to create a header file meant for the scanner.
|
Bison declaration to create a header file meant for the scanner.
|
||||||
@xref{Decl Summary}.
|
@xref{Decl Summary}.
|
||||||
|
|
||||||
|
@item %file-prefix="@var{prefix}"
|
||||||
|
Bison declaration to set tge prefix of the output files. @xref{Decl
|
||||||
|
Summary}.
|
||||||
|
|
||||||
@c @item %source_extension
|
@c @item %source_extension
|
||||||
@c Bison declaration to specify the generated parser output file extension.
|
@c Bison declaration to specify the generated parser output file extension.
|
||||||
@c @xref{Decl Summary}.
|
@c @xref{Decl Summary}.
|
||||||
@@ -5373,7 +5398,10 @@ Bison declaration to create a header file meant for the scanner.
|
|||||||
Bison declaration to assign left associativity to token(s).
|
Bison declaration to assign left associativity to token(s).
|
||||||
@xref{Precedence Decl, ,Operator Precedence}.
|
@xref{Precedence Decl, ,Operator Precedence}.
|
||||||
|
|
||||||
@item %no_lines
|
@item %name-prefix="@var{prefix}"
|
||||||
|
Bison declaration to rename the external symbols. @xref{Decl Summary}.
|
||||||
|
|
||||||
|
@item %no-lines
|
||||||
Bison declaration to avoid generating @code{#line} directives in the
|
Bison declaration to avoid generating @code{#line} directives in the
|
||||||
parser file. @xref{Decl Summary}.
|
parser file. @xref{Decl Summary}.
|
||||||
|
|
||||||
@@ -5381,11 +5409,15 @@ parser file. @xref{Decl Summary}.
|
|||||||
Bison declaration to assign non-associativity to token(s).
|
Bison declaration to assign non-associativity to token(s).
|
||||||
@xref{Precedence Decl, ,Operator Precedence}.
|
@xref{Precedence Decl, ,Operator Precedence}.
|
||||||
|
|
||||||
|
@item %output="@var{filename}"
|
||||||
|
Bison declaration to set the name of the parser file. @xref{Decl
|
||||||
|
Summary}.
|
||||||
|
|
||||||
@item %prec
|
@item %prec
|
||||||
Bison declaration to assign a precedence to a specific rule.
|
Bison declaration to assign a precedence to a specific rule.
|
||||||
@xref{Contextual Precedence, ,Context-Dependent Precedence}.
|
@xref{Contextual Precedence, ,Context-Dependent Precedence}.
|
||||||
|
|
||||||
@item %pure_parser
|
@item %pure-parser
|
||||||
Bison declaration to request a pure (reentrant) parser.
|
Bison declaration to request a pure (reentrant) parser.
|
||||||
@xref{Pure Decl, ,A Pure (Reentrant) Parser}.
|
@xref{Pure Decl, ,A Pure (Reentrant) Parser}.
|
||||||
|
|
||||||
@@ -5400,7 +5432,7 @@ Bison declaration to specify the start symbol. @xref{Start Decl, ,The Start-Sym
|
|||||||
Bison declaration to declare token(s) without specifying precedence.
|
Bison declaration to declare token(s) without specifying precedence.
|
||||||
@xref{Token Decl, ,Token Type Names}.
|
@xref{Token Decl, ,Token Type Names}.
|
||||||
|
|
||||||
@item %token_table
|
@item %token-table
|
||||||
Bison declaration to include a token name table in the parser file.
|
Bison declaration to include a token name table in the parser file.
|
||||||
@xref{Decl Summary}.
|
@xref{Decl Summary}.
|
||||||
|
|
||||||
|
|||||||
+44
-38
@@ -6,7 +6,7 @@
|
|||||||
% This file can be printed with 1 or 2 columns per page (see below).
|
% This file can be printed with 1 or 2 columns per page (see below).
|
||||||
% Specify how many you want here. Nothing else needs to be changed
|
% Specify how many you want here. Nothing else needs to be changed
|
||||||
% unless you are maintaining the documentation.
|
% unless you are maintaining the documentation.
|
||||||
% For printing reference cards to use in books, specify one column
|
% For printing reference cards to use in books, specify one column
|
||||||
% per page and reduce to 80%.
|
% per page and reduce to 80%.
|
||||||
% Note that if columnsperpage is set to 2, there will be a few overfull
|
% Note that if columnsperpage is set to 2, there will be a few overfull
|
||||||
% boxes, but they are not serious. Just uncomment \finalout.
|
% boxes, but they are not serious. Just uncomment \finalout.
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
\def\finalout{\overfullrule=0pt}
|
\def\finalout{\overfullrule=0pt}
|
||||||
%\finalout
|
%\finalout
|
||||||
|
|
||||||
% Copyright (c) 1998 Free Software Foundation, Inc.
|
% Copyright (c) 1998, 2001 Free Software Foundation, Inc.
|
||||||
%
|
%
|
||||||
% This file is part of Bison.
|
% This file is part of Bison.
|
||||||
%
|
%
|
||||||
@@ -51,11 +51,11 @@
|
|||||||
% Which mode to use is controlled by setting \columnsperpage above.
|
% Which mode to use is controlled by setting \columnsperpage above.
|
||||||
%
|
%
|
||||||
% Authors:
|
% Authors:
|
||||||
% Brendan Kehoe
|
% Brendan Kehoe
|
||||||
% UUCP: widener!brendan
|
% UUCP: widener!brendan
|
||||||
% Internet: [email protected]
|
% Internet: [email protected]
|
||||||
%
|
%
|
||||||
% Gavin Nicol
|
% Gavin Nicol
|
||||||
% Internet: [email protected]
|
% Internet: [email protected]
|
||||||
%
|
%
|
||||||
% This refcard format was created by Steve Gildea.
|
% This refcard format was created by Steve Gildea.
|
||||||
@@ -66,12 +66,12 @@
|
|||||||
% We only change the following to change the version numbers and
|
% We only change the following to change the version numbers and
|
||||||
% such.
|
% such.
|
||||||
|
|
||||||
\def\bisonversion{1.20} % the bison version
|
\def\bisonversion{1.31} % the bison version
|
||||||
|
|
||||||
\def\refcardversion{0.4a} % reference card version
|
\def\refcardversion{0.5} % reference card version
|
||||||
\def\month{August} % month
|
\def\month{November} % month
|
||||||
\def\year{1998} % year
|
\def\year{2001} % year
|
||||||
\def\version{\month\ \year, Bison Refcard Version \refcardversion}
|
\def\version{\month\ \year, Bison Refcard Version \refcardversion}
|
||||||
|
|
||||||
% for copyright notices
|
% for copyright notices
|
||||||
\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
|
\def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
|
||||||
@@ -90,7 +90,7 @@
|
|||||||
|
|
||||||
Permission is granted to make and distribute copies of this card
|
Permission is granted to make and distribute copies of this card
|
||||||
provided the copyright notice and this permission notice
|
provided the copyright notice and this permission notice
|
||||||
are preserved on all copies.
|
are preserved on all copies.
|
||||||
\vskip .2\baselineskip
|
\vskip .2\baselineskip
|
||||||
For information, write to the:
|
For information, write to the:
|
||||||
\vskip .2\baselineskip
|
\vskip .2\baselineskip
|
||||||
@@ -115,7 +115,7 @@ For information, write to the:
|
|||||||
|
|
||||||
Permission is granted to make and distribute copies of this card
|
Permission is granted to make and distribute copies of this card
|
||||||
provided the copyright notice and this permission notice
|
provided the copyright notice and this permission notice
|
||||||
are preserved on all copies.
|
are preserved on all copies.
|
||||||
\vskip .2\baselineskip
|
\vskip .2\baselineskip
|
||||||
For information, write to the:
|
For information, write to the:
|
||||||
\vskip .2\baselineskip
|
\vskip .2\baselineskip
|
||||||
@@ -136,7 +136,7 @@ For information, write to the:
|
|||||||
|
|
||||||
\def\ncolumns{\the\columnsperpage}
|
\def\ncolumns{\the\columnsperpage}
|
||||||
|
|
||||||
\message{[\ncolumns\space
|
\message{[\ncolumns\space
|
||||||
column\if 1\ncolumns\else s\fi\space per page]}
|
column\if 1\ncolumns\else s\fi\space per page]}
|
||||||
|
|
||||||
\def\scaledmag#1{ scaled \magstep #1}
|
\def\scaledmag#1{ scaled \magstep #1}
|
||||||
@@ -227,7 +227,7 @@ For information, write to the:
|
|||||||
\def\bye{\par\vfill\supereject
|
\def\bye{\par\vfill\supereject
|
||||||
\if a\abc \else\null\vfill\eject\fi
|
\if a\abc \else\null\vfill\eject\fi
|
||||||
\if a\abc \else\null\vfill\eject\fi
|
\if a\abc \else\null\vfill\eject\fi
|
||||||
\end}
|
\end}
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
% we won't be using math mode much, so redefine some of the characters
|
% we won't be using math mode much, so redefine some of the characters
|
||||||
@@ -316,41 +316,44 @@ Options can be used as: \kbd{bison {\it options} {\it filename}}
|
|||||||
\section{Command Line Options}
|
\section{Command Line Options}
|
||||||
%*****************************
|
%*****************************
|
||||||
|
|
||||||
|
\key{Display usage information.} {-h}
|
||||||
|
\key{Display version information.} {-V}
|
||||||
\key{Generate token and {\tt YYSTYPE} definitions.} {-d}
|
\key{Generate token and {\tt YYSTYPE} definitions.} {-d}
|
||||||
|
\key{Prepend a prefix to external symbols.} {-p {\it prefix}}
|
||||||
\key{Don't put {\tt \#line} directives in the parser.} {-l}
|
\key{Don't put {\tt \#line} directives in the parser.} {-l}
|
||||||
\key{Specify the output file.} {-o {\it filename}}
|
\key{Specify the output file.} {-o {\it filename}}
|
||||||
\key{Debug or {\it trace} mode.} {-t}
|
\key{Debug or {\it trace} mode.} {-t}
|
||||||
\key{Verbose description of the parser.} {-v}
|
\key{Verbose description of the parser.} {-v}
|
||||||
\key{Emulate {\tt yacc} (generate {\tt y.tab.*} files).} {-y}
|
\key{Emulate {\tt yacc} (generate {\tt y.tab.*} files).} {-y}
|
||||||
|
|
||||||
\vskip .10truein
|
\vskip .10truein
|
||||||
{\bf Note:} The token and {\tt YYSTYPE} definitions are generated
|
{\bf Note:} The token and {\tt YYSTYPE} definitions are generated
|
||||||
to a file called {\tt y.tab.h} if the {\tt -y} option is used,
|
to a file called {\tt y.tab.h} if the {\tt -y} option is used,
|
||||||
otherwise it will have the format {\tt {\it name}.tab.h}, where
|
otherwise it will have the format {\tt {\it name}.tab.h}, where
|
||||||
{\it name} is the leading part of the parser definition filename.
|
{\it name} is the leading part of the parser definition filename.
|
||||||
|
|
||||||
\section{Definitions}
|
\section{Definitions}
|
||||||
%********************
|
%********************
|
||||||
|
|
||||||
\key{Declare a terminal symbol.}{\%token <{\it t\/}>
|
\key{Declare a terminal symbol.}{\%token <{\it t\/}>
|
||||||
{\it n}}
|
{\it n}}
|
||||||
|
|
||||||
\key{Declare a terminal symbol, and define its association.}
|
\key{Declare a terminal symbol, and define its association.}
|
||||||
{{\it association} <{\it t\/}> {\it n}}
|
{{\it association} <{\it t\/}> {\it n}}
|
||||||
|
|
||||||
\vskip .2\baselineskip
|
\vskip .2\baselineskip
|
||||||
\key{Generate a reentrant (pure) parser.}
|
\key{Generate a reentrant (pure) parser.}
|
||||||
{\%pure_parser}
|
{\%pure_parser}
|
||||||
|
|
||||||
\key{Define the union of all data types used in the parser.}
|
\key{Define the union of all data types used in the parser.}
|
||||||
{\%union\{{\it field list}\} }
|
{\%union\{{\it field list}\} }
|
||||||
|
|
||||||
\vskip .2\baselineskip
|
\vskip .2\baselineskip
|
||||||
\key{Tell {\tt bison} where to start parsing.}
|
\key{Tell {\tt bison} where to start parsing.}
|
||||||
{\%start {\it m}}
|
{\%start {\it m}}
|
||||||
|
|
||||||
\key{Tell {\tt bison} the data type of symbols.}
|
\key{Tell {\tt bison} the data type of symbols.}
|
||||||
{\%type <{\it t\/}> {\it s1}\dots{\it sn}}
|
{\%type <{\it t\/}> {\it s1}\dots{\it sn}}
|
||||||
|
|
||||||
\vskip .10truein
|
\vskip .10truein
|
||||||
|
|
||||||
@@ -362,8 +365,8 @@ definition, {\it n} is a {\it terminal} symbol name, {\it m} is a
|
|||||||
\vskip .10truein
|
\vskip .10truein
|
||||||
|
|
||||||
The {\tt <{\it t\/}>} after {\tt \%token, \%left, \%right} and {\tt
|
The {\tt <{\it t\/}>} after {\tt \%token, \%left, \%right} and {\tt
|
||||||
\%nonassoc} is optional. Additionally, precedence may be overridden with
|
\%nonassoc} is optional. Additionally, precedence may be overridden
|
||||||
embedded {\tt \%prec} commands.
|
in the rules with {\tt \%prec} commands.
|
||||||
|
|
||||||
\section{Parser Definition Files}
|
\section{Parser Definition Files}
|
||||||
%*********************************
|
%*********************************
|
||||||
@@ -379,7 +382,7 @@ The general form for a parser definition is:
|
|||||||
|
|
||||||
\%\%
|
\%\%
|
||||||
|
|
||||||
Rule definition 1
|
Rule definition 1
|
||||||
\vdots
|
\vdots
|
||||||
Rule definition {\it n}
|
Rule definition {\it n}
|
||||||
|
|
||||||
@@ -397,8 +400,9 @@ The general form for a parser definition is:
|
|||||||
|
|
||||||
Rules take the form:
|
Rules take the form:
|
||||||
|
|
||||||
|
\vskip -\baselineskip
|
||||||
\beginexample
|
\beginexample
|
||||||
non-terminal : {\it statement} 1
|
non-terminal : {\it statement} 1
|
||||||
| {\it statement} 2
|
| {\it statement} 2
|
||||||
\vdots
|
\vdots
|
||||||
| {\it statement n}
|
| {\it statement n}
|
||||||
@@ -406,12 +410,12 @@ Rules take the form:
|
|||||||
\endexample
|
\endexample
|
||||||
|
|
||||||
Where {\it statements} can be either empty, or contain
|
Where {\it statements} can be either empty, or contain
|
||||||
a mixture of C code (enclosed in {\tt \{...\}}), and the
|
a mixture of C code (enclosed in {\tt \{...\}}), and the
|
||||||
symbols that make up the non-terminal. For example:
|
symbols that make up the non-terminal. For example:
|
||||||
|
|
||||||
\vskip -\baselineskip
|
\vskip -\baselineskip
|
||||||
\beginexample
|
\beginexample
|
||||||
expression : number '$+$' number \{ \$\$ $=$ \$1 $+$ \$3 \}
|
expression : number '$+$' number \{ \$\$ $=$ \$1 $+$ \$3 \}
|
||||||
| number '$-$' number \{ \$\$ $=$ \$1 $-$ \$3 \}
|
| number '$-$' number \{ \$\$ $=$ \$1 $-$ \$3 \}
|
||||||
| number '$/$' number \{ \$\$ $=$ \$1 $/$ \$3 \}
|
| number '$/$' number \{ \$\$ $=$ \$1 $/$ \$3 \}
|
||||||
| number '$*$' number \{ \$\$ $=$ \$1 $*$ \$3 \}
|
| number '$*$' number \{ \$\$ $=$ \$1 $*$ \$3 \}
|
||||||
@@ -428,7 +432,7 @@ For altering the precedence of a symbol use:
|
|||||||
For example:
|
For example:
|
||||||
\vskip -\baselineskip
|
\vskip -\baselineskip
|
||||||
\beginexample
|
\beginexample
|
||||||
foo : gnu bar gnu \%prec bar
|
foo : gnu bar gnu \%prec bar
|
||||||
;
|
;
|
||||||
\endexample
|
\endexample
|
||||||
|
|
||||||
@@ -438,16 +442,18 @@ For example:
|
|||||||
\key{Recognize an error \& continue parsing.}{error}
|
\key{Recognize an error \& continue parsing.}{error}
|
||||||
\key{Access data associated with a symbol.} {\$\$, \$0\dots\${\it n}}
|
\key{Access data associated with a symbol.} {\$\$, \$0\dots\${\it n}}
|
||||||
\key{Access a field of the data union.} {\$\$.{\it t},
|
\key{Access a field of the data union.} {\$\$.{\it t},
|
||||||
\$0.{\it t}\dots\${\it n}.{\it t}}
|
\$0.{\it t}\dots\${\it n}.{\it t}}
|
||||||
\key{Access data's line position.} {@{\it n}.{\it line\_spec}}
|
\key{Access symbol's location.} {@\$, @0\dots@{\it n}}
|
||||||
\key{Access data's column position.} {@{\it n}.{\it column\_spec}}
|
\key{Access data's line location.} {@{\it x}.{\it line\_spec}}
|
||||||
|
\key{Access data's column location.} {@{\it x}.{\it column\_spec}}
|
||||||
|
|
||||||
|
|
||||||
\vskip .10truein
|
\vskip .10truein
|
||||||
|
%
|
||||||
Where {\it t} is a type defined in the {\tt \%union}, {\it n} is a
|
Where {\it t} is a type defined in the {\tt \%union}, {\it n} is a
|
||||||
number, {\it line\_spec} one of {\tt first_line} and {\tt last_line},
|
number, {\it x} is a number or \$, {\it line\_spec} one of {\tt
|
||||||
and {\it column\_spec} is specified as either {\tt first_column} or {\tt
|
first_line} and {\tt last_line}, and {\it column\_spec} is specified
|
||||||
last_column}.
|
as either {\tt first_column} or {\tt last_column}.
|
||||||
|
|
||||||
\section {Variables and Types}
|
\section {Variables and Types}
|
||||||
%*****************************
|
%*****************************
|
||||||
|
|||||||
+4
-4
@@ -1,4 +1,4 @@
|
|||||||
@set UPDATED 20 September 2001
|
@set UPDATED 5 November 2001
|
||||||
@set UPDATED-MONTH September 2001
|
@set UPDATED-MONTH November 2001
|
||||||
@set EDITION 1.29b
|
@set EDITION 1.30a
|
||||||
@set VERSION 1.29b
|
@set VERSION 1.30a
|
||||||
|
|||||||
+4
-4
@@ -1,4 +1,4 @@
|
|||||||
@set UPDATED 20 September 2001
|
@set UPDATED 5 November 2001
|
||||||
@set UPDATED-MONTH September 2001
|
@set UPDATED-MONTH November 2001
|
||||||
@set EDITION 1.29b
|
@set EDITION 1.30a
|
||||||
@set VERSION 1.29b
|
@set VERSION 1.30a
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
2001-07-24 GNU <[email protected]>
|
2001-09-13 GNU <[email protected]>
|
||||||
|
|
||||||
* Version 0.10.39 released.
|
* Version 0.10.40 released.
|
||||||
|
|
||||||
|
|||||||
+12
-11
@@ -1,19 +1,20 @@
|
|||||||
# 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, 2001 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
|
||||||
# it under the terms of the GNU General Public License as published by
|
# under the terms of the GNU Library General Public License as published
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# by the Free Software Foundation; either version 2, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# GNU General Public License for more details.
|
# Library General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU Library General Public
|
||||||
# along with this program; if not, write to the Free Software
|
# License along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
# USA.
|
||||||
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
VERSION = @VERSION@
|
VERSION = @VERSION@
|
||||||
@@ -74,7 +75,7 @@ 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 = libintl.glibc
|
DISTFILES.gettext = COPYING.LIB-2 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
|
||||||
|
|
||||||
# Libtool's library version information for libintl.
|
# Libtool's library version information for libintl.
|
||||||
@@ -184,7 +185,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="$(DISTFILES.common)"; \
|
dists="COPYING.LIB-2 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; \
|
||||||
@@ -243,7 +244,7 @@ uninstall:
|
|||||||
: ; \
|
: ; \
|
||||||
fi
|
fi
|
||||||
if test "$(PACKAGE)" = "gettext"; then \
|
if test "$(PACKAGE)" = "gettext"; then \
|
||||||
for file in VERSION ChangeLog $(DISTFILES.common) $(DISTFILES.generated); do \
|
for file in VERSION ChangeLog COPYING.LIB-2 COPYING.LIB-2.1 $(DISTFILES.common) $(DISTFILES.generated); do \
|
||||||
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
|
rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \
|
||||||
done; \
|
done; \
|
||||||
else \
|
else \
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
GNU gettext library from gettext-0.10.39
|
GNU gettext library from gettext-0.10.40
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the bindtextdomain(3) function
|
/* Implementation of the bindtextdomain(3) function
|
||||||
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1998, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dcgettext(3) function.
|
/* Implementation of the dcgettext(3) function.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* 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, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dcngettext(3) function.
|
/* Implementation of the dcngettext(3) function.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dgettext(3) function.
|
/* Implementation of the dgettext(3) function.
|
||||||
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1997, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the dngettext(3) function.
|
/* Implementation of the dngettext(3) function.
|
||||||
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1997, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
/* Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Contributed by Ulrich Drepper <[email protected]>, 1995.
|
Contributed by Ulrich Drepper <[email protected]>, 1995.
|
||||||
|
|
||||||
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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -2,19 +2,20 @@
|
|||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <[email protected]>, 1995.
|
Written by Ulrich Drepper <[email protected]>, 1995.
|
||||||
|
|
||||||
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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of gettext(3) function.
|
/* Implementation of gettext(3) function.
|
||||||
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Description of GNU message catalog format: general file layout.
|
/* Description of GNU message catalog format: general file layout.
|
||||||
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _GETTEXT_H
|
#ifndef _GETTEXT_H
|
||||||
#define _GETTEXT_H 1
|
#define _GETTEXT_H 1
|
||||||
|
|||||||
+9
-8
@@ -2,19 +2,20 @@
|
|||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <[email protected]>, 1995.
|
Written by Ulrich Drepper <[email protected]>, 1995.
|
||||||
|
|
||||||
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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _GETTEXTP_H
|
#ifndef _GETTEXTP_H
|
||||||
#define _GETTEXTP_H
|
#define _GETTEXTP_H
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Description of GNU message catalog format: string hashing function.
|
/* Description of GNU message catalog format: string hashing function.
|
||||||
Copyright (C) 1995, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 1998, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* @@ end of prolog @@ */
|
/* @@ end of prolog @@ */
|
||||||
|
|
||||||
|
|||||||
+12
-11
@@ -2,19 +2,20 @@
|
|||||||
Library.
|
Library.
|
||||||
Copyright (C) 1995, 2000, 2001 Software Foundation, Inc.
|
Copyright (C) 1995, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software
|
License along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
||||||
Contributed by Ulrich Drepper <[email protected]>, 1995.
|
Contributed by Ulrich Drepper <[email protected]>, 1995.
|
||||||
|
|
||||||
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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for stpcpy().
|
/* Tell glibc's <string.h> to provide a prototype for stpcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Convenience header for conditional use of GNU <libintl.h>.
|
/* Convenience header for conditional use of GNU <libintl.h>.
|
||||||
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1998, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _LIBGETTEXT_H
|
#ifndef _LIBGETTEXT_H
|
||||||
#define _LIBGETTEXT_H 1
|
#define _LIBGETTEXT_H 1
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Message catalogs for internationalization.
|
/* Message catalogs for internationalization.
|
||||||
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1997, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _LIBINTL_H
|
#ifndef _LIBINTL_H
|
||||||
#define _LIBINTL_H 1
|
#define _LIBINTL_H 1
|
||||||
|
|||||||
+9
-8
@@ -2,19 +2,20 @@
|
|||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <[email protected]>, 1996.
|
Contributed by Ulrich Drepper <[email protected]>, 1996.
|
||||||
|
|
||||||
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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifndef _LOADINFO_H
|
#ifndef _LOADINFO_H
|
||||||
#define _LOADINFO_H 1
|
#define _LOADINFO_H 1
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Load needed message catalogs.
|
/* Load needed message catalogs.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+10
-9
@@ -1,19 +1,20 @@
|
|||||||
# Locale name alias data base.
|
# Locale name alias data base.
|
||||||
# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
|
# Copyright (C) 1996,1997,1998,1999,2000,2001 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
|
||||||
# it under the terms of the GNU General Public License as published by
|
# under the terms of the GNU Library General Public License as published
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# by the Free Software Foundation; either version 2, or (at your option)
|
||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful,
|
# This program is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
# GNU General Public License for more details.
|
# Library General Public License for more details.
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU Library General Public
|
||||||
# along with this program; if not, write to the Free Software
|
# License along with this program; if not, write to the Free Software
|
||||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
# USA.
|
||||||
|
|
||||||
# The format of this file is the same as for the corresponding file of
|
# The format of this file is the same as for the corresponding file of
|
||||||
# the X Window System, which normally can be found in
|
# the X Window System, which normally can be found in
|
||||||
@@ -46,7 +47,7 @@ galego gl_ES.ISO-8859-1
|
|||||||
galician gl_ES.ISO-8859-1
|
galician gl_ES.ISO-8859-1
|
||||||
german de_DE.ISO-8859-1
|
german de_DE.ISO-8859-1
|
||||||
greek el_GR.ISO-8859-7
|
greek el_GR.ISO-8859-7
|
||||||
hebrew iw_IL.ISO-8859-8
|
hebrew he_IL.ISO-8859-8
|
||||||
hrvatski hr_HR.ISO-8859-2
|
hrvatski hr_HR.ISO-8859-2
|
||||||
hungarian hu_HU.ISO-8859-2
|
hungarian hu_HU.ISO-8859-2
|
||||||
icelandic is_IS.ISO-8859-1
|
icelandic is_IS.ISO-8859-1
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Handle aliases for locale names.
|
/* Handle aliases for locale names.
|
||||||
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1999, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
/* Tell glibc's <string.h> to provide a prototype for mempcpy().
|
||||||
This must come before <config.h> because <config.h> may include
|
This must come before <config.h> because <config.h> may include
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of ngettext(3) function.
|
/* Implementation of ngettext(3) function.
|
||||||
Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1997, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+26
-25
@@ -23,19 +23,20 @@
|
|||||||
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <[email protected]>, 2000.
|
Written by Ulrich Drepper <[email protected]>, 2000.
|
||||||
|
|
||||||
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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
||||||
declaration at the beginning of the file. The declaration in bison's
|
declaration at the beginning of the file. The declaration in bison's
|
||||||
@@ -66,13 +67,13 @@
|
|||||||
#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 52 "plural.y"
|
#line 53 "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 58 "plural.y"
|
#line 59 "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,
|
||||||
@@ -234,8 +235,8 @@ static const short yyrhs[] = { 17,
|
|||||||
|
|
||||||
#if YYDEBUG != 0
|
#if YYDEBUG != 0
|
||||||
static const short yyrline[] = { 0,
|
static const short yyrline[] = { 0,
|
||||||
177, 185, 189, 193, 197, 201, 205, 209, 213, 217,
|
178, 186, 190, 194, 198, 202, 206, 210, 214, 218,
|
||||||
221, 226
|
222, 227
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -845,7 +846,7 @@ yyreduce:
|
|||||||
switch (yyn) {
|
switch (yyn) {
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
#line 178 "plural.y"
|
#line 179 "plural.y"
|
||||||
{
|
{
|
||||||
if (yyvsp[0].exp == NULL)
|
if (yyvsp[0].exp == NULL)
|
||||||
YYABORT;
|
YYABORT;
|
||||||
@@ -853,68 +854,68 @@ case 1:
|
|||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 2:
|
case 2:
|
||||||
#line 186 "plural.y"
|
#line 187 "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 190 "plural.y"
|
#line 191 "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 194 "plural.y"
|
#line 195 "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 198 "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 6:
|
case 6:
|
||||||
#line 202 "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 7:
|
case 7:
|
||||||
#line 206 "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 8:
|
case 8:
|
||||||
#line 210 "plural.y"
|
#line 211 "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 214 "plural.y"
|
#line 215 "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 218 "plural.y"
|
#line 219 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = new_exp_0 (var);
|
yyval.exp = new_exp_0 (var);
|
||||||
;
|
;
|
||||||
break;}
|
break;}
|
||||||
case 11:
|
case 11:
|
||||||
#line 222 "plural.y"
|
#line 223 "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 227 "plural.y"
|
#line 228 "plural.y"
|
||||||
{
|
{
|
||||||
yyval.exp = yyvsp[-1].exp;
|
yyval.exp = yyvsp[-1].exp;
|
||||||
;
|
;
|
||||||
@@ -1141,7 +1142,7 @@ yyerrhandle:
|
|||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
#line 232 "plural.y"
|
#line 233 "plural.y"
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
+9
-8
@@ -3,19 +3,20 @@
|
|||||||
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 2000, 2001 Free Software Foundation, Inc.
|
||||||
Written by Ulrich Drepper <[email protected]>, 2000.
|
Written by Ulrich Drepper <[email protected]>, 2000.
|
||||||
|
|
||||||
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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
/* The bison generated parser uses alloca. AIX 3 forces us to put this
|
||||||
declaration at the beginning of the file. The declaration in bison's
|
declaration at the beginning of the file. The declaration in bison's
|
||||||
|
|||||||
+9
-8
@@ -1,19 +1,20 @@
|
|||||||
/* Implementation of the textdomain(3) function.
|
/* Implementation of the textdomain(3) function.
|
||||||
Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
|
Copyright (C) 1995-1998, 2000, 2001 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
|
||||||
it under the terms of the GNU General Public License as published by
|
under the terms of the GNU Library General Public License as published
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
by the Free Software Foundation; either version 2, or (at your option)
|
||||||
any later version.
|
any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with this program; if not, write to the Free Software
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
|
USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
|
|||||||
+12
-9
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +44,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +59,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +73,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +86,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -161,9 +166,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu lib/Makefile
|
$(AUTOMAKE) --gnu lib/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
|
|
||||||
AR = ar
|
AR = ar
|
||||||
|
|
||||||
@@ -189,7 +192,7 @@ clean-krextra:
|
|||||||
-rm -f ansi2knr
|
-rm -f ansi2knr
|
||||||
|
|
||||||
mostlyclean-kr:
|
mostlyclean-kr:
|
||||||
-rm -f *_.c
|
-test "$U" = "" || rm -f *_.c
|
||||||
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/error$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/error$U.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/getopt$U.Po@am__quote@
|
||||||
@@ -286,7 +289,7 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|||||||
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
||||||
|
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $(GTAGS_ARGS) $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
|
|||||||
+182
-52
@@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1989, 1997, 1998 Aladdin Enterprises. All rights reserved. */
|
/* Copyright (C) 1989, 2000 Aladdin Enterprises. All rights reserved. */
|
||||||
|
|
||||||
/*$Id$*/
|
/*$Id$*/
|
||||||
/* Convert ANSI C function definitions to K&R ("traditional C") syntax */
|
/* Convert ANSI C function definitions to K&R ("traditional C") syntax */
|
||||||
@@ -37,27 +37,62 @@ program under the GPL.
|
|||||||
* There are no error messages.
|
* There are no error messages.
|
||||||
*
|
*
|
||||||
* ansi2knr recognizes function definitions by seeing a non-keyword
|
* ansi2knr recognizes function definitions by seeing a non-keyword
|
||||||
* identifier at the left margin, followed by a left parenthesis,
|
* identifier at the left margin, followed by a left parenthesis, with a
|
||||||
* with a right parenthesis as the last character on the line,
|
* right parenthesis as the last character on the line, and with a left
|
||||||
* and with a left brace as the first token on the following line
|
* brace as the first token on the following line (ignoring possible
|
||||||
* (ignoring possible intervening comments), except that a line
|
* intervening comments and/or preprocessor directives), except that a line
|
||||||
* consisting of only
|
* consisting of only
|
||||||
* identifier1(identifier2)
|
* identifier1(identifier2)
|
||||||
* will not be considered a function definition unless identifier2 is
|
* will not be considered a function definition unless identifier2 is
|
||||||
* the word "void". ansi2knr will recognize a multi-line header provided
|
* the word "void", and a line consisting of
|
||||||
* that no intervening line ends with a left or right brace or a semicolon.
|
* identifier1(identifier2, <<arbitrary>>)
|
||||||
* These algorithms ignore whitespace and comments, except that
|
* will not be considered a function definition.
|
||||||
* the function name must be the first thing on the line.
|
* ansi2knr will recognize a multi-line header provided that no intervening
|
||||||
* The following constructs will confuse it:
|
* line ends with a left or right brace or a semicolon. These algorithms
|
||||||
|
* ignore whitespace, comments, and preprocessor directives, except that
|
||||||
|
* the function name must be the first thing on the line. The following
|
||||||
|
* constructs will confuse it:
|
||||||
* - Any other construct that starts at the left margin and
|
* - Any other construct that starts at the left margin and
|
||||||
* follows the above syntax (such as a macro or function call).
|
* follows the above syntax (such as a macro or function call).
|
||||||
* - Some macros that tinker with the syntax of the function header.
|
* - Some macros that tinker with the syntax of function headers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The original and principal author of ansi2knr is L. Peter Deutsch
|
* The original and principal author of ansi2knr is L. Peter Deutsch
|
||||||
* <ghost@aladdin.com>. Other authors are noted in the change history
|
* <ghost@aladdin.com>. Other authors are noted in the change history
|
||||||
* that follows (in reverse chronological order):
|
* that follows (in reverse chronological order):
|
||||||
|
|
||||||
|
lpd 2000-04-12 backs out Eggert's changes because of bugs:
|
||||||
|
- concatlits didn't declare the type of its bufend argument;
|
||||||
|
- concatlits didn't't recognize when it was inside a comment;
|
||||||
|
- scanstring could scan backward past the beginning of the string; when
|
||||||
|
- the check for \ + newline in scanstring was unnecessary.
|
||||||
|
|
||||||
|
2000-03-05 Paul Eggert <eggert@twinsun.com>
|
||||||
|
|
||||||
|
Add support for concatenated string literals.
|
||||||
|
* ansi2knr.c (concatlits): New decl.
|
||||||
|
(main): Invoke concatlits to concatenate string literals.
|
||||||
|
(scanstring): Handle backslash-newline correctly. Work with
|
||||||
|
character constants. Fix bug when scanning backwards through
|
||||||
|
backslash-quote. Check for unterminated strings.
|
||||||
|
(convert1): Parse character constants, too.
|
||||||
|
(appendline, concatlits): New functions.
|
||||||
|
* ansi2knr.1: Document this.
|
||||||
|
|
||||||
|
lpd 1999-08-17 added code to allow preprocessor directives
|
||||||
|
wherever comments are allowed
|
||||||
|
lpd 1999-04-12 added minor fixes from Pavel Roskin
|
||||||
|
<pavel_roskin@geocities.com> for clean compilation with
|
||||||
|
gcc -W -Wall
|
||||||
|
lpd 1999-03-22 added hack to recognize lines consisting of
|
||||||
|
identifier1(identifier2, xxx) as *not* being procedures
|
||||||
|
lpd 1999-02-03 made indentation of preprocessor commands consistent
|
||||||
|
lpd 1999-01-28 fixed two bugs: a '/' in an argument list caused an
|
||||||
|
endless loop; quoted strings within an argument list
|
||||||
|
confused the parser
|
||||||
|
lpd 1999-01-24 added a check for write errors on the output,
|
||||||
|
suggested by Jim Meyering <meyering@ascend.com>
|
||||||
lpd 1998-11-09 added further hack to recognize identifier(void)
|
lpd 1998-11-09 added further hack to recognize identifier(void)
|
||||||
as being a procedure
|
as being a procedure
|
||||||
lpd 1998-10-23 added hack to recognize lines consisting of
|
lpd 1998-10-23 added hack to recognize lines consisting of
|
||||||
@@ -153,19 +188,24 @@ program under the GPL.
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Define NULL (for *very* old compilers). */
|
||||||
|
#ifndef NULL
|
||||||
|
# define NULL (0)
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The ctype macros don't always handle 8-bit characters correctly.
|
* The ctype macros don't always handle 8-bit characters correctly.
|
||||||
* Compensate for this here.
|
* Compensate for this here.
|
||||||
*/
|
*/
|
||||||
#ifdef isascii
|
#ifdef isascii
|
||||||
# undef HAVE_ISASCII /* just in case */
|
# undef HAVE_ISASCII /* just in case */
|
||||||
# define HAVE_ISASCII 1
|
# define HAVE_ISASCII 1
|
||||||
#else
|
#else
|
||||||
#endif
|
#endif
|
||||||
#if STDC_HEADERS || !HAVE_ISASCII
|
#if STDC_HEADERS || !HAVE_ISASCII
|
||||||
# define is_ascii(c) 1
|
# define is_ascii(c) 1
|
||||||
#else
|
#else
|
||||||
# define is_ascii(c) isascii(c)
|
# define is_ascii(c) isascii(c)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define is_space(c) (is_ascii(c) && isspace(c))
|
#define is_space(c) (is_ascii(c) && isspace(c))
|
||||||
@@ -177,7 +217,10 @@ program under the GPL.
|
|||||||
#define isidfirstchar(ch) (is_alpha(ch) || (ch) == '_')
|
#define isidfirstchar(ch) (is_alpha(ch) || (ch) == '_')
|
||||||
|
|
||||||
/* Forward references */
|
/* Forward references */
|
||||||
|
char *ppdirforward();
|
||||||
|
char *ppdirbackward();
|
||||||
char *skipspace();
|
char *skipspace();
|
||||||
|
char *scanstring();
|
||||||
int writeblanks();
|
int writeblanks();
|
||||||
int test1();
|
int test1();
|
||||||
int convert1();
|
int convert1();
|
||||||
@@ -190,6 +233,8 @@ main(argc, argv)
|
|||||||
{ FILE *in = stdin;
|
{ FILE *in = stdin;
|
||||||
FILE *out = stdout;
|
FILE *out = stdout;
|
||||||
char *filename = 0;
|
char *filename = 0;
|
||||||
|
char *program_name = argv[0];
|
||||||
|
char *output_name = 0;
|
||||||
#define bufsize 5000 /* arbitrary size */
|
#define bufsize 5000 /* arbitrary size */
|
||||||
char *buf;
|
char *buf;
|
||||||
char *line;
|
char *line;
|
||||||
@@ -205,6 +250,7 @@ main(argc, argv)
|
|||||||
* check for this switch for backward compatibility.
|
* check for this switch for backward compatibility.
|
||||||
*/
|
*/
|
||||||
int convert_varargs = 1;
|
int convert_varargs = 1;
|
||||||
|
int output_error;
|
||||||
|
|
||||||
while ( argc > 1 && argv[1][0] == '-' ) {
|
while ( argc > 1 && argv[1][0] == '-' ) {
|
||||||
if ( !strcmp(argv[1], "--varargs") ) {
|
if ( !strcmp(argv[1], "--varargs") ) {
|
||||||
@@ -219,7 +265,8 @@ main(argc, argv)
|
|||||||
argv += 2;
|
argv += 2;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "Unrecognized switch: %s\n", argv[1]);
|
fprintf(stderr, "%s: Unrecognized switch: %s\n", program_name,
|
||||||
|
argv[1]);
|
||||||
fprintf(stderr, usage);
|
fprintf(stderr, usage);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
@@ -229,16 +276,19 @@ main(argc, argv)
|
|||||||
fprintf(stderr, usage);
|
fprintf(stderr, usage);
|
||||||
exit(0);
|
exit(0);
|
||||||
case 3:
|
case 3:
|
||||||
out = fopen(argv[2], "w");
|
output_name = argv[2];
|
||||||
|
out = fopen(output_name, "w");
|
||||||
if ( out == NULL ) {
|
if ( out == NULL ) {
|
||||||
fprintf(stderr, "Cannot open output file %s\n", argv[2]);
|
fprintf(stderr, "%s: Cannot open output file %s\n",
|
||||||
|
program_name, output_name);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
/* falls through */
|
/* falls through */
|
||||||
case 2:
|
case 2:
|
||||||
in = fopen(argv[1], "r");
|
in = fopen(argv[1], "r");
|
||||||
if ( in == NULL ) {
|
if ( in == NULL ) {
|
||||||
fprintf(stderr, "Cannot open input file %s\n", argv[1]);
|
fprintf(stderr, "%s: Cannot open input file %s\n",
|
||||||
|
program_name, argv[1]);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if ( filename == 0 )
|
if ( filename == 0 )
|
||||||
@@ -250,6 +300,11 @@ main(argc, argv)
|
|||||||
if ( filename )
|
if ( filename )
|
||||||
fprintf(out, "#line 1 \"%s\"\n", filename);
|
fprintf(out, "#line 1 \"%s\"\n", filename);
|
||||||
buf = malloc(bufsize);
|
buf = malloc(bufsize);
|
||||||
|
if ( buf == NULL )
|
||||||
|
{
|
||||||
|
fprintf(stderr, "Unable to allocate read buffer!\n");
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
line = buf;
|
line = buf;
|
||||||
while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
|
while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL )
|
||||||
{
|
{
|
||||||
@@ -266,7 +321,7 @@ f: if ( line >= buf + (bufsize - 1) ) /* overflow check */
|
|||||||
goto wl;
|
goto wl;
|
||||||
if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
|
if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL )
|
||||||
goto wl;
|
goto wl;
|
||||||
switch ( *skipspace(more, 1) )
|
switch ( *skipspace(ppdirforward(more), 1) )
|
||||||
{
|
{
|
||||||
case '{':
|
case '{':
|
||||||
/* Definitely a function header. */
|
/* Definitely a function header. */
|
||||||
@@ -300,32 +355,91 @@ wl: fputs(buf, out);
|
|||||||
if ( line != buf )
|
if ( line != buf )
|
||||||
fputs(buf, out);
|
fputs(buf, out);
|
||||||
free(buf);
|
free(buf);
|
||||||
if ( out != stdout )
|
if ( output_name ) {
|
||||||
fclose(out);
|
output_error = ferror(out);
|
||||||
|
output_error |= fclose(out);
|
||||||
|
} else { /* out == stdout */
|
||||||
|
fflush(out);
|
||||||
|
output_error = ferror(out);
|
||||||
|
}
|
||||||
|
if ( output_error ) {
|
||||||
|
fprintf(stderr, "%s: error writing to %s\n", program_name,
|
||||||
|
(output_name ? output_name : "stdout"));
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
if ( in != stdin )
|
if ( in != stdin )
|
||||||
fclose(in);
|
fclose(in);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Skip over space and comments, in either direction. */
|
/*
|
||||||
|
* Skip forward or backward over one or more preprocessor directives.
|
||||||
|
*/
|
||||||
|
char *
|
||||||
|
ppdirforward(p)
|
||||||
|
char *p;
|
||||||
|
{
|
||||||
|
for (; *p == '#'; ++p) {
|
||||||
|
for (; *p != '\r' && *p != '\n'; ++p)
|
||||||
|
if (*p == 0)
|
||||||
|
return p;
|
||||||
|
if (*p == '\r' && p[1] == '\n')
|
||||||
|
++p;
|
||||||
|
}
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
char *
|
||||||
|
ppdirbackward(p, limit)
|
||||||
|
char *p;
|
||||||
|
char *limit;
|
||||||
|
{
|
||||||
|
char *np = p;
|
||||||
|
|
||||||
|
for (;; p = --np) {
|
||||||
|
if (*np == '\n' && np[-1] == '\r')
|
||||||
|
--np;
|
||||||
|
for (; np > limit && np[-1] != '\r' && np[-1] != '\n'; --np)
|
||||||
|
if (np[-1] == 0)
|
||||||
|
return np;
|
||||||
|
if (*np != '#')
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Skip over whitespace, comments, and preprocessor directives,
|
||||||
|
* in either direction.
|
||||||
|
*/
|
||||||
char *
|
char *
|
||||||
skipspace(p, dir)
|
skipspace(p, dir)
|
||||||
register char *p;
|
char *p;
|
||||||
register int dir; /* 1 for forward, -1 for backward */
|
int dir; /* 1 for forward, -1 for backward */
|
||||||
{ for ( ; ; )
|
{
|
||||||
{ while ( is_space(*p) )
|
for ( ; ; ) {
|
||||||
p += dir;
|
while ( is_space(*p) )
|
||||||
if ( !(*p == '/' && p[dir] == '*') )
|
p += dir;
|
||||||
break;
|
if ( !(*p == '/' && p[dir] == '*') )
|
||||||
p += dir; p += dir;
|
break;
|
||||||
while ( !(*p == '*' && p[dir] == '/') )
|
p += dir; p += dir;
|
||||||
{ if ( *p == 0 )
|
while ( !(*p == '*' && p[dir] == '/') ) {
|
||||||
return p; /* multi-line comment?? */
|
if ( *p == 0 )
|
||||||
p += dir;
|
return p; /* multi-line comment?? */
|
||||||
}
|
p += dir;
|
||||||
p += dir; p += dir;
|
}
|
||||||
}
|
p += dir; p += dir;
|
||||||
return p;
|
}
|
||||||
|
return p;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Scan over a quoted string, in either direction. */
|
||||||
|
char *
|
||||||
|
scanstring(p, dir)
|
||||||
|
char *p;
|
||||||
|
int dir;
|
||||||
|
{
|
||||||
|
for (p += dir; ; p += dir)
|
||||||
|
if (*p == '"' && p[-dir] != '\\')
|
||||||
|
return p + dir;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -359,14 +473,14 @@ writeblanks(start, end)
|
|||||||
int
|
int
|
||||||
test1(buf)
|
test1(buf)
|
||||||
char *buf;
|
char *buf;
|
||||||
{ register char *p = buf;
|
{ char *p = buf;
|
||||||
char *bend;
|
char *bend;
|
||||||
char *endfn;
|
char *endfn;
|
||||||
int contin;
|
int contin;
|
||||||
|
|
||||||
if ( !isidfirstchar(*p) )
|
if ( !isidfirstchar(*p) )
|
||||||
return 0; /* no name at left margin */
|
return 0; /* no name at left margin */
|
||||||
bend = skipspace(buf + strlen(buf) - 1, -1);
|
bend = skipspace(ppdirbackward(buf + strlen(buf) - 1, buf), -1);
|
||||||
switch ( *bend )
|
switch ( *bend )
|
||||||
{
|
{
|
||||||
case ';': contin = 0 /*2*/; break;
|
case ';': contin = 0 /*2*/; break;
|
||||||
@@ -396,7 +510,7 @@ test1(buf)
|
|||||||
};
|
};
|
||||||
char **key = words;
|
char **key = words;
|
||||||
char *kp;
|
char *kp;
|
||||||
int len = endfn - buf;
|
unsigned len = endfn - buf;
|
||||||
|
|
||||||
while ( (kp = *key) != 0 )
|
while ( (kp = *key) != 0 )
|
||||||
{ if ( strlen(kp) == len && !strncmp(kp, buf, len) )
|
{ if ( strlen(kp) == len && !strncmp(kp, buf, len) )
|
||||||
@@ -409,14 +523,16 @@ test1(buf)
|
|||||||
int len;
|
int len;
|
||||||
/*
|
/*
|
||||||
* Check for identifier1(identifier2) and not
|
* Check for identifier1(identifier2) and not
|
||||||
* identifier1(void).
|
* identifier1(void), or identifier1(identifier2, xxxx).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
while ( isidchar(*p) )
|
while ( isidchar(*p) )
|
||||||
p++;
|
p++;
|
||||||
len = p - id;
|
len = p - id;
|
||||||
p = skipspace(p, 1);
|
p = skipspace(p, 1);
|
||||||
if ( *p == ')' && (len != 4 || strncmp(id, "void", 4)) )
|
if (*p == ',' ||
|
||||||
|
(*p == ')' && (len != 4 || strncmp(id, "void", 4)))
|
||||||
|
)
|
||||||
return 0; /* not a function */
|
return 0; /* not a function */
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@@ -443,7 +559,7 @@ convert1(buf, out, header, convert_varargs)
|
|||||||
int header; /* Boolean */
|
int header; /* Boolean */
|
||||||
int convert_varargs; /* Boolean */
|
int convert_varargs; /* Boolean */
|
||||||
{ char *endfn;
|
{ char *endfn;
|
||||||
register char *p;
|
char *p;
|
||||||
/*
|
/*
|
||||||
* The breaks table contains pointers to the beginning and end
|
* The breaks table contains pointers to the beginning and end
|
||||||
* of each argument.
|
* of each argument.
|
||||||
@@ -461,7 +577,7 @@ convert1(buf, out, header, convert_varargs)
|
|||||||
;
|
;
|
||||||
top: p = endfn;
|
top: p = endfn;
|
||||||
breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
|
breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
|
||||||
if ( breaks == 0 )
|
if ( breaks == NULL )
|
||||||
{ /* Couldn't allocate break table, give up */
|
{ /* Couldn't allocate break table, give up */
|
||||||
fprintf(stderr, "Unable to allocate break table!\n");
|
fprintf(stderr, "Unable to allocate break table!\n");
|
||||||
fputs(buf, out);
|
fputs(buf, out);
|
||||||
@@ -473,7 +589,7 @@ top: p = endfn;
|
|||||||
do
|
do
|
||||||
{ int level = 0;
|
{ int level = 0;
|
||||||
char *lp = NULL;
|
char *lp = NULL;
|
||||||
char *rp;
|
char *rp = NULL;
|
||||||
char *end = NULL;
|
char *end = NULL;
|
||||||
|
|
||||||
if ( bp >= btop )
|
if ( bp >= btop )
|
||||||
@@ -500,14 +616,18 @@ top: p = endfn;
|
|||||||
else rp = p;
|
else rp = p;
|
||||||
break;
|
break;
|
||||||
case '/':
|
case '/':
|
||||||
p = skipspace(p, 1) - 1;
|
if (p[1] == '*')
|
||||||
|
p = skipspace(p, 1) - 1;
|
||||||
break;
|
break;
|
||||||
|
case '"':
|
||||||
|
p = scanstring(p, 1) - 1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Erase any embedded prototype parameters. */
|
/* Erase any embedded prototype parameters. */
|
||||||
if ( lp )
|
if ( lp && rp )
|
||||||
writeblanks(lp + 1, rp);
|
writeblanks(lp + 1, rp);
|
||||||
p--; /* back up over terminator */
|
p--; /* back up over terminator */
|
||||||
/* Find the name being declared. */
|
/* Find the name being declared. */
|
||||||
@@ -523,9 +643,19 @@ top: p = endfn;
|
|||||||
while ( level )
|
while ( level )
|
||||||
switch ( *--p )
|
switch ( *--p )
|
||||||
{
|
{
|
||||||
case ']': case ')': level++; break;
|
case ']': case ')':
|
||||||
case '[': case '(': level--; break;
|
level++;
|
||||||
case '/': p = skipspace(p, -1) + 1; break;
|
break;
|
||||||
|
case '[': case '(':
|
||||||
|
level--;
|
||||||
|
break;
|
||||||
|
case '/':
|
||||||
|
if (p > buf && p[-1] == '*')
|
||||||
|
p = skipspace(p, -1) + 1;
|
||||||
|
break;
|
||||||
|
case '"':
|
||||||
|
p = scanstring(p, -1) + 1;
|
||||||
|
break;
|
||||||
default: ;
|
default: ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+198
-74
@@ -1,23 +1,22 @@
|
|||||||
/* Error handler for noninteractive utilities
|
/* Error handler for noninteractive utilities
|
||||||
Copyright (C) 1990-1998, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1990-1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Lesser General Public
|
||||||
published by the Free Software Foundation; either version 2 of the
|
License as published by the Free Software Foundation; either
|
||||||
License, or (at your option) any later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Lesser General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
Boston, MA 02111-1307, USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
/* Written by David MacKenzie <[email protected]>. */
|
/* Written by David MacKenzie <[email protected]>. */
|
||||||
|
|
||||||
@@ -29,6 +28,10 @@
|
|||||||
#if HAVE_LIBINTL_H
|
#if HAVE_LIBINTL_H
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef _LIBC
|
||||||
|
# include <wchar.h>
|
||||||
|
# define mbsrtowcs __mbsrtowcs
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
|
#if HAVE_VPRINTF || HAVE_DOPRNT || _LIBC
|
||||||
# if __STDC__
|
# if __STDC__
|
||||||
@@ -52,13 +55,6 @@ void exit ();
|
|||||||
|
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
|
||||||
#ifndef HAVE_DECL_STRERROR_R
|
|
||||||
"this configure-time declaration test was not run"
|
|
||||||
#endif
|
|
||||||
#if !HAVE_DECL_STRERROR_R
|
|
||||||
char *strerror_r ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
# define _(String) String
|
# define _(String) String
|
||||||
#endif
|
#endif
|
||||||
@@ -83,6 +79,12 @@ unsigned int error_message_count;
|
|||||||
|
|
||||||
/* In GNU libc we want do not want to use the common name `error' directly.
|
/* In GNU libc we want do not want to use the common name `error' directly.
|
||||||
Instead make it a weak alias. */
|
Instead make it a weak alias. */
|
||||||
|
extern void __error (int status, int errnum, const char *message, ...)
|
||||||
|
__attribute__ ((__format__ (__printf__, 3, 4)));
|
||||||
|
extern void __error_at_line (int status, int errnum, const char *file_name,
|
||||||
|
unsigned int line_number, const char *message,
|
||||||
|
...)
|
||||||
|
__attribute__ ((__format__ (__printf__, 5, 6)));;
|
||||||
# define error __error
|
# define error __error
|
||||||
# define error_at_line __error_at_line
|
# define error_at_line __error_at_line
|
||||||
|
|
||||||
@@ -93,21 +95,30 @@ unsigned int error_message_count;
|
|||||||
|
|
||||||
#else /* not _LIBC */
|
#else /* not _LIBC */
|
||||||
|
|
||||||
|
# if !HAVE_DECL_STRERROR_R && STRERROR_R_CHAR_P
|
||||||
|
# ifndef HAVE_DECL_STRERROR_R
|
||||||
|
"this configure-time declaration test was not run"
|
||||||
|
# endif
|
||||||
|
char *strerror_r ();
|
||||||
|
# endif
|
||||||
|
|
||||||
/* The calling program should define program_name and set it to the
|
/* The calling program should define program_name and set it to the
|
||||||
name of the executing program. */
|
name of the executing program. */
|
||||||
extern char *program_name;
|
extern char *program_name;
|
||||||
|
|
||||||
# ifdef HAVE_STRERROR_R
|
# if HAVE_STRERROR_R || defined strerror_r
|
||||||
# define __strerror_r strerror_r
|
# define __strerror_r strerror_r
|
||||||
# else
|
# else
|
||||||
# if HAVE_STRERROR
|
# if HAVE_STRERROR
|
||||||
# ifndef strerror /* On some systems, strerror is a macro */
|
# ifndef HAVE_DECL_STRERROR
|
||||||
|
"this configure-time declaration test was not run"
|
||||||
|
# endif
|
||||||
|
# if !HAVE_DECL_STRERROR
|
||||||
char *strerror ();
|
char *strerror ();
|
||||||
# endif
|
# endif
|
||||||
# else
|
# else
|
||||||
static char *
|
static char *
|
||||||
private_strerror (errnum)
|
private_strerror (int errnum)
|
||||||
int errnum;
|
|
||||||
{
|
{
|
||||||
extern char *sys_errlist[];
|
extern char *sys_errlist[];
|
||||||
extern int sys_nerr;
|
extern int sys_nerr;
|
||||||
@@ -118,15 +129,118 @@ private_strerror (errnum)
|
|||||||
}
|
}
|
||||||
# define strerror private_strerror
|
# define strerror private_strerror
|
||||||
# endif /* HAVE_STRERROR */
|
# endif /* HAVE_STRERROR */
|
||||||
# endif /* HAVE_STRERROR_R */
|
# endif /* HAVE_STRERROR_R || defined strerror_r */
|
||||||
#endif /* not _LIBC */
|
#endif /* not _LIBC */
|
||||||
|
|
||||||
|
static void
|
||||||
|
print_errno_message (int errnum)
|
||||||
|
{
|
||||||
|
char const *s;
|
||||||
|
|
||||||
|
#if defined HAVE_STRERROR_R || _LIBC
|
||||||
|
char errbuf[1024];
|
||||||
|
# if STRERROR_R_CHAR_P || _LIBC
|
||||||
|
s = __strerror_r (errnum, errbuf, sizeof errbuf);
|
||||||
|
# else
|
||||||
|
if (__strerror_r (errnum, errbuf, sizeof errbuf) == 0)
|
||||||
|
s = errbuf;
|
||||||
|
else
|
||||||
|
s = 0;
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
s = strerror (errnum);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !_LIBC
|
||||||
|
if (! s)
|
||||||
|
s = _("Unknown system error");
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
{
|
||||||
|
__fwprintf (stderr, L": %s", s);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
fprintf (stderr, ": %s", s);
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef VA_START
|
||||||
|
static void
|
||||||
|
error_tail (int status, int errnum, const char *message, va_list args)
|
||||||
|
{
|
||||||
|
# if HAVE_VPRINTF || _LIBC
|
||||||
|
# if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
{
|
||||||
|
# define ALLOCA_LIMIT 2000
|
||||||
|
size_t len = strlen (message) + 1;
|
||||||
|
wchar_t *wmessage = NULL;
|
||||||
|
mbstate_t st;
|
||||||
|
size_t res;
|
||||||
|
const char *tmp;
|
||||||
|
|
||||||
|
do
|
||||||
|
{
|
||||||
|
if (len < ALLOCA_LIMIT)
|
||||||
|
wmessage = (wchar_t *) alloca (len * sizeof (wchar_t));
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (wmessage != NULL && len / 2 < ALLOCA_LIMIT)
|
||||||
|
wmessage = NULL;
|
||||||
|
|
||||||
|
wmessage = (wchar_t *) realloc (wmessage,
|
||||||
|
len * sizeof (wchar_t));
|
||||||
|
|
||||||
|
if (wmessage == NULL)
|
||||||
|
{
|
||||||
|
fputws_unlocked (L"out of memory\n", stderr);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
memset (&st, '\0', sizeof (st));
|
||||||
|
tmp =message;
|
||||||
|
}
|
||||||
|
while ((res = mbsrtowcs (wmessage, &tmp, len, &st)) == len);
|
||||||
|
|
||||||
|
if (res == (size_t) -1)
|
||||||
|
/* The string cannot be converted. */
|
||||||
|
wmessage = (wchar_t *) L"???";
|
||||||
|
|
||||||
|
__vfwprintf (stderr, wmessage, args);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
# endif
|
||||||
|
vfprintf (stderr, message, args);
|
||||||
|
# else
|
||||||
|
_doprnt (message, args, stderr);
|
||||||
|
# endif
|
||||||
|
va_end (args);
|
||||||
|
|
||||||
|
++error_message_count;
|
||||||
|
if (errnum)
|
||||||
|
print_errno_message (errnum);
|
||||||
|
# if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
putwc (L'\n', stderr);
|
||||||
|
else
|
||||||
|
# endif
|
||||||
|
putc ('\n', stderr);
|
||||||
|
fflush (stderr);
|
||||||
|
if (status)
|
||||||
|
exit (status);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Print the program name and error message MESSAGE, which is a printf-style
|
/* Print the program name and error message MESSAGE, which is a printf-style
|
||||||
format string with optional args.
|
format string with optional args.
|
||||||
If ERRNUM is nonzero, print its corresponding system error message.
|
If ERRNUM is nonzero, print its corresponding system error message.
|
||||||
Exit with status STATUS if it is nonzero. */
|
Exit with status STATUS if it is nonzero. */
|
||||||
/* VARARGS */
|
/* VARARGS */
|
||||||
|
|
||||||
void
|
void
|
||||||
#if defined VA_START && __STDC__
|
#if defined VA_START && __STDC__
|
||||||
error (int status, int errnum, const char *message, ...)
|
error (int status, int errnum, const char *message, ...)
|
||||||
@@ -142,47 +256,48 @@ error (status, errnum, message, va_alist)
|
|||||||
va_list args;
|
va_list args;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
fflush (stdout);
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_flockfile (stderr);
|
||||||
|
# else
|
||||||
|
__flockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
if (error_print_progname)
|
if (error_print_progname)
|
||||||
(*error_print_progname) ();
|
(*error_print_progname) ();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fflush (stdout);
|
#if _LIBC && USE_IN_LIBIO
|
||||||
fprintf (stderr, "%s: ", program_name);
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s: ", program_name);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
fprintf (stderr, "%s: ", program_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VA_START
|
#ifdef VA_START
|
||||||
VA_START (args, message);
|
VA_START (args, message);
|
||||||
# if HAVE_VPRINTF || _LIBC
|
error_tail (status, errnum, message, args);
|
||||||
vfprintf (stderr, message, args);
|
|
||||||
# else
|
|
||||||
_doprnt (message, args, stderr);
|
|
||||||
# endif
|
|
||||||
va_end (args);
|
|
||||||
#else
|
#else
|
||||||
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
||||||
#endif
|
|
||||||
|
|
||||||
++error_message_count;
|
++error_message_count;
|
||||||
if (errnum)
|
if (errnum)
|
||||||
{
|
print_errno_message (errnum);
|
||||||
#if defined HAVE_STRERROR_R || _LIBC
|
|
||||||
char errbuf[1024];
|
|
||||||
# if HAVE_WORKING_STRERROR_R || _LIBC
|
|
||||||
fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
|
|
||||||
# else
|
|
||||||
/* Don't use __strerror_r's return value because on some systems
|
|
||||||
(at least DEC UNIX 4.0[A-D]) strerror_r returns `int'. */
|
|
||||||
__strerror_r (errnum, errbuf, sizeof errbuf);
|
|
||||||
fprintf (stderr, ": %s", errbuf);
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
fprintf (stderr, ": %s", strerror (errnum));
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
putc ('\n', stderr);
|
putc ('\n', stderr);
|
||||||
fflush (stderr);
|
fflush (stderr);
|
||||||
if (status)
|
if (status)
|
||||||
exit (status);
|
exit (status);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_funlockfile (stderr);
|
||||||
|
# else
|
||||||
|
__funlockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sometimes we want to have at most one error per line. This
|
/* Sometimes we want to have at most one error per line. This
|
||||||
@@ -212,8 +327,9 @@ error_at_line (status, errnum, file_name, line_number, message, va_alist)
|
|||||||
static const char *old_file_name;
|
static const char *old_file_name;
|
||||||
static unsigned int old_line_number;
|
static unsigned int old_line_number;
|
||||||
|
|
||||||
if (old_line_number == line_number &&
|
if (old_line_number == line_number
|
||||||
(file_name == old_file_name || !strcmp (old_file_name, file_name)))
|
&& (file_name == old_file_name
|
||||||
|
|| strcmp (old_file_name, file_name) == 0))
|
||||||
/* Simply return and print nothing. */
|
/* Simply return and print nothing. */
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@@ -221,50 +337,58 @@ error_at_line (status, errnum, file_name, line_number, message, va_alist)
|
|||||||
old_line_number = line_number;
|
old_line_number = line_number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fflush (stdout);
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_flockfile (stderr);
|
||||||
|
# else
|
||||||
|
__flockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
if (error_print_progname)
|
if (error_print_progname)
|
||||||
(*error_print_progname) ();
|
(*error_print_progname) ();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
fflush (stdout);
|
#if _LIBC && USE_IN_LIBIO
|
||||||
fprintf (stderr, "%s:", program_name);
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s: ", program_name);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
fprintf (stderr, "%s:", program_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_name != NULL)
|
if (file_name != NULL)
|
||||||
fprintf (stderr, "%s:%d: ", file_name, line_number);
|
{
|
||||||
|
#if _LIBC && USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s:%d: ", file_name, line_number);
|
||||||
|
else
|
||||||
|
#endif
|
||||||
|
fprintf (stderr, "%s:%d: ", file_name, line_number);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef VA_START
|
#ifdef VA_START
|
||||||
VA_START (args, message);
|
VA_START (args, message);
|
||||||
# if HAVE_VPRINTF || _LIBC
|
error_tail (status, errnum, message, args);
|
||||||
vfprintf (stderr, message, args);
|
|
||||||
# else
|
|
||||||
_doprnt (message, args, stderr);
|
|
||||||
# endif
|
|
||||||
va_end (args);
|
|
||||||
#else
|
#else
|
||||||
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
fprintf (stderr, message, a1, a2, a3, a4, a5, a6, a7, a8);
|
||||||
#endif
|
|
||||||
|
|
||||||
++error_message_count;
|
++error_message_count;
|
||||||
if (errnum)
|
if (errnum)
|
||||||
{
|
print_errno_message (errnum);
|
||||||
#if defined HAVE_STRERROR_R || _LIBC
|
|
||||||
char errbuf[1024];
|
|
||||||
# if HAVE_WORKING_STRERROR_R || _LIBC
|
|
||||||
fprintf (stderr, ": %s", __strerror_r (errnum, errbuf, sizeof errbuf));
|
|
||||||
# else
|
|
||||||
/* Don't use __strerror_r's return value because on some systems
|
|
||||||
(at least DEC UNIX 4.0[A-D]) strerror_r returns `int'. */
|
|
||||||
__strerror_r (errnum, errbuf, sizeof errbuf);
|
|
||||||
fprintf (stderr, ": %s", errbuf);
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
fprintf (stderr, ": %s", strerror (errnum));
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
putc ('\n', stderr);
|
putc ('\n', stderr);
|
||||||
fflush (stderr);
|
fflush (stderr);
|
||||||
if (status)
|
if (status)
|
||||||
exit (status);
|
exit (status);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef _LIBC
|
||||||
|
# ifdef USE_IN_LIBIO
|
||||||
|
_IO_funlockfile (stderr);
|
||||||
|
# else
|
||||||
|
__funlockfile (stderr);
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef _LIBC
|
#ifdef _LIBC
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#ifndef __attribute__
|
#ifndef __attribute__
|
||||||
/* This feature is available in gcc versions 2.5 and later. */
|
/* This feature is available in gcc versions 2.5 and later. */
|
||||||
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__
|
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
|
||||||
# define __attribute__(Spec) /* empty */
|
# define __attribute__(Spec) /* empty */
|
||||||
# endif
|
# endif
|
||||||
/* The __-protected variants of `format' and `printf' attributes
|
/* The __-protected variants of `format' and `printf' attributes
|
||||||
|
|||||||
+59
-40
@@ -1,23 +1,25 @@
|
|||||||
/* Getopt for GNU.
|
/* Getopt for GNU.
|
||||||
NOTE: The canonical source of this file is maintained with the GNU
|
NOTE: getopt is now part of the C library, so if you don't know what
|
||||||
C Library. Bugs can be reported to bug-glibc@gnu.org.
|
"Keep this file name-space clean" means, talk to drepper@gnu.org
|
||||||
|
before changing it!
|
||||||
Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
|
Copyright (C) 1987,88,89,90,91,92,93,94,95,96,98,99,2000,2001
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
under the terms of the GNU General Public License as published by the
|
modify it under the terms of the GNU Lesser General Public
|
||||||
Free Software Foundation; either version 2, or (at your option) any
|
License as published by the Free Software Foundation; either
|
||||||
later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Lesser General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
|
02111-1307 USA. */
|
||||||
|
|
||||||
/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
|
/* This tells Alpha OSF/1 not to define a getopt prototype in <stdio.h>.
|
||||||
Ditto for AIX 3.2 and <stdlib.h>. */
|
Ditto for AIX 3.2 and <stdlib.h>. */
|
||||||
@@ -27,13 +29,13 @@
|
|||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
# include <config.h>
|
# include <config.h>
|
||||||
#else
|
#endif
|
||||||
# if !defined __STDC__ || !__STDC__
|
|
||||||
|
#if !defined __STDC__ || !__STDC__
|
||||||
/* This is a separate conditional since some stdc systems
|
/* This is a separate conditional since some stdc systems
|
||||||
reject `defined (const)'. */
|
reject `defined (const)'. */
|
||||||
# ifndef const
|
# ifndef const
|
||||||
# define const
|
# define const
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -75,11 +77,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef _
|
#ifndef _
|
||||||
/* This is for other GNU distributions with internationalized messages.
|
/* This is for other GNU distributions with internationalized messages. */
|
||||||
When compiling libc, the _ macro is predefined. */
|
# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
|
||||||
# ifdef HAVE_LIBINTL_H
|
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
# define _(msgid) gettext (msgid)
|
# ifndef _
|
||||||
|
# define _(msgid) gettext (msgid)
|
||||||
|
# endif
|
||||||
# else
|
# else
|
||||||
# define _(msgid) (msgid)
|
# define _(msgid) (msgid)
|
||||||
# endif
|
# endif
|
||||||
@@ -250,11 +253,13 @@ static int last_nonopt;
|
|||||||
/* Bash 2.0 gives us an environment variable containing flags
|
/* Bash 2.0 gives us an environment variable containing flags
|
||||||
indicating ARGV elements that should not be considered arguments. */
|
indicating ARGV elements that should not be considered arguments. */
|
||||||
|
|
||||||
|
#ifdef USE_NONOPTION_FLAGS
|
||||||
/* Defined in getopt_init.c */
|
/* Defined in getopt_init.c */
|
||||||
extern char *__getopt_nonoption_flags;
|
extern char *__getopt_nonoption_flags;
|
||||||
|
|
||||||
static int nonoption_flags_max_len;
|
static int nonoption_flags_max_len;
|
||||||
static int nonoption_flags_len;
|
static int nonoption_flags_len;
|
||||||
|
#endif
|
||||||
|
|
||||||
static int original_argc;
|
static int original_argc;
|
||||||
static char *const *original_argv;
|
static char *const *original_argv;
|
||||||
@@ -275,13 +280,17 @@ store_args_and_env (int argc, char *const *argv)
|
|||||||
text_set_element (__libc_subinit, store_args_and_env);
|
text_set_element (__libc_subinit, store_args_and_env);
|
||||||
# endif /* text_set_element */
|
# endif /* text_set_element */
|
||||||
|
|
||||||
# define SWAP_FLAGS(ch1, ch2) \
|
# ifdef USE_NONOPTION_FLAGS
|
||||||
|
# define SWAP_FLAGS(ch1, ch2) \
|
||||||
if (nonoption_flags_len > 0) \
|
if (nonoption_flags_len > 0) \
|
||||||
{ \
|
{ \
|
||||||
char __tmp = __getopt_nonoption_flags[ch1]; \
|
char __tmp = __getopt_nonoption_flags[ch1]; \
|
||||||
__getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \
|
__getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \
|
||||||
__getopt_nonoption_flags[ch2] = __tmp; \
|
__getopt_nonoption_flags[ch2] = __tmp; \
|
||||||
}
|
}
|
||||||
|
# else
|
||||||
|
# define SWAP_FLAGS(ch1, ch2)
|
||||||
|
# endif
|
||||||
#else /* !_LIBC */
|
#else /* !_LIBC */
|
||||||
# define SWAP_FLAGS(ch1, ch2)
|
# define SWAP_FLAGS(ch1, ch2)
|
||||||
#endif /* _LIBC */
|
#endif /* _LIBC */
|
||||||
@@ -313,7 +322,7 @@ exchange (argv)
|
|||||||
It leaves the longer segment in the right place overall,
|
It leaves the longer segment in the right place overall,
|
||||||
but it consists of two parts that need to be swapped next. */
|
but it consists of two parts that need to be swapped next. */
|
||||||
|
|
||||||
#ifdef _LIBC
|
#if defined _LIBC && defined USE_NONOPTION_FLAGS
|
||||||
/* First make sure the handling of the `__getopt_nonoption_flags'
|
/* First make sure the handling of the `__getopt_nonoption_flags'
|
||||||
string can work normally. Our top argument must be in the range
|
string can work normally. Our top argument must be in the range
|
||||||
of the string. */
|
of the string. */
|
||||||
@@ -417,7 +426,7 @@ _getopt_initialize (argc, argv, optstring)
|
|||||||
else
|
else
|
||||||
ordering = PERMUTE;
|
ordering = PERMUTE;
|
||||||
|
|
||||||
#ifdef _LIBC
|
#if defined _LIBC && defined USE_NONOPTION_FLAGS
|
||||||
if (posixly_correct == NULL
|
if (posixly_correct == NULL
|
||||||
&& argc == original_argc && argv == original_argv)
|
&& argc == original_argc && argv == original_argv)
|
||||||
{
|
{
|
||||||
@@ -515,6 +524,13 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
int *longind;
|
int *longind;
|
||||||
int long_only;
|
int long_only;
|
||||||
{
|
{
|
||||||
|
int print_errors = opterr;
|
||||||
|
if (optstring[0] == ':')
|
||||||
|
print_errors = 0;
|
||||||
|
|
||||||
|
if (argc < 1)
|
||||||
|
return -1;
|
||||||
|
|
||||||
optarg = NULL;
|
optarg = NULL;
|
||||||
|
|
||||||
if (optind == 0 || !__getopt_initialized)
|
if (optind == 0 || !__getopt_initialized)
|
||||||
@@ -529,7 +545,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
Either it does not have option syntax, or there is an environment flag
|
Either it does not have option syntax, or there is an environment flag
|
||||||
from the shell indicating it is not an option. The later information
|
from the shell indicating it is not an option. The later information
|
||||||
is only used when the used in the GNU libc. */
|
is only used when the used in the GNU libc. */
|
||||||
#ifdef _LIBC
|
#if defined _LIBC && defined USE_NONOPTION_FLAGS
|
||||||
# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \
|
# define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \
|
||||||
|| (optind < nonoption_flags_len \
|
|| (optind < nonoption_flags_len \
|
||||||
&& __getopt_nonoption_flags[optind] == '1'))
|
&& __getopt_nonoption_flags[optind] == '1'))
|
||||||
@@ -664,14 +680,17 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
pfound = p;
|
pfound = p;
|
||||||
indfound = option_index;
|
indfound = option_index;
|
||||||
}
|
}
|
||||||
else
|
else if (long_only
|
||||||
|
|| pfound->has_arg != p->has_arg
|
||||||
|
|| pfound->flag != p->flag
|
||||||
|
|| pfound->val != p->val)
|
||||||
/* Second or later nonexact match found. */
|
/* Second or later nonexact match found. */
|
||||||
ambig = 1;
|
ambig = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ambig && !exact)
|
if (ambig && !exact)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
|
fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
|
||||||
argv[0], argv[optind]);
|
argv[0], argv[optind]);
|
||||||
nextchar += strlen (nextchar);
|
nextchar += strlen (nextchar);
|
||||||
@@ -692,7 +711,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = nameend + 1;
|
optarg = nameend + 1;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
if (argv[optind - 1][1] == '-')
|
if (argv[optind - 1][1] == '-')
|
||||||
/* --option */
|
/* --option */
|
||||||
@@ -718,7 +737,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = argv[optind++];
|
optarg = argv[optind++];
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: option `%s' requires an argument\n"),
|
_("%s: option `%s' requires an argument\n"),
|
||||||
argv[0], argv[optind - 1]);
|
argv[0], argv[optind - 1]);
|
||||||
@@ -745,7 +764,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
if (!long_only || argv[optind][1] == '-'
|
if (!long_only || argv[optind][1] == '-'
|
||||||
|| my_index (optstring, *nextchar) == NULL)
|
|| my_index (optstring, *nextchar) == NULL)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
if (argv[optind][1] == '-')
|
if (argv[optind][1] == '-')
|
||||||
/* --option */
|
/* --option */
|
||||||
@@ -775,7 +794,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
|
|
||||||
if (temp == NULL || c == ':')
|
if (temp == NULL || c == ':')
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
if (posixly_correct)
|
if (posixly_correct)
|
||||||
/* 1003.2 specifies the format of this message. */
|
/* 1003.2 specifies the format of this message. */
|
||||||
@@ -809,7 +828,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
}
|
}
|
||||||
else if (optind == argc)
|
else if (optind == argc)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
/* 1003.2 specifies the format of this message. */
|
/* 1003.2 specifies the format of this message. */
|
||||||
fprintf (stderr, _("%s: option requires an argument -- %c\n"),
|
fprintf (stderr, _("%s: option requires an argument -- %c\n"),
|
||||||
@@ -858,7 +877,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
}
|
}
|
||||||
if (ambig && !exact)
|
if (ambig && !exact)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
|
fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
|
||||||
argv[0], argv[optind]);
|
argv[0], argv[optind]);
|
||||||
nextchar += strlen (nextchar);
|
nextchar += strlen (nextchar);
|
||||||
@@ -876,7 +895,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = nameend + 1;
|
optarg = nameend + 1;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr, _("\
|
fprintf (stderr, _("\
|
||||||
%s: option `-W %s' doesn't allow an argument\n"),
|
%s: option `-W %s' doesn't allow an argument\n"),
|
||||||
argv[0], pfound->name);
|
argv[0], pfound->name);
|
||||||
@@ -891,7 +910,7 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
optarg = argv[optind++];
|
optarg = argv[optind++];
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: option `%s' requires an argument\n"),
|
_("%s: option `%s' requires an argument\n"),
|
||||||
argv[0], argv[optind - 1]);
|
argv[0], argv[optind - 1]);
|
||||||
@@ -938,12 +957,12 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
}
|
}
|
||||||
else if (optind == argc)
|
else if (optind == argc)
|
||||||
{
|
{
|
||||||
if (opterr)
|
if (print_errors)
|
||||||
{
|
{
|
||||||
/* 1003.2 specifies the format of this message. */
|
/* 1003.2 specifies the format of this message. */
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: option requires an argument -- %c\n"),
|
_("%s: option requires an argument -- %c\n"),
|
||||||
argv[0], c);
|
argv[0], c);
|
||||||
}
|
}
|
||||||
optopt = c;
|
optopt = c;
|
||||||
if (optstring[0] == ':')
|
if (optstring[0] == ':')
|
||||||
|
|||||||
+27
-16
@@ -1,21 +1,21 @@
|
|||||||
/* Declarations for getopt.
|
/* Declarations for getopt.
|
||||||
Copyright (C) 1989,90,91,92,93,94,96,97,98 Free Software Foundation, Inc.
|
Copyright (C) 1989-1994, 1996-1999, 2001 Free Software Foundation, Inc.
|
||||||
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Bugs can be reported to bug-glibc@gnu.org.
|
|
||||||
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 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,
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
modify it under the terms of the GNU Lesser General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Lesser General Public
|
||||||
along with this program; if not, write to the Free Software
|
License along with the GNU C Library; if not, write to the Free
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifndef _GETOPT_H
|
#ifndef _GETOPT_H
|
||||||
|
|
||||||
@@ -23,6 +23,17 @@
|
|||||||
# define _GETOPT_H 1
|
# define _GETOPT_H 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* If __GNU_LIBRARY__ is not already defined, either we are being used
|
||||||
|
standalone, or this is the first header included in the source file.
|
||||||
|
If we are being used with glibc, we need to include <features.h>, but
|
||||||
|
that does not exist if we are standalone. So: if __GNU_LIBRARY__ is
|
||||||
|
not defined, include <ctype.h>, which will pull in <features.h> for us
|
||||||
|
if it's from glibc. (Why ctype.h? It's guaranteed to exist and it
|
||||||
|
doesn't flood the namespace with stuff the way some other headers do.) */
|
||||||
|
#if !defined __GNU_LIBRARY__
|
||||||
|
# include <ctype.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -82,7 +93,7 @@ extern int optopt;
|
|||||||
|
|
||||||
struct option
|
struct option
|
||||||
{
|
{
|
||||||
# if defined __STDC__ && __STDC__
|
# if (defined __STDC__ && __STDC__) || defined __cplusplus
|
||||||
const char *name;
|
const char *name;
|
||||||
# else
|
# else
|
||||||
char *name;
|
char *name;
|
||||||
@@ -126,7 +137,7 @@ struct option
|
|||||||
arguments to the option '\0'. This behavior is specific to the GNU
|
arguments to the option '\0'. This behavior is specific to the GNU
|
||||||
`getopt'. */
|
`getopt'. */
|
||||||
|
|
||||||
#if defined __STDC__ && __STDC__
|
#if (defined __STDC__ && __STDC__) || defined __cplusplus
|
||||||
# ifdef __GNU_LIBRARY__
|
# ifdef __GNU_LIBRARY__
|
||||||
/* Many other libraries have conflicting prototypes for getopt, with
|
/* Many other libraries have conflicting prototypes for getopt, with
|
||||||
differences in the consts, in stdlib.h. To avoid compilation
|
differences in the consts, in stdlib.h. To avoid compilation
|
||||||
|
|||||||
+16
-16
@@ -1,26 +1,29 @@
|
|||||||
/* getopt_long and getopt_long_only entry points for GNU getopt.
|
/* getopt_long and getopt_long_only entry points for GNU getopt.
|
||||||
Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
|
Copyright (C) 1987,88,89,90,91,92,93,94,96,97,98
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Bugs can be reported to bug-glibc@gnu.org.
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify it
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
under the terms of the GNU General Public License as published by the
|
modify it under the terms of the GNU Lesser General Public
|
||||||
Free Software Foundation; either version 2, or (at your option) any
|
License as published by the Free Software Foundation; either
|
||||||
later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
GNU General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Lesser General Public
|
||||||
along with this program; if not, write to the Free Software Foundation,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#else
|
#endif
|
||||||
|
|
||||||
|
#include "getopt.h"
|
||||||
|
|
||||||
#if !defined __STDC__ || !__STDC__
|
#if !defined __STDC__ || !__STDC__
|
||||||
/* This is a separate conditional since some stdc systems
|
/* This is a separate conditional since some stdc systems
|
||||||
reject `defined (const)'. */
|
reject `defined (const)'. */
|
||||||
@@ -28,9 +31,6 @@
|
|||||||
#define const
|
#define const
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "getopt.h"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
|
|||||||
+94
-75
@@ -1,26 +1,25 @@
|
|||||||
/* obstack.c - subroutines used implicitly by object stack macros
|
/* obstack.c - subroutines used implicitly by object stack macros
|
||||||
Copyright (C) 1988-1994,96,97,98,99,2000 Free Software Foundation, Inc.
|
Copyright (C) 1988-1994,96,97,98,99,2000,2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Lesser General Public
|
||||||
published by the Free Software Foundation; either version 2 of the
|
License as published by the Free Software Foundation; either
|
||||||
License, or (at your option) any later version.
|
version 2.1 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Lesser General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Lesser General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
License along with the GNU C Library; if not, write to the Free
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||||
Boston, MA 02111-1307, USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "obstack.h"
|
#include "obstack.h"
|
||||||
@@ -40,40 +39,43 @@
|
|||||||
files, it is simpler to just do this in the source for each such file. */
|
files, it is simpler to just do this in the source for each such file. */
|
||||||
|
|
||||||
#include <stdio.h> /* Random thing to get __GNU_LIBRARY__. */
|
#include <stdio.h> /* Random thing to get __GNU_LIBRARY__. */
|
||||||
#if !defined (_LIBC) && defined (__GNU_LIBRARY__) && __GNU_LIBRARY__ > 1
|
#if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
|
||||||
#include <gnu-versions.h>
|
# include <gnu-versions.h>
|
||||||
#if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION
|
# if _GNU_OBSTACK_INTERFACE_VERSION == OBSTACK_INTERFACE_VERSION
|
||||||
#define ELIDE_CODE
|
# define ELIDE_CODE
|
||||||
#endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined _LIBC && defined USE_IN_LIBIO
|
||||||
|
# include <wchar.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef ELIDE_CODE
|
#ifndef ELIDE_CODE
|
||||||
|
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
#define POINTER void *
|
# define POINTER void *
|
||||||
#else
|
# else
|
||||||
#define POINTER char *
|
# define POINTER char *
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
/* Determine default alignment. */
|
/* Determine default alignment. */
|
||||||
struct fooalign {char x; double d;};
|
struct fooalign {char x; double d;};
|
||||||
#define DEFAULT_ALIGNMENT \
|
# define DEFAULT_ALIGNMENT \
|
||||||
((PTR_INT_TYPE) ((char *) &((struct fooalign *) 0)->d - (char *) 0))
|
((PTR_INT_TYPE) ((char *) &((struct fooalign *) 0)->d - (char *) 0))
|
||||||
/* If malloc were really smart, it would round addresses to DEFAULT_ALIGNMENT.
|
/* If malloc were really smart, it would round addresses to DEFAULT_ALIGNMENT.
|
||||||
But in fact it might be less smart and round addresses to as much as
|
But in fact it might be less smart and round addresses to as much as
|
||||||
DEFAULT_ROUNDING. So we prepare for it to do that. */
|
DEFAULT_ROUNDING. So we prepare for it to do that. */
|
||||||
union fooround {long x; double d;};
|
union fooround {long x; double d;};
|
||||||
#define DEFAULT_ROUNDING (sizeof (union fooround))
|
# define DEFAULT_ROUNDING (sizeof (union fooround))
|
||||||
|
|
||||||
/* When we copy a long block of data, this is the unit to do it with.
|
/* When we copy a long block of data, this is the unit to do it with.
|
||||||
On some machines, copying successive ints does not work;
|
On some machines, copying successive ints does not work;
|
||||||
in such a case, redefine COPYING_UNIT to `long' (if that works)
|
in such a case, redefine COPYING_UNIT to `long' (if that works)
|
||||||
or `char' as a last resort. */
|
or `char' as a last resort. */
|
||||||
#ifndef COPYING_UNIT
|
# ifndef COPYING_UNIT
|
||||||
#define COPYING_UNIT int
|
# define COPYING_UNIT int
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
/* The functions allocating more room by calling `obstack_chunk_alloc'
|
/* The functions allocating more room by calling `obstack_chunk_alloc'
|
||||||
@@ -82,21 +84,21 @@ union fooround {long x; double d;};
|
|||||||
abort gracefully or use longjump - but shouldn't return. This
|
abort gracefully or use longjump - but shouldn't return. This
|
||||||
variable by default points to the internal function
|
variable by default points to the internal function
|
||||||
`print_and_abort'. */
|
`print_and_abort'. */
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
static void print_and_abort (void);
|
static void print_and_abort (void);
|
||||||
void (*obstack_alloc_failed_handler) (void) = print_and_abort;
|
void (*obstack_alloc_failed_handler) (void) = print_and_abort;
|
||||||
#else
|
# else
|
||||||
static void print_and_abort ();
|
static void print_and_abort ();
|
||||||
void (*obstack_alloc_failed_handler) () = print_and_abort;
|
void (*obstack_alloc_failed_handler) () = print_and_abort;
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
/* Exit value used when `print_and_abort' is used. */
|
/* Exit value used when `print_and_abort' is used. */
|
||||||
#if defined __GNU_LIBRARY__ || defined HAVE_STDLIB_H
|
# if defined __GNU_LIBRARY__ || defined HAVE_STDLIB_H
|
||||||
#include <stdlib.h>
|
# include <stdlib.h>
|
||||||
#endif
|
# endif
|
||||||
#ifndef EXIT_FAILURE
|
# ifndef EXIT_FAILURE
|
||||||
#define EXIT_FAILURE 1
|
# define EXIT_FAILURE 1
|
||||||
#endif
|
# endif
|
||||||
int obstack_exit_failure = EXIT_FAILURE;
|
int obstack_exit_failure = EXIT_FAILURE;
|
||||||
|
|
||||||
/* The non-GNU-C macros copy the obstack into this global variable
|
/* The non-GNU-C macros copy the obstack into this global variable
|
||||||
@@ -110,33 +112,33 @@ struct obstack *_obstack;
|
|||||||
For free, do not use ?:, since some compilers, like the MIPS compilers,
|
For free, do not use ?:, since some compilers, like the MIPS compilers,
|
||||||
do not allow (expr) ? void : void. */
|
do not allow (expr) ? void : void. */
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
#define CALL_CHUNKFUN(h, size) \
|
# define CALL_CHUNKFUN(h, size) \
|
||||||
(((h) -> use_extra_arg) \
|
(((h) -> use_extra_arg) \
|
||||||
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
||||||
: (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size)))
|
: (*(struct _obstack_chunk *(*) (long)) (h)->chunkfun) ((size)))
|
||||||
|
|
||||||
#define CALL_FREEFUN(h, old_chunk) \
|
# define CALL_FREEFUN(h, old_chunk) \
|
||||||
do { \
|
do { \
|
||||||
if ((h) -> use_extra_arg) \
|
if ((h) -> use_extra_arg) \
|
||||||
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
||||||
else \
|
else \
|
||||||
(*(void (*) (void *)) (h)->freefun) ((old_chunk)); \
|
(*(void (*) (void *)) (h)->freefun) ((old_chunk)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#else
|
# else
|
||||||
#define CALL_CHUNKFUN(h, size) \
|
# define CALL_CHUNKFUN(h, size) \
|
||||||
(((h) -> use_extra_arg) \
|
(((h) -> use_extra_arg) \
|
||||||
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
? (*(h)->chunkfun) ((h)->extra_arg, (size)) \
|
||||||
: (*(struct _obstack_chunk *(*) ()) (h)->chunkfun) ((size)))
|
: (*(struct _obstack_chunk *(*) ()) (h)->chunkfun) ((size)))
|
||||||
|
|
||||||
#define CALL_FREEFUN(h, old_chunk) \
|
# define CALL_FREEFUN(h, old_chunk) \
|
||||||
do { \
|
do { \
|
||||||
if ((h) -> use_extra_arg) \
|
if ((h) -> use_extra_arg) \
|
||||||
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
(*(h)->freefun) ((h)->extra_arg, (old_chunk)); \
|
||||||
else \
|
else \
|
||||||
(*(void (*) ()) (h)->freefun) ((old_chunk)); \
|
(*(void (*) ()) (h)->freefun) ((old_chunk)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
/* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
|
/* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
|
||||||
@@ -152,13 +154,13 @@ _obstack_begin (h, size, alignment, chunkfun, freefun)
|
|||||||
struct obstack *h;
|
struct obstack *h;
|
||||||
int size;
|
int size;
|
||||||
int alignment;
|
int alignment;
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
POINTER (*chunkfun) (long);
|
POINTER (*chunkfun) (long);
|
||||||
void (*freefun) (void *);
|
void (*freefun) (void *);
|
||||||
#else
|
# else
|
||||||
POINTER (*chunkfun) ();
|
POINTER (*chunkfun) ();
|
||||||
void (*freefun) ();
|
void (*freefun) ();
|
||||||
#endif
|
# endif
|
||||||
{
|
{
|
||||||
register struct _obstack_chunk *chunk; /* points to new chunk */
|
register struct _obstack_chunk *chunk; /* points to new chunk */
|
||||||
|
|
||||||
@@ -181,13 +183,13 @@ _obstack_begin (h, size, alignment, chunkfun, freefun)
|
|||||||
size = 4096 - extra;
|
size = 4096 - extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)(void *, long)) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)(void *, long)) chunkfun;
|
||||||
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
||||||
#else
|
# else
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
||||||
h->freefun = freefun;
|
h->freefun = freefun;
|
||||||
#endif
|
# endif
|
||||||
h->chunk_size = size;
|
h->chunk_size = size;
|
||||||
h->alignment_mask = alignment - 1;
|
h->alignment_mask = alignment - 1;
|
||||||
h->use_extra_arg = 0;
|
h->use_extra_arg = 0;
|
||||||
@@ -210,13 +212,13 @@ _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg)
|
|||||||
struct obstack *h;
|
struct obstack *h;
|
||||||
int size;
|
int size;
|
||||||
int alignment;
|
int alignment;
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
POINTER (*chunkfun) (POINTER, long);
|
POINTER (*chunkfun) (POINTER, long);
|
||||||
void (*freefun) (POINTER, POINTER);
|
void (*freefun) (POINTER, POINTER);
|
||||||
#else
|
# else
|
||||||
POINTER (*chunkfun) ();
|
POINTER (*chunkfun) ();
|
||||||
void (*freefun) ();
|
void (*freefun) ();
|
||||||
#endif
|
# endif
|
||||||
POINTER arg;
|
POINTER arg;
|
||||||
{
|
{
|
||||||
register struct _obstack_chunk *chunk; /* points to new chunk */
|
register struct _obstack_chunk *chunk; /* points to new chunk */
|
||||||
@@ -240,13 +242,13 @@ _obstack_begin_1 (h, size, alignment, chunkfun, freefun, arg)
|
|||||||
size = 4096 - extra;
|
size = 4096 - extra;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)(void *,long)) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)(void *,long)) chunkfun;
|
||||||
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
h->freefun = (void (*) (void *, struct _obstack_chunk *)) freefun;
|
||||||
#else
|
# else
|
||||||
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
h->chunkfun = (struct _obstack_chunk * (*)()) chunkfun;
|
||||||
h->freefun = freefun;
|
h->freefun = freefun;
|
||||||
#endif
|
# endif
|
||||||
h->chunk_size = size;
|
h->chunk_size = size;
|
||||||
h->alignment_mask = alignment - 1;
|
h->alignment_mask = alignment - 1;
|
||||||
h->extra_arg = arg;
|
h->extra_arg = arg;
|
||||||
@@ -341,11 +343,11 @@ _obstack_newchunk (h, length)
|
|||||||
This is here for debugging.
|
This is here for debugging.
|
||||||
If you use it in a program, you are probably losing. */
|
If you use it in a program, you are probably losing. */
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
/* Suppress -Wmissing-prototypes warning. We don't want to declare this in
|
/* Suppress -Wmissing-prototypes warning. We don't want to declare this in
|
||||||
obstack.h because it is just for debugging. */
|
obstack.h because it is just for debugging. */
|
||||||
int _obstack_allocated_p (struct obstack *h, POINTER obj);
|
int _obstack_allocated_p (struct obstack *h, POINTER obj);
|
||||||
#endif
|
# endif
|
||||||
|
|
||||||
int
|
int
|
||||||
_obstack_allocated_p (h, obj)
|
_obstack_allocated_p (h, obj)
|
||||||
@@ -370,7 +372,7 @@ _obstack_allocated_p (h, obj)
|
|||||||
/* Free objects in obstack H, including OBJ and everything allocate
|
/* Free objects in obstack H, including OBJ and everything allocate
|
||||||
more recently than OBJ. If OBJ is zero, free everything in H. */
|
more recently than OBJ. If OBJ is zero, free everything in H. */
|
||||||
|
|
||||||
#undef obstack_free
|
# undef obstack_free
|
||||||
|
|
||||||
/* This function has two names with identical definitions.
|
/* This function has two names with identical definitions.
|
||||||
This is the first one, called from non-ANSI code. */
|
This is the first one, called from non-ANSI code. */
|
||||||
@@ -456,37 +458,54 @@ _obstack_memory_used (h)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Define the error handler. */
|
/* Define the error handler. */
|
||||||
#ifndef _
|
# ifndef _
|
||||||
# if defined HAVE_LIBINTL_H || defined _LIBC
|
# if (HAVE_LIBINTL_H && ENABLE_NLS) || defined _LIBC
|
||||||
# include <libintl.h>
|
# include <libintl.h>
|
||||||
# ifndef _
|
# ifndef _
|
||||||
# define _(Str) gettext (Str)
|
# define _(Str) gettext (Str)
|
||||||
|
# endif
|
||||||
|
# else
|
||||||
|
# define _(Str) (Str)
|
||||||
|
# endif
|
||||||
|
# endif
|
||||||
|
# if defined _LIBC && defined USE_IN_LIBIO
|
||||||
|
# include <libio/iolibio.h>
|
||||||
|
# define fputs(s, f) _IO_fputs (s, f)
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# ifndef __attribute__
|
||||||
|
/* This feature is available in gcc versions 2.5 and later. */
|
||||||
|
# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5)
|
||||||
|
# define __attribute__(Spec) /* empty */
|
||||||
# endif
|
# endif
|
||||||
# else
|
|
||||||
# define _(Str) (Str)
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
|
||||||
#if defined _LIBC && defined USE_IN_LIBIO
|
|
||||||
# include <libio/iolibio.h>
|
|
||||||
# define fputs(s, f) _IO_fputs (s, f)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
__attribute__ ((noreturn))
|
||||||
print_and_abort ()
|
print_and_abort ()
|
||||||
{
|
{
|
||||||
fputs (_("memory exhausted"), stderr);
|
/* Don't change any of these strings. Yes, it would be possible to add
|
||||||
fputc ('\n', stderr);
|
the newline to the string and use fputs or so. But this must not
|
||||||
|
happen because the "memory exhausted" message appears in other places
|
||||||
|
like this and the translation should be reused instead of creating
|
||||||
|
a very similar string which requires a separate translation. */
|
||||||
|
# if defined _LIBC && defined USE_IN_LIBIO
|
||||||
|
if (_IO_fwide (stderr, 0) > 0)
|
||||||
|
__fwprintf (stderr, L"%s\n", _("memory exhausted"));
|
||||||
|
else
|
||||||
|
# endif
|
||||||
|
fprintf (stderr, "%s\n", _("memory exhausted"));
|
||||||
exit (obstack_exit_failure);
|
exit (obstack_exit_failure);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
# if 0
|
||||||
/* These are now turned off because the applications do not use it
|
/* These are now turned off because the applications do not use it
|
||||||
and it uses bcopy via obstack_grow, which causes trouble on sysV. */
|
and it uses bcopy via obstack_grow, which causes trouble on sysV. */
|
||||||
|
|
||||||
/* Now define the functional versions of the obstack macros.
|
/* Now define the functional versions of the obstack macros.
|
||||||
Define them to simply use the corresponding macros to do the job. */
|
Define them to simply use the corresponding macros to do the job. */
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
# if defined __STDC__ && __STDC__
|
||||||
/* These function definitions do not work with non-ANSI preprocessors;
|
/* These function definitions do not work with non-ANSI preprocessors;
|
||||||
they won't pass through the macro names in parentheses. */
|
they won't pass through the macro names in parentheses. */
|
||||||
|
|
||||||
@@ -597,8 +616,8 @@ POINTER (obstack_copy0) (obstack, address, length)
|
|||||||
return obstack_copy0 (obstack, address, length);
|
return obstack_copy0 (obstack, address, length);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* __STDC__ */
|
# endif /* __STDC__ */
|
||||||
|
|
||||||
#endif /* 0 */
|
# endif /* 0 */
|
||||||
|
|
||||||
#endif /* !ELIDE_CODE */
|
#endif /* !ELIDE_CODE */
|
||||||
|
|||||||
+11
-8
@@ -4,20 +4,23 @@
|
|||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
NOTE: The canonical source of this file is maintained with the GNU C Library.
|
||||||
modify it under the terms of the GNU Library General Public License as
|
Bugs can be reported to bug-glibc@gnu.org.
|
||||||
published by the Free Software Foundation; either version 2 of the
|
|
||||||
License, or (at your option) any later version.
|
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
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 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
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
License along with this program; if not, write to the Free Software
|
||||||
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||||
Boston, MA 02111-1307, USA. */
|
USA. */
|
||||||
|
|
||||||
/* Summary:
|
/* Summary:
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,9 @@
|
|||||||
# include <config.h>
|
# include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAVE_STDDEF_H
|
||||||
|
# include <stddef.h> /* For the definition of size_t on windows w/MSVC. */
|
||||||
|
#endif
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <quotearg.h>
|
#include <quotearg.h>
|
||||||
#include <quote.h>
|
#include <quote.h>
|
||||||
|
|||||||
+10
-1
@@ -63,6 +63,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAVE_WCHAR_H
|
#if HAVE_WCHAR_H
|
||||||
|
|
||||||
|
/* BSD/OS 4.1 wchar.h requires FILE and struct tm to be declared. */
|
||||||
|
# include <stdio.h>
|
||||||
|
# include <time.h>
|
||||||
|
|
||||||
# include <wchar.h>
|
# include <wchar.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -73,8 +78,12 @@
|
|||||||
# undef MB_CUR_MAX
|
# undef MB_CUR_MAX
|
||||||
# define MB_CUR_MAX 1
|
# define MB_CUR_MAX 1
|
||||||
# define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
|
# define mbrtowc(pwc, s, n, ps) ((*(pwc) = *(s)) != 0)
|
||||||
# define mbsinit(ps) 1
|
|
||||||
# define iswprint(wc) ISPRINT ((unsigned char) (wc))
|
# define iswprint(wc) ISPRINT ((unsigned char) (wc))
|
||||||
|
# undef HAVE_MBSINIT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined mbsinit && !HAVE_MBSINIT
|
||||||
|
# define mbsinit(ps) 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef iswprint
|
#ifndef iswprint
|
||||||
|
|||||||
+2
-2
@@ -1,5 +1,5 @@
|
|||||||
/* Find the length of STRING, but scan at most MAXLEN characters.
|
/* Find the length of STRING, but scan at most MAXLEN characters.
|
||||||
Copyright (C) 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@@ -51,7 +51,7 @@ size_t
|
|||||||
__strnlen (const char *string, size_t maxlen)
|
__strnlen (const char *string, size_t maxlen)
|
||||||
{
|
{
|
||||||
const char *end = memchr (string, '\0', maxlen);
|
const char *end = memchr (string, '\0', maxlen);
|
||||||
return end ? end - string : maxlen;
|
return end ? (size_t) (end - string) : maxlen;
|
||||||
}
|
}
|
||||||
#ifdef weak_alias
|
#ifdef weak_alias
|
||||||
weak_alias (__strnlen, strnlen)
|
weak_alias (__strnlen, strnlen)
|
||||||
|
|||||||
+2
-2
@@ -47,11 +47,11 @@ void free ();
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_DONE_WORKING_MALLOC_CHECK
|
#ifndef HAVE_DONE_WORKING_MALLOC_CHECK
|
||||||
you must run the autoconf test for a properly working malloc -- see malloc.m4
|
"you must run the autoconf test for a properly working malloc -- see malloc.m4"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_DONE_WORKING_REALLOC_CHECK
|
#ifndef HAVE_DONE_WORKING_REALLOC_CHECK
|
||||||
you must run the autoconf test for a properly working realloc -- see realloc.m4
|
"you must run the autoconf test for a properly working realloc --see realloc.m4"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Exit value when the requested amount of memory is not available.
|
/* Exit value when the requested amount of memory is not available.
|
||||||
|
|||||||
+1
-1
@@ -9,8 +9,8 @@ glibc21.m4 \
|
|||||||
iconv.m4 \
|
iconv.m4 \
|
||||||
isc-posix.m4 \
|
isc-posix.m4 \
|
||||||
lcmessage.m4 \
|
lcmessage.m4 \
|
||||||
m4.m4 \
|
|
||||||
malloc.m4 \
|
malloc.m4 \
|
||||||
|
mbrtowc.m4 \
|
||||||
mbstate_t.m4 \
|
mbstate_t.m4 \
|
||||||
prereq.m4 \
|
prereq.m4 \
|
||||||
progtest.m4 \
|
progtest.m4 \
|
||||||
|
|||||||
+11
-8
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +44,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +59,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +73,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +86,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -106,8 +111,8 @@ glibc21.m4 \
|
|||||||
iconv.m4 \
|
iconv.m4 \
|
||||||
isc-posix.m4 \
|
isc-posix.m4 \
|
||||||
lcmessage.m4 \
|
lcmessage.m4 \
|
||||||
m4.m4 \
|
|
||||||
malloc.m4 \
|
malloc.m4 \
|
||||||
|
mbrtowc.m4 \
|
||||||
mbstate_t.m4 \
|
mbstate_t.m4 \
|
||||||
prereq.m4 \
|
prereq.m4 \
|
||||||
progtest.m4 \
|
progtest.m4 \
|
||||||
@@ -128,9 +133,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(AUTOMAKE) --gnu m4/Makefile
|
$(AUTOMAKE) --gnu m4/Makefile
|
||||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||||
cd $(top_builddir) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
uninstall-info-am:
|
uninstall-info-am:
|
||||||
tags: TAGS
|
tags: TAGS
|
||||||
TAGS:
|
TAGS:
|
||||||
|
|||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
#serial 3
|
#serial 4
|
||||||
|
|
||||||
dnl From Paul Eggert.
|
dnl From Paul Eggert.
|
||||||
|
|
||||||
AC_DEFUN(AC_C_BACKSLASH_A,
|
AC_DEFUN([AC_C_BACKSLASH_A],
|
||||||
[
|
[
|
||||||
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
AC_CACHE_CHECK([whether backslash-a works in strings], ac_cv_c_backslash_a,
|
||||||
[AC_TRY_COMPILE([],
|
[AC_TRY_COMPILE([],
|
||||||
|
|||||||
+5
-4
@@ -1,12 +1,13 @@
|
|||||||
#serial 1
|
#serial 4
|
||||||
|
|
||||||
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
dnl FIXME: put these prerequisite-only *.m4 files in a separate
|
||||||
dnl directory -- otherwise, they'll conflict with existing files.
|
dnl directory -- otherwise, they'll conflict with existing files.
|
||||||
|
|
||||||
dnl These are the prerequisite macros for GNU's error.c file.
|
dnl These are the prerequisite macros for GNU's error.c file.
|
||||||
AC_DEFUN(jm_PREREQ_ERROR,
|
AC_DEFUN([jm_PREREQ_ERROR],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(strerror strerror_r vprintf doprnt)
|
AC_CHECK_FUNCS(strerror vprintf doprnt)
|
||||||
AC_HEADER_STDC
|
AC_CHECK_DECLS([strerror])
|
||||||
AC_FUNC_STRERROR_R
|
AC_FUNC_STRERROR_R
|
||||||
|
AC_HEADER_STDC
|
||||||
])
|
])
|
||||||
|
|||||||
+7
-5
@@ -3,10 +3,12 @@
|
|||||||
#
|
#
|
||||||
# This file can 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
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 10
|
# serial 10
|
||||||
|
|
||||||
@@ -241,7 +243,7 @@ return (int) gettext ("")]ifelse([$2], need-ngettext, [ + (int) ngettext ("", ""
|
|||||||
dnl Found it, now check the version.
|
dnl Found it, now check the version.
|
||||||
AC_MSG_CHECKING([version of bison])
|
AC_MSG_CHECKING([version of bison])
|
||||||
changequote(<<,>>)dnl
|
changequote(<<,>>)dnl
|
||||||
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison .* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
||||||
case $ac_prog_version in
|
case $ac_prog_version in
|
||||||
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
||||||
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
|
||||||
|
|||||||
+6
-4
@@ -3,10 +3,12 @@
|
|||||||
#
|
#
|
||||||
# This file can 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
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
# serial 1 -*- Autoconf -*-
|
|
||||||
|
|
||||||
# BISON_AC_PROG_GNU_M4
|
|
||||||
# --------------------
|
|
||||||
# Check for GNU m4, at least 1.3 (supports frozen files).
|
|
||||||
AC_DEFUN([BISON_AC_PROG_GNU_M4],
|
|
||||||
[AC_PATH_PROGS(M4, gm4 gnum4 m4, m4)
|
|
||||||
AC_CACHE_CHECK([whether m4 supports frozen files],
|
|
||||||
[ac_cv_prog_gnu_m4],
|
|
||||||
[ac_cv_prog_gnu_m4=no
|
|
||||||
if test x"$M4" != x; then
|
|
||||||
case `$M4 --help < /dev/null 2>&1` in
|
|
||||||
*reload-state*) ac_cv_prog_gnu_m4=yes ;;
|
|
||||||
esac
|
|
||||||
fi])
|
|
||||||
])# BISON_AC_PROG_GNU_M4
|
|
||||||
+6
-7
@@ -1,16 +1,16 @@
|
|||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether malloc accepts 0 as its argument.
|
dnl Determine whether malloc accepts 0 as its argument.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_MALLOC,
|
AC_DEFUN([jm_FUNC_MALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken malloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_MALLOC_CHECK, 1,
|
||||||
[Define if the malloc check has been performed. ])
|
[Define if the malloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
AC_CACHE_CHECK([for working malloc], jm_cv_func_working_malloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -27,9 +27,8 @@ AC_DEFUN(jm_FUNC_MALLOC,
|
|||||||
jm_cv_func_working_malloc=no)
|
jm_cv_func_working_malloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_malloc = no; then
|
if test $jm_cv_func_working_malloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(malloc)
|
||||||
LIBOBJS="$LIBOBJS malloc.$ac_objext"
|
AC_DEFINE(malloc, rpl_malloc,
|
||||||
AC_DEFINE_UNQUOTED(malloc, rpl_malloc,
|
|
||||||
[Define to rpl_malloc if the replacement function should be used.])
|
[Define to rpl_malloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#serial 4
|
||||||
|
|
||||||
|
dnl From Paul Eggert
|
||||||
|
|
||||||
|
AC_DEFUN([jm_FUNC_MBRTOWC],
|
||||||
|
[
|
||||||
|
AC_CACHE_CHECK([whether mbrtowc and mbstate_t are properly declared],
|
||||||
|
jm_cv_func_mbrtowc,
|
||||||
|
[AC_TRY_LINK(
|
||||||
|
[#include <wchar.h>],
|
||||||
|
[mbstate_t state; return ! (sizeof state && mbrtowc);],
|
||||||
|
jm_cv_func_mbrtowc=yes,
|
||||||
|
jm_cv_func_mbrtowc=no)])
|
||||||
|
if test $jm_cv_func_mbrtowc = yes; then
|
||||||
|
AC_DEFINE(HAVE_MBRTOWC, 1,
|
||||||
|
[Define to 1 if mbrtowc and mbstate_t are properly declared.])
|
||||||
|
fi
|
||||||
|
])
|
||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
# serial 8
|
# serial 9
|
||||||
|
|
||||||
# From Paul Eggert.
|
# From Paul Eggert.
|
||||||
|
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
# (at least glibc-2.1.3) because the "_XOPEN_SOURCE 500" definition elicits
|
||||||
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
# a syntax error in wchar.h due to the use of undefined __int32_t.
|
||||||
|
|
||||||
AC_DEFUN(AC_MBSTATE_T,
|
AC_DEFUN([AC_MBSTATE_T],
|
||||||
[
|
[
|
||||||
AC_CHECK_HEADERS(stdlib.h)
|
AC_CHECK_HEADERS(stdlib.h)
|
||||||
|
|
||||||
|
|||||||
+4
-3
@@ -1,12 +1,13 @@
|
|||||||
#serial 1
|
#serial 2
|
||||||
|
|
||||||
dnl These are the prerequisite macros for files in the lib/
|
dnl These are the prerequisite macros for files in the lib/
|
||||||
dnl directories of Bison.
|
dnl directories of Bison.
|
||||||
|
|
||||||
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
AC_DEFUN([jm_PREREQ_QUOTEARG],
|
||||||
[
|
[
|
||||||
AC_CHECK_FUNCS(isascii iswprint mbrtowc)
|
AC_CHECK_FUNCS(isascii iswprint mbsinit)
|
||||||
AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h)
|
jm_FUNC_MBRTOWC
|
||||||
|
AC_CHECK_HEADERS(limits.h stddef.h stdlib.h string.h wchar.h wctype.h)
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_C_BACKSLASH_A
|
AC_C_BACKSLASH_A
|
||||||
AC_MBSTATE_T
|
AC_MBSTATE_T
|
||||||
|
|||||||
+6
-4
@@ -3,10 +3,12 @@
|
|||||||
#
|
#
|
||||||
# This file can 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
|
# be used in projects which are not available under the GNU General Public
|
||||||
# License but which still want to provide support for the GNU gettext
|
# License or the GNU Library General Public License but which still want
|
||||||
# functionality.
|
# to provide support for the GNU gettext functionality.
|
||||||
# Please note that the actual code of GNU gettext is covered by the GNU
|
# Please note that the actual code of the GNU gettext library is covered
|
||||||
# General Public License and is *not* in the public domain.
|
# by the GNU Library General Public License, and the rest of the GNU
|
||||||
|
# gettext package package is covered by the GNU General Public License.
|
||||||
|
# They are *not* in the public domain.
|
||||||
|
|
||||||
# serial 2
|
# serial 2
|
||||||
|
|
||||||
|
|||||||
+6
-7
@@ -1,16 +1,16 @@
|
|||||||
#serial 3
|
#serial 5
|
||||||
|
|
||||||
dnl From Jim Meyering.
|
dnl From Jim Meyering.
|
||||||
dnl Determine whether realloc works when both arguments are 0.
|
dnl Determine whether realloc works when both arguments are 0.
|
||||||
dnl If it doesn't, arrange to use the replacement function.
|
dnl If it doesn't, arrange to use the replacement function.
|
||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(jm_FUNC_REALLOC,
|
AC_DEFUN([jm_FUNC_REALLOC],
|
||||||
[
|
[
|
||||||
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
dnl xmalloc.c requires that this symbol be defined so it doesn't
|
||||||
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
dnl mistakenly use a broken realloc -- as it might if this test were omitted.
|
||||||
AC_DEFINE_UNQUOTED(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
AC_DEFINE(HAVE_DONE_WORKING_REALLOC_CHECK, 1,
|
||||||
[Define if the realloc check has been performed. ])
|
[Define if the realloc check has been performed. ])
|
||||||
|
|
||||||
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
AC_CACHE_CHECK([for working realloc], jm_cv_func_working_realloc,
|
||||||
[AC_TRY_RUN([
|
[AC_TRY_RUN([
|
||||||
@@ -27,9 +27,8 @@ AC_DEFUN(jm_FUNC_REALLOC,
|
|||||||
jm_cv_func_working_realloc=no)
|
jm_cv_func_working_realloc=no)
|
||||||
])
|
])
|
||||||
if test $jm_cv_func_working_realloc = no; then
|
if test $jm_cv_func_working_realloc = no; then
|
||||||
AC_SUBST(LIBOBJS)
|
AC_LIBOBJ(realloc)
|
||||||
LIBOBJS="$LIBOBJS realloc.$ac_objext"
|
AC_DEFINE(realloc, rpl_realloc,
|
||||||
AC_DEFINE_UNQUOTED(realloc, rpl_realloc,
|
|
||||||
[Define to rpl_realloc if the replacement function should be used.])
|
[Define to rpl_realloc if the replacement function should be used.])
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
|
|||||||
+38
-45
@@ -1,9 +1,23 @@
|
|||||||
#serial 1002
|
#serial 1003
|
||||||
# Experimental replacement for the function in the latest CVS autoconf.
|
# Experimental replacement for the function in the latest CVS autoconf.
|
||||||
# If the compile-test says strerror_r doesn't work, then resort to a
|
|
||||||
# `run'-test that works on BeOS and segfaults on DEC Unix.
|
|
||||||
# Use with the error.c file in ../lib.
|
# Use with the error.c file in ../lib.
|
||||||
|
|
||||||
|
# Copyright 2001 Free Software Foundation, Inc.
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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 General Public License for more details.
|
||||||
|
|
||||||
|
# You should have received a copy of the GNU 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. */
|
||||||
|
|
||||||
undefine([AC_FUNC_STRERROR_R])
|
undefine([AC_FUNC_STRERROR_R])
|
||||||
|
|
||||||
# AC_FUNC_STRERROR_R
|
# AC_FUNC_STRERROR_R
|
||||||
@@ -11,56 +25,35 @@ undefine([AC_FUNC_STRERROR_R])
|
|||||||
AC_DEFUN([AC_FUNC_STRERROR_R],
|
AC_DEFUN([AC_FUNC_STRERROR_R],
|
||||||
[AC_CHECK_DECLS([strerror_r])
|
[AC_CHECK_DECLS([strerror_r])
|
||||||
AC_CHECK_FUNCS([strerror_r])
|
AC_CHECK_FUNCS([strerror_r])
|
||||||
if test $ac_cv_func_strerror_r = yes; then
|
AC_CACHE_CHECK([whether strerror_r returns char *],
|
||||||
AC_CHECK_HEADERS(string.h)
|
ac_cv_func_strerror_r_char_p,
|
||||||
AC_CACHE_CHECK([for working strerror_r],
|
|
||||||
ac_cv_func_strerror_r_works,
|
|
||||||
[
|
[
|
||||||
AC_TRY_COMPILE(
|
ac_cv_func_strerror_r_char_p=no
|
||||||
[
|
if test $ac_cv_have_decl_strerror_r = yes; then
|
||||||
# include <stdio.h>
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT],
|
||||||
# if HAVE_STRING_H
|
[[
|
||||||
# include <string.h>
|
char buf[100];
|
||||||
# endif
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
],
|
char *p = strerror_r (0, buf, sizeof buf);
|
||||||
[
|
]])],
|
||||||
char buf[100];
|
ac_cv_func_strerror_r_char_p=yes)
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
else
|
||||||
],
|
# strerror_r is not declared. Choose between
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no
|
|
||||||
)
|
|
||||||
if test $ac_cv_func_strerror_r_works = no; then
|
|
||||||
# strerror_r seems not to work, but now we have to choose between
|
|
||||||
# systems that have relatively inaccessible declarations for the
|
# systems that have relatively inaccessible declarations for the
|
||||||
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
# function. BeOS and DEC UNIX 4.0 fall in this category, but the
|
||||||
# former has a strerror_r that returns char*, while the latter
|
# former has a strerror_r that returns char*, while the latter
|
||||||
# has a strerror_r that returns `int'.
|
# has a strerror_r that returns `int'.
|
||||||
# This test should segfault on the DEC system.
|
# This test should segfault on the DEC system.
|
||||||
AC_TRY_RUN(
|
AC_RUN_IFELSE([AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT
|
||||||
[
|
extern char *strerror_r ();],
|
||||||
# include <stdio.h>
|
[[char buf[100];
|
||||||
# include <string.h>
|
|
||||||
# include <ctype.h>
|
|
||||||
|
|
||||||
extern char *strerror_r ();
|
|
||||||
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
char buf[100];
|
|
||||||
char x = *strerror_r (0, buf, sizeof buf);
|
char x = *strerror_r (0, buf, sizeof buf);
|
||||||
exit (!isalpha (x));
|
exit (!isalpha (x));]])],
|
||||||
}
|
ac_cv_func_strerror_r_char_p=yes, , :)
|
||||||
],
|
|
||||||
ac_cv_func_strerror_r_works=yes,
|
|
||||||
ac_cv_func_strerror_r_works=no,
|
|
||||||
ac_cv_func_strerror_r_works=no)
|
|
||||||
fi
|
fi
|
||||||
])
|
])
|
||||||
if test $ac_cv_func_strerror_r_works = yes; then
|
if test $ac_cv_func_strerror_r_char_p = yes; then
|
||||||
AC_DEFINE_UNQUOTED(HAVE_WORKING_STRERROR_R, 1,
|
AC_DEFINE([STRERROR_R_CHAR_P], 1,
|
||||||
[Define to 1 if `strerror_r' returns a string.])
|
[Define to 1 if strerror_r returns char *.])
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
])# AC_FUNC_STRERROR_R
|
])# AC_FUNC_STRERROR_R
|
||||||
|
|||||||
@@ -1,3 +1,33 @@
|
|||||||
|
2001-11-02 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
|
2001-11-02 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
|
2001-11-02 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
|
2001-10-10 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
|
2001-10-10 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
|
||||||
|
2001-10-09 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
* cat-id-tbl.c: Remove file.
|
||||||
|
|
||||||
|
2001-09-27 gettextize <[email protected]>
|
||||||
|
|
||||||
|
* Makefile.in.in: Upgrade to gettext-0.10.40.
|
||||||
|
* cat-id-tbl.c: Remove file.
|
||||||
|
|
||||||
2001-08-03 gettextize <[email protected]>
|
2001-08-03 gettextize <[email protected]>
|
||||||
|
|
||||||
* Makefile.in.in: Upgrade to gettext-0.10.39.
|
* Makefile.in.in: Upgrade to gettext-0.10.39.
|
||||||
|
|||||||
-188
@@ -1,188 +0,0 @@
|
|||||||
/* Automatically generated by po2tbl.sed from bison.pot. */
|
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
|
||||||
# include <config.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "libgettext.h"
|
|
||||||
|
|
||||||
const struct _msg_ent _msg_tbl[] = {
|
|
||||||
{"", 1},
|
|
||||||
{"too many states (max %d)", 2},
|
|
||||||
{"Conflict in state %d between rule %d and token %s resolved as %s.\n", 3},
|
|
||||||
{"reduce", 4},
|
|
||||||
{"shift", 5},
|
|
||||||
{"an error", 6},
|
|
||||||
{" 1 shift/reduce conflict", 7},
|
|
||||||
{" %d shift/reduce conflicts", 8},
|
|
||||||
{" and", 9},
|
|
||||||
{" 1 reduce/reduce conflict", 10},
|
|
||||||
{" %d reduce/reduce conflicts", 11},
|
|
||||||
{"State %d contains", 12},
|
|
||||||
{"conflicts: ", 13},
|
|
||||||
{" %d shift/reduce", 14},
|
|
||||||
{" %d reduce/reduce", 15},
|
|
||||||
{"%s contains", 16},
|
|
||||||
{" %-4s\t[reduce using rule %d (%s)]\n", 17},
|
|
||||||
{"\
|
|
||||||
$default\treduce using rule %d (%s)\n\
|
|
||||||
\n", 18},
|
|
||||||
{" %-4s\treduce using rule %d (%s)\n", 19},
|
|
||||||
{" $default\treduce using rule %d (%s)\n", 20},
|
|
||||||
{"DERIVES", 21},
|
|
||||||
{"%s derives", 22},
|
|
||||||
{"GNU bison generates parsers for LALR(1) grammars.\n", 23},
|
|
||||||
{"Usage: %s [OPTION]... FILE\n", 24},
|
|
||||||
{"\
|
|
||||||
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", 25},
|
|
||||||
{"\
|
|
||||||
Operation modes:\n\
|
|
||||||
-h, --help display this help and exit\n\
|
|
||||||
-V, --version output version information and exit\n\
|
|
||||||
-y, --yacc emulate POSIX yacc\n", 26},
|
|
||||||
{"\
|
|
||||||
Parser:\n\
|
|
||||||
-S, --skeleton=FILE specify the skeleton to use\n\
|
|
||||||
-t, --debug instrument the parser for debugging\n\
|
|
||||||
--locations enable locations computation\n\
|
|
||||||
-p, --name-prefix=PREFIX prepend PREFIX to the external symbols\n\
|
|
||||||
-l, --no-lines don't generate `#line' directives\n\
|
|
||||||
-n, --no-parser generate the tables only\n\
|
|
||||||
-r, --raw number the tokens from 3\n\
|
|
||||||
-k, --token-table include a table of token names\n", 27},
|
|
||||||
{"\
|
|
||||||
Output:\n\
|
|
||||||
-d, --defines also produce a header file\n\
|
|
||||||
-v, --verbose also produce an explanation of the automaton\n\
|
|
||||||
-b, --file-prefix=PREFIX specify a PREFIX for output files\n\
|
|
||||||
-o, --output-file=FILE leave output to FILE\n", 28},
|
|
||||||
{"Report bugs to <[email protected]>.\n", 29},
|
|
||||||
{"bison (GNU Bison) %s", 30},
|
|
||||||
{"\
|
|
||||||
Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n", 31},
|
|
||||||
{"\
|
|
||||||
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", 32},
|
|
||||||
{"Try `%s --help' for more information.\n", 33},
|
|
||||||
{"%s: no grammar file given\n", 34},
|
|
||||||
{"%s: extra arguments ignored after `%s'\n", 35},
|
|
||||||
{"too many gotos (max %d)", 36},
|
|
||||||
{"unexpected `/' found and ignored", 37},
|
|
||||||
{"unterminated comment", 38},
|
|
||||||
{"unexpected end of file", 39},
|
|
||||||
{"unescaped newline in constant", 40},
|
|
||||||
{"octal value outside range 0...255: `\\%o'", 41},
|
|
||||||
{"hexadecimal value above 255: `\\x%x'", 42},
|
|
||||||
{"unknown escape sequence: `\\' followed by `%s'", 43},
|
|
||||||
{"unterminated type name at end of file", 44},
|
|
||||||
{"unterminated type name", 45},
|
|
||||||
{"use \"...\" for multi-character literal tokens", 46},
|
|
||||||
{"%s: internal error: %s\n", 47},
|
|
||||||
{"Entering set_nullable", 48},
|
|
||||||
{"maximum table size (%d) exceeded", 49},
|
|
||||||
{" type %d is %s\n", 50},
|
|
||||||
{" (rule %d)", 51},
|
|
||||||
{" $default\taccept\n", 52},
|
|
||||||
{" NO ACTIONS\n", 53},
|
|
||||||
{" $ \tgo to state %d\n", 54},
|
|
||||||
{" %-4s\tshift, and go to state %d\n", 55},
|
|
||||||
{" %-4s\terror (nonassociative)\n", 56},
|
|
||||||
{" %-4s\tgo to state %d\n", 57},
|
|
||||||
{"state %d", 58},
|
|
||||||
{"Grammar", 59},
|
|
||||||
{"rule %-4d %s ->", 60},
|
|
||||||
{"\t\t/* empty */", 61},
|
|
||||||
{"Terminals, with rules where they appear", 62},
|
|
||||||
{"Nonterminals, with rules where they appear", 63},
|
|
||||||
{" on left:", 64},
|
|
||||||
{" on right:", 65},
|
|
||||||
{" Skipping to next \\n", 66},
|
|
||||||
{" Skipping to next %c", 67},
|
|
||||||
{"invalid $ value", 68},
|
|
||||||
{"unterminated string at end of file", 69},
|
|
||||||
{"unterminated string", 70},
|
|
||||||
{"%s is invalid", 71},
|
|
||||||
{"$$ of `%s' has no declared type", 72},
|
|
||||||
{"$%d of `%s' has no declared type", 73},
|
|
||||||
{"unterminated `%{' definition", 74},
|
|
||||||
{"Premature EOF after %s", 75},
|
|
||||||
{"symbol `%s' used more than once as a literal string", 76},
|
|
||||||
{"symbol `%s' given more than one literal string", 77},
|
|
||||||
{"symbol %s redefined", 78},
|
|
||||||
{"type redeclaration for %s", 79},
|
|
||||||
{"`%s' is invalid in %s", 80},
|
|
||||||
{"multiple %s declarations", 81},
|
|
||||||
{"invalid %s declaration", 82},
|
|
||||||
{"%type declaration has no <typename>", 83},
|
|
||||||
{"invalid %%type declaration due to item: %s", 84},
|
|
||||||
{"redefining precedence of %s", 85},
|
|
||||||
{"invalid text (%s) - number should be after identifier", 86},
|
|
||||||
{"unexpected item: %s", 87},
|
|
||||||
{"unmatched %s", 88},
|
|
||||||
{"argument of %%expect is not an integer", 89},
|
|
||||||
{"unrecognized item %s, expected an identifier", 90},
|
|
||||||
{"expected string constant instead of %s", 91},
|
|
||||||
{"unrecognized: %s", 92},
|
|
||||||
{"no input grammar", 93},
|
|
||||||
{"unknown character: %s", 94},
|
|
||||||
{"unterminated %guard clause", 95},
|
|
||||||
{"ill-formed rule: initial symbol not followed by colon", 96},
|
|
||||||
{"grammar starts with vertical bar", 97},
|
|
||||||
{"rule given for %s, which is a token", 98},
|
|
||||||
{"two @prec's in a row", 99},
|
|
||||||
{"%%guard present but %%semantic_parser not specified", 100},
|
|
||||||
{"two actions at end of one rule", 101},
|
|
||||||
{"type clash (`%s' `%s') on default action", 102},
|
|
||||||
{"empty rule for typed nonterminal, and no action", 103},
|
|
||||||
{"invalid input: %s", 104},
|
|
||||||
{"too many symbols (tokens plus nonterminals); maximum %d", 105},
|
|
||||||
{"no rules in the input grammar", 106},
|
|
||||||
{"symbol %s is used, but is not defined as a token and has no rules", 107},
|
|
||||||
{"conflicting precedences for %s and %s", 108},
|
|
||||||
{"conflicting assoc values for %s and %s", 109},
|
|
||||||
{"tokens %s and %s both assigned number %d", 110},
|
|
||||||
{"the start symbol %s is undefined", 111},
|
|
||||||
{"the start symbol %s is a token", 112},
|
|
||||||
{"Useless nonterminals:", 113},
|
|
||||||
{"Terminals which are not used:", 114},
|
|
||||||
{"Useless rules:", 115},
|
|
||||||
{"\
|
|
||||||
Variables\n\
|
|
||||||
---------\n\
|
|
||||||
\n", 116},
|
|
||||||
{"Value Sprec Sassoc Tag\n", 117},
|
|
||||||
{"\
|
|
||||||
Rules\n\
|
|
||||||
-----\n\
|
|
||||||
\n", 118},
|
|
||||||
{"\
|
|
||||||
Rules interpreted\n\
|
|
||||||
-----------------\n\
|
|
||||||
\n", 119},
|
|
||||||
{"%d rules never reduced\n", 120},
|
|
||||||
{"%s contains ", 121},
|
|
||||||
{"%d useless nonterminal%s", 122},
|
|
||||||
{" and ", 123},
|
|
||||||
{"%d useless rule%s", 124},
|
|
||||||
{"Start symbol %s does not derive any sentence", 125},
|
|
||||||
{"\
|
|
||||||
reduced %s defines %d terminal%s, %d nonterminal%s, and %d production%s.\n", 126},
|
|
||||||
{"Unknown system error", 127},
|
|
||||||
{"%s: option `%s' is ambiguous\n", 128},
|
|
||||||
{"%s: option `--%s' doesn't allow an argument\n", 129},
|
|
||||||
{"%s: option `%c%s' doesn't allow an argument\n", 130},
|
|
||||||
{"%s: option `%s' requires an argument\n", 131},
|
|
||||||
{"%s: unrecognized option `--%s'\n", 132},
|
|
||||||
{"%s: unrecognized option `%c%s'\n", 133},
|
|
||||||
{"%s: illegal option -- %c\n", 134},
|
|
||||||
{"%s: invalid option -- %c\n", 135},
|
|
||||||
{"%s: option requires an argument -- %c\n", 136},
|
|
||||||
{"%s: option `-W %s' is ambiguous\n", 137},
|
|
||||||
{"%s: option `-W %s' doesn't allow an argument\n", 138},
|
|
||||||
{"memory exhausted", 139},
|
|
||||||
{"`", 140},
|
|
||||||
{"'", 141},
|
|
||||||
};
|
|
||||||
|
|
||||||
int _msg_tbl_length = 141;
|
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
"PO-Revision-Date: 1996-10-10 17:54 MET DST\n"
|
||||||
"Last-Translator: Ulrich Drepper <[email protected]>\n"
|
"Last-Translator: Ulrich Drepper <[email protected]>\n"
|
||||||
"Language-Team: German <[email protected]>\n"
|
"Language-Team: German <[email protected]>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -129,33 +129,33 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s leitet ab"
|
msgstr "%s leitet ab"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:162
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -163,7 +163,7 @@ msgid ""
|
|||||||
" -y, --yacc emulate POSIX yacc\n"
|
" -y, --yacc emulate POSIX yacc\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -175,55 +175,55 @@ msgid ""
|
|||||||
" -k, --token-table include a table of token names\n"
|
" -k, --token-table include a table of token names\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
msgid "Report bugs to <[email protected]>.\n"
|
msgid "Report bugs to <[email protected]>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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 ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:238
|
#: src/getargs.c:239
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Try `%s --help' for more information.\n"
|
msgid "Try `%s --help' for more information.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: keine Grammatik-Datei angegeben\n"
|
msgstr "%s: keine Grammatik-Datei angegeben\n"
|
||||||
|
|
||||||
#: src/getargs.c:249
|
#: src/getargs.c:250
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: extra arguments ignored after `%s'\n"
|
msgid "%s: extra arguments ignored after `%s'\n"
|
||||||
msgstr "%s: zusätzliche Argumente nach »%s« werden ignoriert\n"
|
msgstr "%s: zusätzliche Argumente nach »%s« werden ignoriert\n"
|
||||||
@@ -233,52 +233,62 @@ msgstr "%s: zus
|
|||||||
msgid "too many gotos (max %d)"
|
msgid "too many gotos (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/lex.c:78
|
#: src/lex.c:76
|
||||||
msgid "unexpected `/' found and ignored"
|
msgid "unexpected `/' found and ignored"
|
||||||
msgstr "»/« wird hier nicht erwartet und wird deshalb ignoriert"
|
msgstr "»/« wird hier nicht erwartet und wird deshalb ignoriert"
|
||||||
|
|
||||||
#: src/lex.c:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "unbeendeter Kommentar"
|
msgstr "unbeendeter Kommentar"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "unexpected end of file"
|
msgid "unexpected end of file"
|
||||||
msgstr "Datei endet unerwartet"
|
msgstr "Datei endet unerwartet"
|
||||||
|
|
||||||
# Oder soll man den Begriff "Escapezeichen" verwenden?
|
# Oder soll man den Begriff "Escapezeichen" verwenden?
|
||||||
#: src/lex.c:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "nicht maskiertes Zeilenendezeichen in Konstante"
|
msgstr "nicht maskiertes Zeilenendezeichen in Konstante"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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 "oktaler Zahlenwert außerhalb des Bereichs 0...255: »\\%o«"
|
msgstr "oktaler Zahlenwert außerhalb des Bereichs 0...255: »\\%o«"
|
||||||
|
|
||||||
#: src/lex.c:235
|
#: src/lex.c:233
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "hexadecimal value above 255: `\\x%x'"
|
msgid "hexadecimal value above 255: `\\x%x'"
|
||||||
msgstr "hexadezimaler Zahlenwert größer als 255: »\\x%x«"
|
msgstr "hexadezimaler Zahlenwert größer als 255: »\\x%x«"
|
||||||
|
|
||||||
#: src/lex.c:247
|
#: src/lex.c:245
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown escape sequence: `\\' followed by `%s'"
|
msgid "unknown escape sequence: `\\' followed by `%s'"
|
||||||
msgstr "unbekanntes Fluchtzeichen: »\\« gefolgt von »%s«"
|
msgstr "unbekanntes Fluchtzeichen: »\\« gefolgt von »%s«"
|
||||||
|
|
||||||
#: src/lex.c:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "unerwarteter Typname am Ende der Datei"
|
msgstr "unerwarteter Typname am Ende der Datei"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "unerwarteter Typname"
|
msgstr "unerwarteter Typname"
|
||||||
|
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "für Literal mit mehreren Zeichen bitte \"...\" verwenden"
|
msgstr "für Literal mit mehreren Zeichen bitte \"...\" verwenden"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: die Option »%s« erfordert ein Argument\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "interner Fehler, %s\n"
|
msgstr "interner Fehler, %s\n"
|
||||||
@@ -451,7 +461,7 @@ msgstr ""
|
|||||||
msgid "symbol %s redefined"
|
msgid "symbol %s redefined"
|
||||||
msgstr "Symbol %s noch einmal definiert"
|
msgstr "Symbol %s noch einmal definiert"
|
||||||
|
|
||||||
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, 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"
|
||||||
@@ -461,12 +471,12 @@ msgstr "erneute Deklaration des Typs f
|
|||||||
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:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "multiple %s declarations"
|
msgid "multiple %s declarations"
|
||||||
msgstr "mehr als eine %start Deklaration"
|
msgstr "mehr als eine %start Deklaration"
|
||||||
|
|
||||||
#: src/reader.c:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "invalid %s declaration"
|
msgid "invalid %s declaration"
|
||||||
msgstr "ungültige %start Deklaration"
|
msgstr "ungültige %start Deklaration"
|
||||||
@@ -495,125 +505,125 @@ msgstr "unzul
|
|||||||
msgid "unexpected item: %s"
|
msgid "unexpected item: %s"
|
||||||
msgstr "unerwartetes Symbol: %s"
|
msgstr "unerwartetes Symbol: %s"
|
||||||
|
|
||||||
#: src/reader.c:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "»{« hat kein Gegenstück"
|
msgstr "»{« hat kein Gegenstück"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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:838
|
#: src/reader.c:844
|
||||||
#, 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:862
|
#: src/reader.c:866
|
||||||
#, 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:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "unbekannt: %s"
|
msgstr "unbekannt: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
msgid "no input grammar"
|
msgid "no input grammar"
|
||||||
msgstr "keine Eingabe-Grammatik"
|
msgstr "keine Eingabe-Grammatik"
|
||||||
|
|
||||||
#: src/reader.c:1015
|
#: src/reader.c:1024
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown character: %s"
|
msgid "unknown character: %s"
|
||||||
msgstr "unbekanntes Zeichen: %s"
|
msgstr "unbekanntes Zeichen: %s"
|
||||||
|
|
||||||
#: src/reader.c:1183
|
#: src/reader.c:1192
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "unterminated %guard clause"
|
msgid "unterminated %guard clause"
|
||||||
msgstr "unbeendeter %%guard Fall"
|
msgstr "unbeendeter %%guard Fall"
|
||||||
|
|
||||||
#: src/reader.c:1350
|
#: src/reader.c:1359
|
||||||
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:1357
|
#: src/reader.c:1366
|
||||||
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:1388
|
#: src/reader.c:1397
|
||||||
#, 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:1490
|
#: src/reader.c:1499
|
||||||
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:1498
|
#: src/reader.c:1507
|
||||||
#, 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:1507
|
#: src/reader.c:1516
|
||||||
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:1521
|
#: src/reader.c:1530
|
||||||
#, 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:1527
|
#: src/reader.c:1536
|
||||||
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 vmit Typ und keine Aktion"
|
msgstr "leere Regel für Nicht-Terminal vmit Typ und keine Aktion"
|
||||||
|
|
||||||
#: src/reader.c:1571
|
#: src/reader.c:1580
|
||||||
#, 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:1579
|
#: src/reader.c:1588
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "too many symbols (tokens plus nonterminals); maximum %d"
|
msgid "too many symbols (tokens plus nonterminals); maximum %d"
|
||||||
msgstr "zu viele Symbols (Token plus Nicht-Terminal); Maximum %s"
|
msgstr "zu viele Symbols (Token plus Nicht-Terminal); Maximum %s"
|
||||||
|
|
||||||
#: src/reader.c:1582
|
#: src/reader.c:1591
|
||||||
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:1606
|
#: src/reader.c:1615
|
||||||
#, 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:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "Vorrangwertigkeiten für %s und %s widersprechen sich"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "assoc Werte für %s nd %s widersprechen sich"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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 %s"
|
msgstr "Token %s und %s haben die selbe nummer %s"
|
||||||
|
|
||||||
#: src/reader.c:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "Vorrangwertigkeiten für %s und %s widersprechen sich"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "assoc Werte für %s nd %s widersprechen sich"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, 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:1784
|
#: src/reader.c:1813
|
||||||
#, 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"
|
||||||
@@ -714,68 +724,68 @@ msgstr ""
|
|||||||
"Reduzierung von %s definiert %d Terminal, %d Nicht-Terminal und %d "
|
"Reduzierung von %s definiert %d Terminal, %d Nicht-Terminal und %d "
|
||||||
"Produktionen.\n"
|
"Produktionen.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: 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: die Option »--%s« erlaubt kein Argument\n"
|
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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: die Option »%c%s« erlaubt kein Argument\n"
|
msgstr "%s: die Option »%c%s« erlaubt kein Argument\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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: die Option »%s« erfordert ein Argument\n"
|
msgstr "%s: die Option »%s« erfordert ein Argument\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: die Option ist nicht erlaubt -- %c\n"
|
msgstr "%s: die Option ist nicht erlaubt -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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: die Option benötigt ein Argument -- %c\n"
|
msgstr "%s: die Option benötigt ein Argument -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
msgstr "%s: die Option »%s« ist nicht eindeutig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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: die Option »--%s« erlaubt kein Argument\n"
|
msgstr "%s: die Option »--%s« erlaubt kein Argument\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: Hauptspeicher erschöpft\n"
|
msgstr "%s: Hauptspeicher erschöpft\n"
|
||||||
@@ -794,11 +804,11 @@ msgstr "%s: Hauptspeicher ersch
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.25\n"
|
"Project-Id-Version: GNU bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 1998-09-21 10:19+0200\n"
|
"PO-Revision-Date: 1998-09-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"
|
||||||
@@ -43,7 +43,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -192,33 +192,33 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s deriva"
|
msgstr "%s deriva"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:162
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -226,7 +226,7 @@ msgid ""
|
|||||||
" -y, --yacc emulate POSIX yacc\n"
|
" -y, --yacc emulate POSIX yacc\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -238,58 +238,58 @@ msgid ""
|
|||||||
" -k, --token-table include a table of token names\n"
|
" -k, --token-table include a table of token names\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
msgid "Report bugs to <[email protected]>.\n"
|
msgid "Report bugs to <[email protected]>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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 ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:238
|
#: src/getargs.c:239
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Try `%s --help' for more information.\n"
|
msgid "Try `%s --help' for more information.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
# Me parece menos "computadora" decir "ningún fichero de gramática" - cll
|
# Me parece menos "computadora" decir "ningún fichero de gramática" - cll
|
||||||
#
|
#
|
||||||
#: src/getargs.c:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: no se ha especificado ningún fichero de gramática\n"
|
msgstr "%s: no se ha especificado ningún fichero de gramática\n"
|
||||||
|
|
||||||
# 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:249
|
#: src/getargs.c:250
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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"
|
||||||
@@ -300,53 +300,63 @@ msgid "too many gotos (max %d)"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
# to ignore no es ignorar. Pon otra cosa, please. sv
|
# to ignore no es ignorar. Pon otra cosa, please. sv
|
||||||
#: src/lex.c:78
|
#: src/lex.c:76
|
||||||
msgid "unexpected `/' found and ignored"
|
msgid "unexpected `/' found and ignored"
|
||||||
msgstr "se ha encontrado `/' cuando no se esperaba, no se tendrán en cuenta"
|
msgstr "se ha encontrado `/' cuando no se esperaba, no se tendrán en cuenta"
|
||||||
|
|
||||||
#: src/lex.c:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "comentario sin terminar"
|
msgstr "comentario sin terminar"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
#, fuzzy
|
#, 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:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "salto de línea en constante sin secuencia de escape"
|
msgstr "salto de línea en constante sin secuencia de escape"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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 "valor octal fuera del rango 0...255: `\\%o'"
|
msgstr "valor octal fuera del rango 0...255: `\\%o'"
|
||||||
|
|
||||||
#: src/lex.c:235
|
#: src/lex.c:233
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "hexadecimal value above 255: `\\x%x'"
|
msgid "hexadecimal value above 255: `\\x%x'"
|
||||||
msgstr "valor hexadecimal mayor que 255: `\\x%x'"
|
msgstr "valor hexadecimal mayor que 255: `\\x%x'"
|
||||||
|
|
||||||
#: src/lex.c:247
|
#: src/lex.c:245
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown escape sequence: `\\' followed by `%s'"
|
msgid "unknown escape sequence: `\\' followed by `%s'"
|
||||||
msgstr "secuencia de escape desconocida: `\\' seguido de `%s'"
|
msgstr "secuencia de escape desconocida: `\\' seguido de `%s'"
|
||||||
|
|
||||||
#: src/lex.c:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "nombre de tipo sin terminar al final del fichero"
|
msgstr "nombre de tipo sin terminar al final del fichero"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "nombre de tipo sin terminar"
|
msgstr "nombre de tipo sin terminar"
|
||||||
|
|
||||||
# ¿multicarácter o multicaracteres? sv
|
# ¿multicarácter o multicaracteres? sv
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "use \"...\" para terminales literales multicarácter"
|
msgstr "use \"...\" para terminales literales multicarácter"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: la opción `%s' requiere un argumento\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "error interno, %s\n"
|
msgstr "error interno, %s\n"
|
||||||
@@ -523,7 +533,7 @@ msgstr ""
|
|||||||
msgid "symbol %s redefined"
|
msgid "symbol %s redefined"
|
||||||
msgstr "redefinido el símbolo %s"
|
msgstr "redefinido el símbolo %s"
|
||||||
|
|
||||||
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, 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"
|
||||||
@@ -533,12 +543,12 @@ 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:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "multiple %s declarations"
|
msgid "multiple %s declarations"
|
||||||
msgstr "múltiples declaraciones de %start"
|
msgstr "múltiples declaraciones de %start"
|
||||||
|
|
||||||
#: src/reader.c:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "invalid %s declaration"
|
msgid "invalid %s declaration"
|
||||||
msgstr "declaración de %start no válida"
|
msgstr "declaración de %start no válida"
|
||||||
@@ -577,12 +587,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:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "`{' desemparejada"
|
msgstr "`{' desemparejada"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, 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"
|
||||||
@@ -593,26 +603,26 @@ msgstr "el argumento de %expect no es un entero"
|
|||||||
# - cll
|
# - cll
|
||||||
# ok - ngp
|
# ok - ngp
|
||||||
#
|
#
|
||||||
#: src/reader.c:838
|
#: src/reader.c:844
|
||||||
#, 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:862
|
#: src/reader.c:866
|
||||||
#, 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:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "no reconocido: %s"
|
msgstr "no reconocido: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
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:1015
|
#: src/reader.c:1024
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown character: %s"
|
msgid "unknown character: %s"
|
||||||
msgstr "carácter desconocido: %s"
|
msgstr "carácter desconocido: %s"
|
||||||
@@ -621,93 +631,93 @@ 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:1183
|
#: src/reader.c:1192
|
||||||
#, 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:1350
|
#: src/reader.c:1359
|
||||||
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:1357
|
#: src/reader.c:1366
|
||||||
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:1388
|
#: src/reader.c:1397
|
||||||
#, 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:1490
|
#: src/reader.c:1499
|
||||||
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:1498
|
#: src/reader.c:1507
|
||||||
#, 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:1507
|
#: src/reader.c:1516
|
||||||
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:1521
|
#: src/reader.c:1530
|
||||||
#, 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:1527
|
#: src/reader.c:1536
|
||||||
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:1571
|
#: src/reader.c:1580
|
||||||
#, 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:1579
|
#: src/reader.c:1588
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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 %s"
|
||||||
|
|
||||||
#: src/reader.c:1582
|
#: src/reader.c:1591
|
||||||
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:1606
|
#: src/reader.c:1615
|
||||||
#, 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:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "precedencias en conflicto entre %s y %s"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "conflicto de valores assoc para %s y %s"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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 %s"
|
||||||
|
|
||||||
#: src/reader.c:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "precedencias en conflicto entre %s y %s"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "conflicto de valores assoc para %s y %s"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, 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:1784
|
#: src/reader.c:1813
|
||||||
#, 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"
|
||||||
@@ -820,35 +830,35 @@ msgstr ""
|
|||||||
"la reducción de %s define %d terminal%s, %d no terminal%s, y %d produccion%"
|
"la reducción de %s define %d terminal%s, %d no terminal%s, y %d produccion%"
|
||||||
"s.\n"
|
"s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: la opción `%s' es ambigua\n"
|
msgstr "%s: la opción `%s' es ambigua\n"
|
||||||
|
|
||||||
# Pongo esto como en otros .po. sv
|
# Pongo esto como en otros .po. sv
|
||||||
#: lib/getopt.c:700
|
#: 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: la opción `--%s' no admite ningún argumento\n"
|
msgstr "%s: la opción `--%s' no admite ningún argumento\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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: la opción `%c%s' no admite ningún argumento\n"
|
msgstr "%s: la opción `%c%s' no admite ningún argumento\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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: la opción `%s' requiere un argumento\n"
|
msgstr "%s: la opción `%s' requiere un argumento\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: lib/getopt.c:775
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: unrecognized option `%c%s'\n"
|
msgid "%s: unrecognized option `%c%s'\n"
|
||||||
msgstr "%s: opción `%c%s' no reconocida\n"
|
msgstr "%s: opción `%c%s' no reconocida\n"
|
||||||
@@ -871,7 +881,7 @@ msgstr "%s: opci
|
|||||||
# 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: opción -- %c ilegal\n"
|
msgstr "%s: opción -- %c ilegal\n"
|
||||||
@@ -881,31 +891,31 @@ msgstr "%s: opci
|
|||||||
# Porque Enrique decía que le recordaba a disminuidos físicos.
|
# Porque Enrique decía que le recordaba a disminuidos físicos.
|
||||||
# Francamente, no creo que haya que andar con estas "fobias".
|
# Francamente, no creo que haya que andar con estas "fobias".
|
||||||
# Pongo inválida. sv
|
# Pongo inválida. sv
|
||||||
#: lib/getopt.c:785
|
#: 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 inválida\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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:862
|
#: lib/getopt.c:881
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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 `%s' es ambigua\n"
|
||||||
|
|
||||||
# Pongo esto como en otros .po. sv
|
# Pongo esto como en otros .po. sv
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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 `--%s' no admite ningún argumento\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: memoria agotada\n"
|
msgstr "%s: memoria agotada\n"
|
||||||
@@ -924,11 +934,11 @@ msgstr "%s: memoria agotada\n"
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28d\n"
|
"Project-Id-Version: bison 1.29f\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 2001-08-29 17:06+02:00\n"
|
"PO-Revision-Date: 2001-10-19 17:53+02:00\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"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
@@ -18,7 +18,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:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Tundmatu süsteemi viga"
|
msgstr "Tundmatu süsteemi viga"
|
||||||
|
|
||||||
@@ -128,27 +128,27 @@ msgstr "DERIVES"
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s derives"
|
msgstr "%s derives"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr "faili `%s' ei saa avada"
|
msgstr "faili `%s' ei saa avada"
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:162
|
||||||
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
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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"
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr "Kasuta: %s [VÕTI]...FAIL\n"
|
msgstr "Kasuta: %s [VÕTI]...FAIL\n"
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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"
|
||||||
@@ -156,7 +156,7 @@ msgstr ""
|
|||||||
"Kui pikk võti näitab, et argument on kohustuslik, siis on see kohustuslik \n"
|
"Kui pikk võti näitab, et argument on kohustuslik, siis on see kohustuslik \n"
|
||||||
"ka lühikese võtme korral. Sama ka vabalt valitavate võtmete korral.\n"
|
"ka lühikese võtme korral. Sama ka vabalt valitavate võtmete korral.\n"
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -168,7 +168,7 @@ msgstr ""
|
|||||||
" -V, --version esita versiooniinfo ja lõpeta töö\n"
|
" -V, --version esita versiooniinfo ja lõpeta töö\n"
|
||||||
" -y, --yacc emuleeri POSIX yacc\n"
|
" -y, --yacc emuleeri POSIX yacc\n"
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -188,14 +188,15 @@ msgstr ""
|
|||||||
" -n, --no-parser genereeri ainult tabelid\n"
|
" -n, --no-parser genereeri ainult tabelid\n"
|
||||||
" -k, --token-table lisa ka sümbolite nimede tabel\n"
|
" -k, --token-table lisa ka sümbolite nimede tabel\n"
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Väljund:\n"
|
"Väljund:\n"
|
||||||
@@ -205,25 +206,25 @@ msgstr ""
|
|||||||
" -o, --output-file=FAIL jäta väljund FAILi\n"
|
" -o, --output-file=FAIL jäta väljund FAILi\n"
|
||||||
" -g, --graph loo automaadi kirjeldus VCG graafina\n"
|
" -g, --graph loo automaadi kirjeldus VCG graafina\n"
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
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
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr "bison (GNU Bison) %s"
|
msgstr "bison (GNU Bison) %s"
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Autoriõigus 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, "
|
"Autoriõigus 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, "
|
||||||
"Inc.\n"
|
"Inc.\n"
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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"
|
||||||
@@ -231,22 +232,22 @@ msgstr ""
|
|||||||
"See on vaba tarkvara; kopeerimistingimused leiate lähtetekstidest. Garantii\n"
|
"See on vaba tarkvara; kopeerimistingimused leiate lähtetekstidest. Garantii\n"
|
||||||
"PUUDUB; ka müügiks või mingil eesmärgil kasutamiseks.\n"
|
"PUUDUB; ka müügiks või mingil eesmärgil kasutamiseks.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr "`%s' ei ole enam toetatud"
|
msgstr "`%s' ei ole enam toetatud"
|
||||||
|
|
||||||
#: src/getargs.c:238
|
#: src/getargs.c:239
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Try `%s --help' for more information.\n"
|
msgid "Try `%s --help' for more information.\n"
|
||||||
msgstr "Lisainfo saamiseks proovige `%s --help'.\n"
|
msgstr "Lisainfo saamiseks proovige `%s --help'.\n"
|
||||||
|
|
||||||
#: src/getargs.c:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: puudub grammatikafail\n"
|
msgstr "%s: puudub grammatikafail\n"
|
||||||
|
|
||||||
#: src/getargs.c:249
|
#: src/getargs.c:250
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: extra arguments ignored after `%s'\n"
|
msgid "%s: extra arguments ignored after `%s'\n"
|
||||||
msgstr "%s: ignoreerin lisaargumente peale `%s'\n"
|
msgstr "%s: ignoreerin lisaargumente peale `%s'\n"
|
||||||
@@ -256,50 +257,60 @@ msgstr "%s: ignoreerin lisaargumente peale `%s'\n"
|
|||||||
msgid "too many gotos (max %d)"
|
msgid "too many gotos (max %d)"
|
||||||
msgstr "liiga palju gotosid (maks %d)"
|
msgstr "liiga palju gotosid (maks %d)"
|
||||||
|
|
||||||
#: src/lex.c:78
|
#: src/lex.c:76
|
||||||
msgid "unexpected `/' found and ignored"
|
msgid "unexpected `/' found and ignored"
|
||||||
msgstr "leidsin ja ignoreerin ootamatu `/'"
|
msgstr "leidsin ja ignoreerin ootamatu `/'"
|
||||||
|
|
||||||
#: src/lex.c:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "lõpetamata kommentaar"
|
msgstr "lõpetamata kommentaar"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
msgid "unexpected end of file"
|
msgid "unexpected end of file"
|
||||||
msgstr "ootamatu faililõpp"
|
msgstr "ootamatu faililõpp"
|
||||||
|
|
||||||
#: src/lex.c:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "paojadata reavahetus konstandis"
|
msgstr "paojadata reavahetus konstandis"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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 "kaheksandväärtus väljaspool piire 0...255: `\\%o'"
|
msgstr "kaheksandväärtus väljaspool piire 0...255: `\\%o'"
|
||||||
|
|
||||||
#: src/lex.c:235
|
#: src/lex.c:233
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "hexadecimal value above 255: `\\x%x'"
|
msgid "hexadecimal value above 255: `\\x%x'"
|
||||||
msgstr "kuueteistkümnendväärtus suurem, kui above 255: `\\x%x'"
|
msgstr "kuueteistkümnendväärtus suurem, kui above 255: `\\x%x'"
|
||||||
|
|
||||||
#: src/lex.c:247
|
#: src/lex.c:245
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown escape sequence: `\\' followed by `%s'"
|
msgid "unknown escape sequence: `\\' followed by `%s'"
|
||||||
msgstr "tundmatu paojada: `\\' järgneb `%s'"
|
msgstr "tundmatu paojada: `\\' järgneb `%s'"
|
||||||
|
|
||||||
#: src/lex.c:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "lõpetamata tüübinimi faili lõpus"
|
msgstr "lõpetamata tüübinimi faili lõpus"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "lõpetamata tüübinimi"
|
msgstr "lõpetamata tüübinimi"
|
||||||
|
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "kasuta mitmesümboliliste literaalidega \"...\" konstruktsiooni"
|
msgstr "kasuta mitmesümboliliste literaalidega \"...\" konstruktsiooni"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: võti `%s' nõuab argumenti\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: sisemine viga: %s\n"
|
msgstr "%s: sisemine viga: %s\n"
|
||||||
@@ -368,7 +379,7 @@ msgstr "reegel %-4d %s ->"
|
|||||||
|
|
||||||
#: src/print.c:240
|
#: src/print.c:240
|
||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr "tühi"
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
#. TERMINAL (type #) : rule #s terminal is on RHS
|
||||||
#: src/print.c:244
|
#: src/print.c:244
|
||||||
@@ -457,7 +468,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:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, 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"
|
||||||
@@ -467,12 +478,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:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "multiple %s declarations"
|
msgid "multiple %s declarations"
|
||||||
msgstr "korduvad %s deklaratsioonid"
|
msgstr "korduvad %s deklaratsioonid"
|
||||||
|
|
||||||
#: src/reader.c:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid %s declaration"
|
msgid "invalid %s declaration"
|
||||||
msgstr "vigane %s deklaratsioon"
|
msgstr "vigane %s deklaratsioon"
|
||||||
@@ -501,122 +512,122 @@ 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:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "puudub %s"
|
msgstr "puudub %s"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, 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:838
|
#: src/reader.c:844
|
||||||
#, 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:862
|
#: src/reader.c:866
|
||||||
#, 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:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "tundmatu: %s"
|
msgstr "tundmatu: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
msgid "no input grammar"
|
msgid "no input grammar"
|
||||||
msgstr "sisendgrammatikat pole"
|
msgstr "sisendgrammatikat pole"
|
||||||
|
|
||||||
#: src/reader.c:1015
|
#: src/reader.c:1024
|
||||||
#, 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:1183
|
#: src/reader.c:1192
|
||||||
#, 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:1350
|
#: src/reader.c:1359
|
||||||
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:1357
|
#: src/reader.c:1366
|
||||||
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:1388
|
#: src/reader.c:1397
|
||||||
#, 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:1490
|
#: src/reader.c:1499
|
||||||
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:1498
|
#: src/reader.c:1507
|
||||||
#, 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:1507
|
#: src/reader.c:1516
|
||||||
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:1521
|
#: src/reader.c:1530
|
||||||
#, 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:1527
|
#: src/reader.c:1536
|
||||||
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:1571
|
#: src/reader.c:1580
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid input: %s"
|
msgid "invalid input: %s"
|
||||||
msgstr "vigane sisend: %s"
|
msgstr "vigane sisend: %s"
|
||||||
|
|
||||||
#: src/reader.c:1579
|
#: src/reader.c:1588
|
||||||
#, 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:1582
|
#: src/reader.c:1591
|
||||||
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:1606
|
#: src/reader.c:1615
|
||||||
#, 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:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "%s ja %s omavad konfliktseid prioriteete"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "%s ja %s omavad konfliktseid assotsiatiivseid väärtuseid"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, 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:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "%s ja %s omavad konfliktseid prioriteete"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "%s ja %s omavad konfliktseid assotsiatiivseid väärtuseid"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, 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:1784
|
#: src/reader.c:1813
|
||||||
#, 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"
|
||||||
@@ -704,68 +715,68 @@ msgstr ""
|
|||||||
"redutseeritud %s defineerib %d terminali%s, %d mitteterminali%s ja %d reeglit"
|
"redutseeritud %s defineerib %d terminali%s, %d mitteterminali%s ja %d reeglit"
|
||||||
"%s.\n"
|
"%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: võti `%s' on segane\n"
|
msgstr "%s: võti `%s' on segane\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: 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: võti `--%s' ei luba argumenti\n"
|
msgstr "%s: võti `--%s' ei luba argumenti\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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: võti `%c%s' ei luba argumenti\n"
|
msgstr "%s: võti `%c%s' ei luba argumenti\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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: võti `%s' nõuab argumenti\n"
|
msgstr "%s: võti `%s' nõuab argumenti\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: lubamatu võti -- %c\n"
|
msgstr "%s: lubamatu võti -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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: võti nõuab argumenti -- %c\n"
|
msgstr "%s: võti nõuab argumenti -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: 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: võti `-W %s' on segane\n"
|
msgstr "%s: võti `-W %s' on segane\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: 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: 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
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 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"
|
||||||
|
|
||||||
@@ -783,19 +794,10 @@ msgstr "m
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
#~ msgid "\t\t/* empty */"
|
|
||||||
#~ msgstr "\t\t/* tühi */"
|
|
||||||
|
|
||||||
#~ msgid "multiple %%header_extension declarations"
|
|
||||||
#~ msgstr "korduvad %%header_extension eklaratsioonid"
|
|
||||||
|
|
||||||
#~ msgid "multiple %%source_extension declarations"
|
|
||||||
#~ msgstr "korduvad %%source_extension deklaratsioonid"
|
|
||||||
|
|||||||
@@ -5,9 +5,9 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28d\n"
|
"Project-Id-Version: GNU bison 1.29f\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 2001-08-29 20:00-0500\n"
|
"PO-Revision-Date: 2001-10-19 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"
|
||||||
@@ -19,7 +19,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:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Erreur système inconnue"
|
msgstr "Erreur système inconnue"
|
||||||
|
|
||||||
@@ -130,27 +130,27 @@ msgstr "D
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s dérive"
|
msgstr "%s dérive"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, 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:155
|
#: src/files.c:162
|
||||||
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
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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"
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr "Usage: %s [OPTION]... FICHIER\n"
|
msgstr "Usage: %s [OPTION]... FICHIER\n"
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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"
|
||||||
@@ -159,7 +159,7 @@ msgstr ""
|
|||||||
"il est alors obligatoire également pour une option de forme courte.\n"
|
"il est alors obligatoire également pour une option de forme courte.\n"
|
||||||
"Il en est de même pour les paramètres optionnels.\n"
|
"Il en est de même pour les paramètres optionnels.\n"
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -171,7 +171,7 @@ msgstr ""
|
|||||||
" -V, --version afficher le nom et la version du logiciel\n"
|
" -V, --version afficher le nom et la version du logiciel\n"
|
||||||
" -y, --yacc émuler yacc en mode POSIX\n"
|
" -y, --yacc émuler yacc en mode POSIX\n"
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -193,14 +193,15 @@ msgstr ""
|
|||||||
" -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"
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Sortie:\n"
|
"Sortie:\n"
|
||||||
@@ -211,24 +212,24 @@ msgstr ""
|
|||||||
" -g, --graph produire aussi la description du graphe VCG de "
|
" -g, --graph produire aussi la description du graphe VCG de "
|
||||||
"l'automate\n"
|
"l'automate\n"
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
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
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr "bison (GNU Bison) %s"
|
msgstr "bison (GNU Bison) %s"
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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"
|
||||||
@@ -237,22 +238,22 @@ msgstr ""
|
|||||||
"reproduction. AUCUNE garantie n'est donnée; tant pour des raisons\n"
|
"reproduction. AUCUNE garantie n'est donnée; tant pour des raisons\n"
|
||||||
"COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.\n"
|
"COMMERCIALES que pour RÉPONDRE À UN BESOIN PARTICULIER.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, 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:238
|
#: src/getargs.c:239
|
||||||
#, 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:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: grammaire manquante\n"
|
msgstr "%s: grammaire manquante\n"
|
||||||
|
|
||||||
#: src/getargs.c:249
|
#: src/getargs.c:250
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: extra arguments ignored after `%s'\n"
|
msgid "%s: extra arguments ignored after `%s'\n"
|
||||||
msgstr "%s: paramètres supplémentaires ignorés après `%s'\n"
|
msgstr "%s: paramètres supplémentaires ignorés après `%s'\n"
|
||||||
@@ -262,50 +263,60 @@ msgstr "%s: param
|
|||||||
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:78
|
#: 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:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "le commentaire ne se termine pas"
|
msgstr "le commentaire ne se termine pas"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
msgid "unexpected end of file"
|
msgid "unexpected end of file"
|
||||||
msgstr "Fin de fichier inattendue"
|
msgstr "Fin de fichier inattendue"
|
||||||
|
|
||||||
#: src/lex.c:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "retour de chariot sans échappement dans une constante"
|
msgstr "retour de chariot sans échappement dans une constante"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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:235
|
#: 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:247
|
#: 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:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "le nom de type ne se termine pas avant la fin de fichier"
|
msgstr "le nom de type ne se termine pas avant la fin de fichier"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "le nom de type ne se termine pas"
|
msgstr "le nom de type ne se termine pas"
|
||||||
|
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "utilisez \"...\" pour les terminaux litéraux de plusieurs caractères"
|
msgstr "utilisez \"...\" pour les terminaux litéraux de plusieurs caractères"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: l'option %s requiert un paramètre\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: erreur interne: %s\n"
|
msgstr "%s: erreur interne: %s\n"
|
||||||
@@ -374,7 +385,7 @@ msgstr "r
|
|||||||
|
|
||||||
#: src/print.c:240
|
#: src/print.c:240
|
||||||
msgid "empty"
|
msgid "empty"
|
||||||
msgstr ""
|
msgstr "vide"
|
||||||
|
|
||||||
#. TERMINAL (type #) : rule #s terminal is on RHS
|
#. TERMINAL (type #) : rule #s terminal is on RHS
|
||||||
#: src/print.c:244
|
#: src/print.c:244
|
||||||
@@ -463,7 +474,7 @@ msgstr "symbole `%s' pr
|
|||||||
msgid "symbol %s redefined"
|
msgid "symbol %s redefined"
|
||||||
msgstr "symbole %s redéfini"
|
msgstr "symbole %s redéfini"
|
||||||
|
|
||||||
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, 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"
|
||||||
@@ -473,12 +484,12 @@ msgstr "red
|
|||||||
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:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, 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:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, 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"
|
||||||
@@ -508,122 +519,122 @@ msgstr ""
|
|||||||
msgid "unexpected item: %s"
|
msgid "unexpected item: %s"
|
||||||
msgstr "item inattendu: %s"
|
msgstr "item inattendu: %s"
|
||||||
|
|
||||||
#: src/reader.c:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "non appariement de %s"
|
msgstr "non appariement de %s"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "argument of %%expect is not an integer"
|
msgid "argument of %%expect is not an integer"
|
||||||
msgstr "le paramètre de %%expect n'est pas un entier"
|
msgstr "le paramètre de %%expect n'est pas un entier"
|
||||||
|
|
||||||
#: src/reader.c:838
|
#: src/reader.c:844
|
||||||
#, 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:862
|
#: src/reader.c:866
|
||||||
#, 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:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "non reconnu: %s"
|
msgstr "non reconnu: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
msgid "no input grammar"
|
msgid "no input grammar"
|
||||||
msgstr "aucune grammaire en entrée"
|
msgstr "aucune grammaire en entrée"
|
||||||
|
|
||||||
#: src/reader.c:1015
|
#: src/reader.c:1024
|
||||||
#, 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:1183
|
#: src/reader.c:1192
|
||||||
#, 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:1350
|
#: src/reader.c:1359
|
||||||
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:1357
|
#: src/reader.c:1366
|
||||||
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:1388
|
#: src/reader.c:1397
|
||||||
#, 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:1490
|
#: src/reader.c:1499
|
||||||
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:1498
|
#: src/reader.c:1507
|
||||||
#, 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:1507
|
#: src/reader.c:1516
|
||||||
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:1521
|
#: src/reader.c:1530
|
||||||
#, 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:1527
|
#: src/reader.c:1536
|
||||||
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:1571
|
#: src/reader.c:1580
|
||||||
#, 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:1579
|
#: src/reader.c:1588
|
||||||
#, 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:1582
|
#: src/reader.c:1591
|
||||||
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:1606
|
#: src/reader.c:1615
|
||||||
#, 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:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "les priorités pour %s et %s entrent en conflit"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "les valeurs d'association de %s et %s entrent en conflit"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, 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:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "les priorités pour %s et %s entrent en conflit"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "les valeurs d'association de %s et %s entrent en conflit"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, 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:1784
|
#: src/reader.c:1813
|
||||||
#, 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"
|
||||||
@@ -711,68 +722,68 @@ msgstr ""
|
|||||||
"la réduction de %s définit %d terminal%s, %d catégorie%s et %d production%"
|
"la réduction de %s définit %d terminal%s, %d catégorie%s et %d production%"
|
||||||
"s.\n"
|
"s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: l'option %s est ambigüe\n"
|
msgstr "%s: l'option %s est ambigüe\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: 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 de paramètre\n"
|
msgstr "%s: l'option --%s n'admet pas de paramètre\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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 de paramètre\n"
|
msgstr "%s: l'option %c%s n'admet pas de paramètre\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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 paramètre\n"
|
msgstr "%s: l'option %s requiert un paramètre\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: option illégale -- %c\n"
|
msgstr "%s: option illégale -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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: l'option requiert un paramètre -- %c\n"
|
msgstr "%s: l'option requiert un paramètre -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: 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:880
|
#: 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 de paramètre\n"
|
msgstr "%s: l'option `-W %s' n'admet pas de paramètre\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 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"
|
||||||
|
|
||||||
@@ -790,11 +801,11 @@ msgstr "m
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GNU bison 1.28\n"
|
"Project-Id-Version: GNU bison 1.28\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 1999-09-28 21:10+0900\n"
|
"PO-Revision-Date: 1999-09-28 21:10+0900\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"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "%s の数が多すぎます (最大 %d)"
|
msgstr "%s の数が多すぎます (最大 %d)"
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -135,33 +135,33 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s は以下から派生"
|
msgstr "%s は以下から派生"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:162
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -169,7 +169,7 @@ msgid ""
|
|||||||
" -y, --yacc emulate POSIX yacc\n"
|
" -y, --yacc emulate POSIX yacc\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -181,55 +181,55 @@ msgid ""
|
|||||||
" -k, --token-table include a table of token names\n"
|
" -k, --token-table include a table of token names\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
msgid "Report bugs to <[email protected]>.\n"
|
msgid "Report bugs to <[email protected]>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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 ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:238
|
#: src/getargs.c:239
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Try `%s --help' for more information.\n"
|
msgid "Try `%s --help' for more information.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: 文法ファイルが指定されていません\n"
|
msgstr "%s: 文法ファイルが指定されていません\n"
|
||||||
|
|
||||||
#: src/getargs.c:249
|
#: src/getargs.c:250
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: extra arguments ignored after `%s'\n"
|
msgid "%s: extra arguments ignored after `%s'\n"
|
||||||
msgstr "%s: '%s' より後ろの余分な引数は無視されました\n"
|
msgstr "%s: '%s' より後ろの余分な引数は無視されました\n"
|
||||||
@@ -239,51 +239,61 @@ msgstr "%s: '%s'
|
|||||||
msgid "too many gotos (max %d)"
|
msgid "too many gotos (max %d)"
|
||||||
msgstr "%s の数が多すぎます (最大 %d)"
|
msgstr "%s の数が多すぎます (最大 %d)"
|
||||||
|
|
||||||
#: src/lex.c:78
|
#: src/lex.c:76
|
||||||
msgid "unexpected `/' found and ignored"
|
msgid "unexpected `/' found and ignored"
|
||||||
msgstr "予期しない `/' が見つかり、無視されました"
|
msgstr "予期しない `/' が見つかり、無視されました"
|
||||||
|
|
||||||
#: src/lex.c:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "閉じていないコメントです"
|
msgstr "閉じていないコメントです"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "unexpected end of file"
|
msgid "unexpected end of file"
|
||||||
msgstr "予期しないファイルの終端です"
|
msgstr "予期しないファイルの終端です"
|
||||||
|
|
||||||
#: src/lex.c:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "定数の中にエスケープされていない改行があります"
|
msgstr "定数の中にエスケープされていない改行があります"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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 "8 進数の値が 0...255 の範囲外です: `\\%o'"
|
msgstr "8 進数の値が 0...255 の範囲外です: `\\%o'"
|
||||||
|
|
||||||
#: src/lex.c:235
|
#: src/lex.c:233
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "hexadecimal value above 255: `\\x%x'"
|
msgid "hexadecimal value above 255: `\\x%x'"
|
||||||
msgstr "16 進数の値が 255 を越えています: `\\x%x'"
|
msgstr "16 進数の値が 255 を越えています: `\\x%x'"
|
||||||
|
|
||||||
#: src/lex.c:247
|
#: src/lex.c:245
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown escape sequence: `\\' followed by `%s'"
|
msgid "unknown escape sequence: `\\' followed by `%s'"
|
||||||
msgstr "未知のエスケープシーケンス: `\\' の後に `%s'"
|
msgstr "未知のエスケープシーケンス: `\\' の後に `%s'"
|
||||||
|
|
||||||
#: src/lex.c:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "閉じられていないタイプ名が、ファイル末尾にあります"
|
msgstr "閉じられていないタイプ名が、ファイル末尾にあります"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "閉じられていないタイプ名があります"
|
msgstr "閉じられていないタイプ名があります"
|
||||||
|
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "複数文字のリテラルトークンには \"...\" を使いましょう"
|
msgstr "複数文字のリテラルトークンには \"...\" を使いましょう"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: オプション `%s' は引数を要求します\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: 内部エラー: %s\n"
|
msgstr "%s: 内部エラー: %s\n"
|
||||||
@@ -456,7 +466,7 @@ msgstr ""
|
|||||||
msgid "symbol %s redefined"
|
msgid "symbol %s redefined"
|
||||||
msgstr "シンボル %s が再定義されました"
|
msgstr "シンボル %s が再定義されました"
|
||||||
|
|
||||||
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "type redeclaration for %s"
|
msgid "type redeclaration for %s"
|
||||||
msgstr "%s の型が再定義されました"
|
msgstr "%s の型が再定義されました"
|
||||||
@@ -466,12 +476,12 @@ msgstr "%s
|
|||||||
msgid "`%s' is invalid in %s"
|
msgid "`%s' is invalid in %s"
|
||||||
msgstr "%2$s 内の `%1$s' は無効です"
|
msgstr "%2$s 内の `%1$s' は無効です"
|
||||||
|
|
||||||
#: src/reader.c:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "multiple %s declarations"
|
msgid "multiple %s declarations"
|
||||||
msgstr "複数の %start が宣言されました"
|
msgstr "複数の %start が宣言されました"
|
||||||
|
|
||||||
#: src/reader.c:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "invalid %s declaration"
|
msgid "invalid %s declaration"
|
||||||
msgstr "無効な %start が宣言されました"
|
msgstr "無効な %start が宣言されました"
|
||||||
@@ -500,122 +510,122 @@ msgstr "̵
|
|||||||
msgid "unexpected item: %s"
|
msgid "unexpected item: %s"
|
||||||
msgstr "予期せぬアイテム: %s"
|
msgstr "予期せぬアイテム: %s"
|
||||||
|
|
||||||
#: src/reader.c:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "対応のない `{' です"
|
msgstr "対応のない `{' です"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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:838
|
#: src/reader.c:844
|
||||||
#, 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:862
|
#: src/reader.c:866
|
||||||
#, 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:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "認識できない: %s"
|
msgstr "認識できない: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
msgid "no input grammar"
|
msgid "no input grammar"
|
||||||
msgstr "文法の入力が無い"
|
msgstr "文法の入力が無い"
|
||||||
|
|
||||||
#: src/reader.c:1015
|
#: src/reader.c:1024
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown character: %s"
|
msgid "unknown character: %s"
|
||||||
msgstr "未知の文字: %s"
|
msgstr "未知の文字: %s"
|
||||||
|
|
||||||
#: src/reader.c:1183
|
#: src/reader.c:1192
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "unterminated %guard clause"
|
msgid "unterminated %guard clause"
|
||||||
msgstr "閉じられていない %%guard 節です"
|
msgstr "閉じられていない %%guard 節です"
|
||||||
|
|
||||||
#: src/reader.c:1350
|
#: src/reader.c:1359
|
||||||
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:1357
|
#: src/reader.c:1366
|
||||||
msgid "grammar starts with vertical bar"
|
msgid "grammar starts with vertical bar"
|
||||||
msgstr "文法は縦棒 (|) で始めます"
|
msgstr "文法は縦棒 (|) で始めます"
|
||||||
|
|
||||||
#: src/reader.c:1388
|
#: src/reader.c:1397
|
||||||
#, 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:1490
|
#: src/reader.c:1499
|
||||||
msgid "two @prec's in a row"
|
msgid "two @prec's in a row"
|
||||||
msgstr "@prec のもの二つが同列になっています"
|
msgstr "@prec のもの二つが同列になっています"
|
||||||
|
|
||||||
#: src/reader.c:1498
|
#: src/reader.c:1507
|
||||||
#, 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:1507
|
#: src/reader.c:1516
|
||||||
msgid "two actions at end of one rule"
|
msgid "two actions at end of one rule"
|
||||||
msgstr "一つの規則の終りに二つの動作を指定しています"
|
msgstr "一つの規則の終りに二つの動作を指定しています"
|
||||||
|
|
||||||
#: src/reader.c:1521
|
#: src/reader.c:1530
|
||||||
#, 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:1527
|
#: src/reader.c:1536
|
||||||
msgid "empty rule for typed nonterminal, and no action"
|
msgid "empty rule for typed nonterminal, and no action"
|
||||||
msgstr "空の型付き非終端アイテム用規則であり、動作が起りません"
|
msgstr "空の型付き非終端アイテム用規則であり、動作が起りません"
|
||||||
|
|
||||||
#: src/reader.c:1571
|
#: src/reader.c:1580
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid input: %s"
|
msgid "invalid input: %s"
|
||||||
msgstr "無効な入力: %s"
|
msgstr "無効な入力: %s"
|
||||||
|
|
||||||
#: src/reader.c:1579
|
#: src/reader.c:1588
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "too many symbols (tokens plus nonterminals); maximum %d"
|
msgid "too many symbols (tokens plus nonterminals); maximum %d"
|
||||||
msgstr "シンボルが多すぎます (トークンと非終端アイテム) -- 最大 %s"
|
msgstr "シンボルが多すぎます (トークンと非終端アイテム) -- 最大 %s"
|
||||||
|
|
||||||
#: src/reader.c:1582
|
#: src/reader.c:1591
|
||||||
msgid "no rules in the input grammar"
|
msgid "no rules in the input grammar"
|
||||||
msgstr "入力した文法に規則が定義されていません"
|
msgstr "入力した文法に規則が定義されていません"
|
||||||
|
|
||||||
#: src/reader.c:1606
|
#: src/reader.c:1615
|
||||||
#, 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:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "先行している %s と %s で競合が生じています"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "非結合値 %s と %s で競合が生じています"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "tokens %s and %s both assigned number %d"
|
msgid "tokens %s and %s both assigned number %d"
|
||||||
msgstr "トークン %s と %s の双方が番号 %s に割り当てられました"
|
msgstr "トークン %s と %s の双方が番号 %s に割り当てられました"
|
||||||
|
|
||||||
#: src/reader.c:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "先行している %s と %s で競合が生じています"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "非結合値 %s と %s で競合が生じています"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, 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:1784
|
#: src/reader.c:1813
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "the start symbol %s is a token"
|
msgid "the start symbol %s is a token"
|
||||||
msgstr "開始シンボル %s はトークンです"
|
msgstr "開始シンボル %s はトークンです"
|
||||||
@@ -716,68 +726,68 @@ msgstr ""
|
|||||||
"還元ファイル %s で %d 個の終端子%.0s, %d 個の非終端子%.0s, %d 個の規則%.0sが"
|
"還元ファイル %s で %d 個の終端子%.0s, %d 個の非終端子%.0s, %d 個の規則%.0sが"
|
||||||
"定義されました\n"
|
"定義されました\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: オプション `%s' は曖昧です\n"
|
msgstr "%s: オプション `%s' は曖昧です\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: 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: オプション `--%s' は引数を許しません\n"
|
msgstr "%s: オプション `--%s' は引数を許しません\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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: オプション `%c%s' は引数を許しません\n"
|
msgstr "%s: オプション `%c%s' は引数を許しません\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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: オプション `%s' は引数を要求します\n"
|
msgstr "%s: オプション `%s' は引数を要求します\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: 定格外のオプション -- %c\n"
|
msgstr "%s: 定格外のオプション -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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: オプションは引数を要求します -- %c\n"
|
msgstr "%s: オプションは引数を要求します -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: 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: オプション `-W %s' は曖昧です\n"
|
msgstr "%s: オプション `-W %s' は曖昧です\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: 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: オプション `-W %s' は引数を許しません\n"
|
msgstr "%s: オプション `-W %s' は引数を許しません\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: メモリを使い果たしました\n"
|
msgstr "%s: メモリを使い果たしました\n"
|
||||||
@@ -796,11 +806,11 @@ msgstr "%s:
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.25\n"
|
"Project-Id-Version: bison 1.25\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
"PO-Revision-Date: 1996-08-27 15:34 MET DST\n"
|
||||||
"Last-Translator: Erick Branderhorst <[email protected]>\n"
|
"Last-Translator: Erick Branderhorst <[email protected]>\n"
|
||||||
"Language-Team: Dutch <[email protected]>\n"
|
"Language-Team: Dutch <[email protected]>\n"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -135,33 +135,33 @@ msgstr ""
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s afgeleiden"
|
msgstr "%s afgeleiden"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:162
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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 ""
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -169,7 +169,7 @@ msgid ""
|
|||||||
" -y, --yacc emulate POSIX yacc\n"
|
" -y, --yacc emulate POSIX yacc\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -181,55 +181,55 @@ msgid ""
|
|||||||
" -k, --token-table include a table of token names\n"
|
" -k, --token-table include a table of token names\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
msgid "Report bugs to <[email protected]>.\n"
|
msgid "Report bugs to <[email protected]>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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 ""
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:238
|
#: src/getargs.c:239
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Try `%s --help' for more information.\n"
|
msgid "Try `%s --help' for more information.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/getargs.c:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: geen grammatica bestand gegeven\n"
|
msgstr "%s: geen grammatica bestand gegeven\n"
|
||||||
|
|
||||||
#: src/getargs.c:249
|
#: src/getargs.c:250
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: extra arguments ignored after `%s'\n"
|
msgid "%s: extra arguments ignored after `%s'\n"
|
||||||
msgstr "%s: extra argumenten genegeerd na '%s'\n"
|
msgstr "%s: extra argumenten genegeerd na '%s'\n"
|
||||||
@@ -239,51 +239,61 @@ msgstr "%s: extra argumenten genegeerd na '%s'\n"
|
|||||||
msgid "too many gotos (max %d)"
|
msgid "too many gotos (max %d)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/lex.c:78
|
#: src/lex.c:76
|
||||||
msgid "unexpected `/' found and ignored"
|
msgid "unexpected `/' found and ignored"
|
||||||
msgstr "onverwachte `/' gevonden en genegeerd"
|
msgstr "onverwachte `/' gevonden en genegeerd"
|
||||||
|
|
||||||
#: src/lex.c:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "ongetermineerd commentaar"
|
msgstr "ongetermineerd commentaar"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "unexpected end of file"
|
msgid "unexpected end of file"
|
||||||
msgstr "Onverwacht bestandseinde"
|
msgstr "Onverwacht bestandseinde"
|
||||||
|
|
||||||
#: src/lex.c:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "niet geescapete nieuwe regel in constante"
|
msgstr "niet geescapete nieuwe regel in constante"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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 "octale waarde buiten domein 0...255: `\\%o'"
|
msgstr "octale waarde buiten domein 0...255: `\\%o'"
|
||||||
|
|
||||||
#: src/lex.c:235
|
#: src/lex.c:233
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "hexadecimal value above 255: `\\x%x'"
|
msgid "hexadecimal value above 255: `\\x%x'"
|
||||||
msgstr "hexadecimale waarde boven 255: `\\x%x'"
|
msgstr "hexadecimale waarde boven 255: `\\x%x'"
|
||||||
|
|
||||||
#: src/lex.c:247
|
#: src/lex.c:245
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown escape sequence: `\\' followed by `%s'"
|
msgid "unknown escape sequence: `\\' followed by `%s'"
|
||||||
msgstr "onbekende escape reeks: `\\' gevolgd door `%s'"
|
msgstr "onbekende escape reeks: `\\' gevolgd door `%s'"
|
||||||
|
|
||||||
#: src/lex.c:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "niet getermineerd type naam aan het einde van bestand"
|
msgstr "niet getermineerd type naam aan het einde van bestand"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "niet getermineerd type naam"
|
msgstr "niet getermineerd type naam"
|
||||||
|
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "gebruik \"...\" voor meerdere karakters literal tekens"
|
msgstr "gebruik \"...\" voor meerdere karakters literal tekens"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: optie `%s' vereist een argument\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "interne fout, %s\n"
|
msgstr "interne fout, %s\n"
|
||||||
@@ -458,7 +468,7 @@ msgstr ""
|
|||||||
msgid "symbol %s redefined"
|
msgid "symbol %s redefined"
|
||||||
msgstr "symbool %s opnieuw gedefinieerd"
|
msgstr "symbool %s opnieuw gedefinieerd"
|
||||||
|
|
||||||
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "type redeclaration for %s"
|
msgid "type redeclaration for %s"
|
||||||
msgstr "type herdeclaratie voor %s"
|
msgstr "type herdeclaratie voor %s"
|
||||||
@@ -468,12 +478,12 @@ msgstr "type herdeclaratie voor %s"
|
|||||||
msgid "`%s' is invalid in %s"
|
msgid "`%s' is invalid in %s"
|
||||||
msgstr "`%s' is onjuist in %s"
|
msgstr "`%s' is onjuist in %s"
|
||||||
|
|
||||||
#: src/reader.c:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "multiple %s declarations"
|
msgid "multiple %s declarations"
|
||||||
msgstr "meerdere %start declaraties"
|
msgstr "meerdere %start declaraties"
|
||||||
|
|
||||||
#: src/reader.c:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "invalid %s declaration"
|
msgid "invalid %s declaration"
|
||||||
msgstr "onjuiste %start declaratie"
|
msgstr "onjuiste %start declaratie"
|
||||||
@@ -502,123 +512,123 @@ msgstr "onjuiste tekst (%s) - nummer hoort na de identifier"
|
|||||||
msgid "unexpected item: %s"
|
msgid "unexpected item: %s"
|
||||||
msgstr "onbekend item: %s"
|
msgstr "onbekend item: %s"
|
||||||
|
|
||||||
#: src/reader.c:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "niet overeenkomstige `{'"
|
msgstr "niet overeenkomstige `{'"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "argument of %%expect is not an integer"
|
msgid "argument of %%expect is not an integer"
|
||||||
msgstr "argument van %expect is niet een integer"
|
msgstr "argument van %expect is niet een integer"
|
||||||
|
|
||||||
#: src/reader.c:838
|
#: src/reader.c:844
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized item %s, expected an identifier"
|
msgid "unrecognized item %s, expected an identifier"
|
||||||
msgstr "onbekend item %s, verwacht een identifier"
|
msgstr "onbekend item %s, verwacht een identifier"
|
||||||
|
|
||||||
#: src/reader.c:862
|
#: src/reader.c:866
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "expected string constant instead of %s"
|
msgid "expected string constant instead of %s"
|
||||||
msgstr "verwacht string constante in plaats van %s"
|
msgstr "verwacht string constante in plaats van %s"
|
||||||
|
|
||||||
#: src/reader.c:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "onbekend: %s"
|
msgstr "onbekend: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
msgid "no input grammar"
|
msgid "no input grammar"
|
||||||
msgstr "geen invoer grammatica"
|
msgstr "geen invoer grammatica"
|
||||||
|
|
||||||
#: src/reader.c:1015
|
#: src/reader.c:1024
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown character: %s"
|
msgid "unknown character: %s"
|
||||||
msgstr "onbekend karakter: %s"
|
msgstr "onbekend karakter: %s"
|
||||||
|
|
||||||
#: src/reader.c:1183
|
#: src/reader.c:1192
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "unterminated %guard clause"
|
msgid "unterminated %guard clause"
|
||||||
msgstr "niet getermineerde %%guard voorwaarde"
|
msgstr "niet getermineerde %%guard voorwaarde"
|
||||||
|
|
||||||
#: src/reader.c:1350
|
#: src/reader.c:1359
|
||||||
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: initieel symbool niet gevolgd door dubbele punt"
|
"slecht geformuleerde regel: initieel symbool niet gevolgd door dubbele punt"
|
||||||
|
|
||||||
#: src/reader.c:1357
|
#: src/reader.c:1366
|
||||||
msgid "grammar starts with vertical bar"
|
msgid "grammar starts with vertical bar"
|
||||||
msgstr "grammatica start met een verticale bar"
|
msgstr "grammatica start met een verticale bar"
|
||||||
|
|
||||||
#: src/reader.c:1388
|
#: src/reader.c:1397
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "rule given for %s, which is a token"
|
msgid "rule given for %s, which is a token"
|
||||||
msgstr "regel geven voor %s, welke een teken is"
|
msgstr "regel geven voor %s, welke een teken is"
|
||||||
|
|
||||||
#: src/reader.c:1490
|
#: src/reader.c:1499
|
||||||
msgid "two @prec's in a row"
|
msgid "two @prec's in a row"
|
||||||
msgstr "twee @prec's in een regel"
|
msgstr "twee @prec's in een regel"
|
||||||
|
|
||||||
#: src/reader.c:1498
|
#: src/reader.c:1507
|
||||||
#, 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 gespecificeerd"
|
msgstr "%%guard aanwezig maar %%semantic_parser niet gespecificeerd"
|
||||||
|
|
||||||
#: src/reader.c:1507
|
#: src/reader.c:1516
|
||||||
msgid "two actions at end of one rule"
|
msgid "two actions at end of one rule"
|
||||||
msgstr "twee akties aan het einde van een regel"
|
msgstr "twee akties aan het einde van een regel"
|
||||||
|
|
||||||
#: src/reader.c:1521
|
#: src/reader.c:1530
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "type clash (`%s' `%s') on default action"
|
msgid "type clash (`%s' `%s') on default action"
|
||||||
msgstr "type clash (`%s' `%s') bij standaard aktie"
|
msgstr "type clash (`%s' `%s') bij standaard aktie"
|
||||||
|
|
||||||
#: src/reader.c:1527
|
#: src/reader.c:1536
|
||||||
msgid "empty rule for typed nonterminal, and no action"
|
msgid "empty rule for typed nonterminal, and no action"
|
||||||
msgstr "lege regel voor getypte niet terminal, en geen aktie"
|
msgstr "lege regel voor getypte niet terminal, en geen aktie"
|
||||||
|
|
||||||
#: src/reader.c:1571
|
#: src/reader.c:1580
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid input: %s"
|
msgid "invalid input: %s"
|
||||||
msgstr "ongeldige invoer: %s"
|
msgstr "ongeldige invoer: %s"
|
||||||
|
|
||||||
#: src/reader.c:1579
|
#: src/reader.c:1588
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "too many symbols (tokens plus nonterminals); maximum %d"
|
msgid "too many symbols (tokens plus nonterminals); maximum %d"
|
||||||
msgstr "te veel symbolen (tekens plus nietterminals); maximum %s"
|
msgstr "te veel symbolen (tekens plus nietterminals); maximum %s"
|
||||||
|
|
||||||
#: src/reader.c:1582
|
#: src/reader.c:1591
|
||||||
msgid "no rules in the input grammar"
|
msgid "no rules in the input grammar"
|
||||||
msgstr "geen regels voor invoer grammatica"
|
msgstr "geen regels voor invoer grammatica"
|
||||||
|
|
||||||
#: src/reader.c:1606
|
#: src/reader.c:1615
|
||||||
#, 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 is gebruikt, maar is niet gedefinieerd als een teken en\n"
|
"symbool %s is gebruikt, maar is niet gedefinieerd als een teken en\n"
|
||||||
"heeft geen regels"
|
"heeft geen regels"
|
||||||
|
|
||||||
#: src/reader.c:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "conflictuerende precedentein voor %s en %s"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "conflictuerende associatieve waarden voor %s en %s"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "tokens %s and %s both assigned number %d"
|
msgid "tokens %s and %s both assigned number %d"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/reader.c:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "conflictuerende precedentein voor %s en %s"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "conflictuerende associatieve waarden voor %s en %s"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "the start symbol %s is undefined"
|
msgid "the start symbol %s is undefined"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: src/reader.c:1784
|
#: src/reader.c:1813
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "the start symbol %s is a token"
|
msgid "the start symbol %s is a token"
|
||||||
msgstr "het start symbool %s is een token"
|
msgstr "het start symbool %s is een token"
|
||||||
@@ -719,68 +729,68 @@ msgstr ""
|
|||||||
"gereduceerd %s gedefinieerd %d terminal%s, %d nietterminal%s, en %d productie"
|
"gereduceerd %s gedefinieerd %d terminal%s, %d nietterminal%s, en %d productie"
|
||||||
"%s.\n"
|
"%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: optie `%s' is niet eenduidig\n"
|
msgstr "%s: optie `%s' is niet eenduidig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: 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: optie `--%s' staat geen argument toe\n"
|
msgstr "%s: optie `--%s' staat geen argument toe\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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: optie `%c%s' staat geen argument toe\n"
|
msgstr "%s: optie `%c%s' staat geen argument toe\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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: optie `%s' vereist een argument\n"
|
msgstr "%s: optie `%s' vereist een argument\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: ongeldige optie -- %c\n"
|
msgstr "%s: ongeldige optie -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: invalid option -- %c\n"
|
msgid "%s: invalid option -- %c\n"
|
||||||
msgstr "%s: onjuiste optie -- %c\n"
|
msgstr "%s: onjuiste optie -- %c\n"
|
||||||
|
|
||||||
#. 1003.2 specifies the format of this message.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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: optie vereist een argument -- %c\n"
|
msgstr "%s: optie vereist een argument -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: lib/getopt.c:881
|
||||||
#, fuzzy, c-format
|
#, fuzzy, c-format
|
||||||
msgid "%s: option `-W %s' is ambiguous\n"
|
msgid "%s: option `-W %s' is ambiguous\n"
|
||||||
msgstr "%s: optie `%s' is niet eenduidig\n"
|
msgstr "%s: optie `%s' is niet eenduidig\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: lib/getopt.c:899
|
||||||
#, fuzzy, c-format
|
#, fuzzy, 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: 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
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "%s: geen geheugen meer beschikbaar\n"
|
msgstr "%s: geen geheugen meer beschikbaar\n"
|
||||||
@@ -799,11 +809,11 @@ msgstr "%s: geen geheugen meer beschikbaar\n"
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.29\n"
|
"Project-Id-Version: bison 1.29\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 2001-09-09 13:49+04:00\n"
|
"PO-Revision-Date: 2001-09-09 13:49+04:00\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"
|
||||||
@@ -18,7 +18,7 @@ msgstr ""
|
|||||||
msgid "too many states (max %d)"
|
msgid "too many states (max %d)"
|
||||||
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ ÓÏÓÔÏÑÎÉÊ (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
||||||
|
|
||||||
#: lib/error.c:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ"
|
msgstr "îÅÉÚ×ÅÓÔÎÁÑ ÓÉÓÔÅÍÎÁÑ ÏÛÉÂËÁ"
|
||||||
|
|
||||||
@@ -129,27 +129,27 @@ msgstr "DERIVES"
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s ×Ù×ÏÄÉÔ"
|
msgstr "%s ×Ù×ÏÄÉÔ"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÏÔËÒÙÔØ ÆÁÊÌ `%s'"
|
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÏÔËÒÙÔØ ÆÁÊÌ `%s'"
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:162
|
||||||
msgid "cannot close file"
|
msgid "cannot close file"
|
||||||
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
|
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
|
||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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"
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþé]... æáêì\n"
|
msgstr "éÓÐÏÌØÚÏ×ÁÎÉÅ: %s [ëìàþé]... æáêì\n"
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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"
|
||||||
@@ -158,7 +158,7 @@ msgstr ""
|
|||||||
"Ñ×ÌÑÅÔÓÑ ÏÂÑÚÁÔÅÌØÎÙÍ ÄÌÑ ËÏÒÏÔËÏÊ ÆÏÒÍÙ. ôÏ ÖÅ ËÁÓÁÅÔÓÑ ÎÅÏÂÑÚÁÔÅÌØÎÙÈ\n"
|
"Ñ×ÌÑÅÔÓÑ ÏÂÑÚÁÔÅÌØÎÙÍ ÄÌÑ ËÏÒÏÔËÏÊ ÆÏÒÍÙ. ôÏ ÖÅ ËÁÓÁÅÔÓÑ ÎÅÏÂÑÚÁÔÅÌØÎÙÈ\n"
|
||||||
"ÁÒÇÕÍÅÎÔÏ×.\n"
|
"ÁÒÇÕÍÅÎÔÏ×.\n"
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -170,7 +170,7 @@ msgstr ""
|
|||||||
" -V, --version ×Ù×ÅÓÔÉ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n"
|
" -V, --version ×Ù×ÅÓÔÉ ÉÎÆÏÒÍÁÃÉÀ Ï ×ÅÒÓÉÉ É ×ÙÊÔÉ\n"
|
||||||
" -y, --yacc ÜÍÕÌÉÒÏ×ÁÔØ POSIX yacc\n"
|
" -y, --yacc ÜÍÕÌÉÒÏ×ÁÔØ POSIX yacc\n"
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -190,14 +190,15 @@ msgstr ""
|
|||||||
" -n, --no-parser ÇÅÎÅÒÉÒÏ×ÁÔØ ÔÏÌØËÏ ÔÁÂÌÉÃÙ\n"
|
" -n, --no-parser ÇÅÎÅÒÉÒÏ×ÁÔØ ÔÏÌØËÏ ÔÁÂÌÉÃÙ\n"
|
||||||
" -k, --token-table ×ËÌÀÞÉÔØ ÔÁÂÌÉÃÕ ÉÍÅÎ ÌÅËÓÅÍ\n"
|
" -k, --token-table ×ËÌÀÞÉÔØ ÔÁÂÌÉÃÕ ÉÍÅÎ ÌÅËÓÅÍ\n"
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"÷Ù×ÏÄ:\n"
|
"÷Ù×ÏÄ:\n"
|
||||||
@@ -208,24 +209,24 @@ msgstr ""
|
|||||||
" -g, --graph ÓÏÚÄÁÔØ ÔÁËÖÅ ÐÏÑÓÎÅÎÉÑ Ë Á×ÔÏÍÁÔÕ × ×ÉÄÅ \n"
|
" -g, --graph ÓÏÚÄÁÔØ ÔÁËÖÅ ÐÏÑÓÎÅÎÉÑ Ë Á×ÔÏÍÁÔÕ × ×ÉÄÅ \n"
|
||||||
"VCG-ÇÒÁÆÁ\n"
|
"VCG-ÇÒÁÆÁ\n"
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
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
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr "bison (GNU Bison) %s"
|
msgstr "bison (GNU Bison) %s"
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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"
|
||||||
@@ -236,22 +237,22 @@ msgstr ""
|
|||||||
"ðòéçïäîïóôé\n"
|
"ðòéçïäîïóôé\n"
|
||||||
"äìñ ïðòåäåìåîîïê ãåìé.\n"
|
"äìñ ïðòåäåìåîîïê ãåìé.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr "`%s' ÂÏÌØÛÅ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ"
|
msgstr "`%s' ÂÏÌØÛÅ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ"
|
||||||
|
|
||||||
#: src/getargs.c:238
|
#: src/getargs.c:239
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Try `%s --help' for more information.\n"
|
msgid "Try `%s --help' for more information.\n"
|
||||||
msgstr "éÓÐÏÌØÚÕÊÔÅ `%s --help' ÄÌÑ ÄÏÐÏÌÎÉÔÅÌØÎÏÊ ÉÎÆÏÒÍÁÃÉÉ.\n"
|
msgstr "éÓÐÏÌØÚÕÊÔÅ `%s --help' ÄÌÑ ÄÏÐÏÌÎÉÔÅÌØÎÏÊ ÉÎÆÏÒÍÁÃÉÉ.\n"
|
||||||
|
|
||||||
#: src/getargs.c:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: ÎÅ ÚÁÄÁÎ ÆÁÊÌ Ó ÇÒÁÍÍÁÔÉËÏÊ\n"
|
msgstr "%s: ÎÅ ÚÁÄÁÎ ÆÁÊÌ Ó ÇÒÁÍÍÁÔÉËÏÊ\n"
|
||||||
|
|
||||||
#: src/getargs.c:249
|
#: src/getargs.c:250
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: extra arguments ignored after `%s'\n"
|
msgid "%s: extra arguments ignored after `%s'\n"
|
||||||
msgstr "%s: ÌÉÛÎÉÅ ÁÒÇÕÍÅÎÔÙ ÐÏÓÌÅ `%s' ÉÇÎÏÒÉÒÏ×ÁÎÙ\n"
|
msgstr "%s: ÌÉÛÎÉÅ ÁÒÇÕÍÅÎÔÙ ÐÏÓÌÅ `%s' ÉÇÎÏÒÉÒÏ×ÁÎÙ\n"
|
||||||
@@ -261,50 +262,60 @@ msgstr "%s:
|
|||||||
msgid "too many gotos (max %d)"
|
msgid "too many gotos (max %d)"
|
||||||
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ goto (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
msgstr "ÓÌÉÛËÏÍ ÍÎÏÇÏ goto (ÍÁËÓÉÍÁÌØÎÏ %d)"
|
||||||
|
|
||||||
#: src/lex.c:78
|
#: src/lex.c:76
|
||||||
msgid "unexpected `/' found and ignored"
|
msgid "unexpected `/' found and ignored"
|
||||||
msgstr "×ÓÔÒÅÞÅÎ É ÐÒÏÉÇÎÏÒÉÒÏ×ÁÎ ÎÅÏÖÉÄÁÎÎÙÊ ÓÉÍ×ÏÌ `/'"
|
msgstr "×ÓÔÒÅÞÅÎ É ÐÒÏÉÇÎÏÒÉÒÏ×ÁÎ ÎÅÏÖÉÄÁÎÎÙÊ ÓÉÍ×ÏÌ `/'"
|
||||||
|
|
||||||
#: src/lex.c:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "ÎÅÚÁËÏÎÞÅÎÎÙÊ ËÏÍÍÅÎÔÁÒÉÊ"
|
msgstr "ÎÅÚÁËÏÎÞÅÎÎÙÊ ËÏÍÍÅÎÔÁÒÉÊ"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
msgid "unexpected end of file"
|
msgid "unexpected end of file"
|
||||||
msgstr "ÎÅÏÖÉÄÁÎÎÙÊ ËÏÎÅÃ ÆÁÊÌÁ"
|
msgstr "ÎÅÏÖÉÄÁÎÎÙÊ ËÏÎÅÃ ÆÁÊÌÁ"
|
||||||
|
|
||||||
#: src/lex.c:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "ÎÅÜËÒÁÎÉÒÏ×ÁÎÎÙÊ ÐÅÒÅ×ÏÄ ÓÔÒÏËÉ × ËÏÎÓÔÁÎÔÅ"
|
msgstr "ÎÅÜËÒÁÎÉÒÏ×ÁÎÎÙÊ ÐÅÒÅ×ÏÄ ÓÔÒÏËÉ × ËÏÎÓÔÁÎÔÅ"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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 "×ÏÓØÍÅÒÉÞÎÁÑ ×ÅÌÉÞÉÎÁ ÚÁ ÐÒÅÄÅÌÁÍÉ ÄÉÁÐÁÚÏÎÁ 0...255: `\\%o'"
|
msgstr "×ÏÓØÍÅÒÉÞÎÁÑ ×ÅÌÉÞÉÎÁ ÚÁ ÐÒÅÄÅÌÁÍÉ ÄÉÁÐÁÚÏÎÁ 0...255: `\\%o'"
|
||||||
|
|
||||||
#: src/lex.c:235
|
#: src/lex.c:233
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "hexadecimal value above 255: `\\x%x'"
|
msgid "hexadecimal value above 255: `\\x%x'"
|
||||||
msgstr "ÛÅÓÔÎÁÄÃÁÔÅÒÉÞÎÁÑ ×ÅÌÉÞÉÎÁ ÐÒÅ×ÙÛÁÅÔ 255: `\\x%x'"
|
msgstr "ÛÅÓÔÎÁÄÃÁÔÅÒÉÞÎÁÑ ×ÅÌÉÞÉÎÁ ÐÒÅ×ÙÛÁÅÔ 255: `\\x%x'"
|
||||||
|
|
||||||
#: src/lex.c:247
|
#: src/lex.c:245
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown escape sequence: `\\' followed by `%s'"
|
msgid "unknown escape sequence: `\\' followed by `%s'"
|
||||||
msgstr "ÎÅÉÚ×ÅÓÔÎÁÑ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ: `%s' ÐÏÓÌÅ `\\'"
|
msgstr "ÎÅÉÚ×ÅÓÔÎÁÑ escape-ÐÏÓÌÅÄÏ×ÁÔÅÌØÎÏÓÔØ: `%s' ÐÏÓÌÅ `\\'"
|
||||||
|
|
||||||
#: src/lex.c:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "ÎÅÚÁËÏÎÞÅÎÎÏÅ ÉÍÑ ÔÉÐÁ × ËÏÎÃÅ ÆÁÊÌÁ"
|
msgstr "ÎÅÚÁËÏÎÞÅÎÎÏÅ ÉÍÑ ÔÉÐÁ × ËÏÎÃÅ ÆÁÊÌÁ"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "ÎÅÚÁËÏÎÞÅÎÎÏÅ ÉÍÑ ÔÉÐÁ"
|
msgstr "ÎÅÚÁËÏÎÞÅÎÎÏÅ ÉÍÑ ÔÉÐÁ"
|
||||||
|
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "ÉÓÐÏÌØÚÕÊÔÅ \"...\" ÄÌÑ ÍÎÏÇÏÓÉÍ×ÏÌØÎÙÈ ÌÉÔÅÒÁÌØÎÙÈ ÌÅËÓÅÍ"
|
msgstr "ÉÓÐÏÌØÚÕÊÔÅ \"...\" ÄÌÑ ÍÎÏÇÏÓÉÍ×ÏÌØÎÙÈ ÌÉÔÅÒÁÌØÎÙÈ ÌÅËÓÅÍ"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: ×ÎÕÔÒÅÎÎÑÑ ÏÛÉÂËÁ: %s\n"
|
msgstr "%s: ×ÎÕÔÒÅÎÎÑÑ ÏÛÉÂËÁ: %s\n"
|
||||||
@@ -462,7 +473,7 @@ msgstr ""
|
|||||||
msgid "symbol %s redefined"
|
msgid "symbol %s redefined"
|
||||||
msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÒÅÄÅÌÅÎÉÅ ÓÉÍ×ÏÌÁ %s"
|
msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÒÅÄÅÌÅÎÉÅ ÓÉÍ×ÏÌÁ %s"
|
||||||
|
|
||||||
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "type redeclaration for %s"
|
msgid "type redeclaration for %s"
|
||||||
msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÉÓÁÎÉÅ ÔÉÐÁ ÄÌÑ %s"
|
msgstr "ÐÏ×ÔÏÒÎÏÅ ÏÐÉÓÁÎÉÅ ÔÉÐÁ ÄÌÑ %s"
|
||||||
@@ -472,12 +483,12 @@ msgstr "
|
|||||||
msgid "`%s' is invalid in %s"
|
msgid "`%s' is invalid in %s"
|
||||||
msgstr "`%s' ÎÅ×ÅÒÎÏ × %s"
|
msgstr "`%s' ÎÅ×ÅÒÎÏ × %s"
|
||||||
|
|
||||||
#: src/reader.c:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "multiple %s declarations"
|
msgid "multiple %s declarations"
|
||||||
msgstr "ÍÎÏÖÅÓÔ×ÅÎÎÏÅ ÏÐÉÓÁÎÉÅ %s"
|
msgstr "ÍÎÏÖÅÓÔ×ÅÎÎÏÅ ÏÐÉÓÁÎÉÅ %s"
|
||||||
|
|
||||||
#: src/reader.c:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid %s declaration"
|
msgid "invalid %s declaration"
|
||||||
msgstr "ÎÅ×ÅÒÎÏÅ ÏÐÉÓÁÎÉÅ %s"
|
msgstr "ÎÅ×ÅÒÎÏÅ ÏÐÉÓÁÎÉÅ %s"
|
||||||
@@ -506,121 +517,121 @@ msgstr "
|
|||||||
msgid "unexpected item: %s"
|
msgid "unexpected item: %s"
|
||||||
msgstr "ÎÅÏÖÉÄÁÎÎÙÊ ÜÌÅÍÅÎÔ: %s"
|
msgstr "ÎÅÏÖÉÄÁÎÎÙÊ ÜÌÅÍÅÎÔ: %s"
|
||||||
|
|
||||||
#: src/reader.c:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "ÎÅÐÁÒÎÁÑ %s"
|
msgstr "ÎÅÐÁÒÎÁÑ %s"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, 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:838
|
#: src/reader.c:844
|
||||||
#, 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:862
|
#: src/reader.c:866
|
||||||
#, 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:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "ÎÅÒÁÓÐÏÚÎÁÎÏ: %s"
|
msgstr "ÎÅÒÁÓÐÏÚÎÁÎÏ: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
msgid "no input grammar"
|
msgid "no input grammar"
|
||||||
msgstr "ÎÅÔ ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÉ"
|
msgstr "ÎÅÔ ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÉ"
|
||||||
|
|
||||||
#: src/reader.c:1015
|
#: src/reader.c:1024
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown character: %s"
|
msgid "unknown character: %s"
|
||||||
msgstr "ÎÅÉÚ×ÅÓÔÎÙÊ ÓÉÍ×ÏÌ: %s"
|
msgstr "ÎÅÉÚ×ÅÓÔÎÙÊ ÓÉÍ×ÏÌ: %s"
|
||||||
|
|
||||||
#: src/reader.c:1183
|
#: src/reader.c:1192
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unterminated %guard clause"
|
msgid "unterminated %guard clause"
|
||||||
msgstr "ÎÅÚÁËÏÎÞÅÎÎÙÊ ÏÐÅÒÁÔÏÒ %guard"
|
msgstr "ÎÅÚÁËÏÎÞÅÎÎÙÊ ÏÐÅÒÁÔÏÒ %guard"
|
||||||
|
|
||||||
#: src/reader.c:1350
|
#: src/reader.c:1359
|
||||||
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:1357
|
#: src/reader.c:1366
|
||||||
msgid "grammar starts with vertical bar"
|
msgid "grammar starts with vertical bar"
|
||||||
msgstr "ÇÒÁÍÍÁÔÉËÁ ÎÁÞÉÎÁÅÔÓÑ Ó ×ÅÒÔÉËÁÌØÎÏÊ ÞÅÒÔÙ"
|
msgstr "ÇÒÁÍÍÁÔÉËÁ ÎÁÞÉÎÁÅÔÓÑ Ó ×ÅÒÔÉËÁÌØÎÏÊ ÞÅÒÔÙ"
|
||||||
|
|
||||||
#: src/reader.c:1388
|
#: src/reader.c:1397
|
||||||
#, 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:1490
|
#: src/reader.c:1499
|
||||||
msgid "two @prec's in a row"
|
msgid "two @prec's in a row"
|
||||||
msgstr "Ä×Á @prec ÐÏÄÒÑÄ"
|
msgstr "Ä×Á @prec ÐÏÄÒÑÄ"
|
||||||
|
|
||||||
#: src/reader.c:1498
|
#: src/reader.c:1507
|
||||||
#, 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:1507
|
#: src/reader.c:1516
|
||||||
msgid "two actions at end of one rule"
|
msgid "two actions at end of one rule"
|
||||||
msgstr "Ä×Á ÄÅÊÓÔ×ÉÑ × ËÏÎÃÅ ÏÄÎÏÇÏ ÐÒÁ×ÉÌÁ"
|
msgstr "Ä×Á ÄÅÊÓÔ×ÉÑ × ËÏÎÃÅ ÏÄÎÏÇÏ ÐÒÁ×ÉÌÁ"
|
||||||
|
|
||||||
#: src/reader.c:1521
|
#: src/reader.c:1530
|
||||||
#, 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:1527
|
#: src/reader.c:1536
|
||||||
msgid "empty rule for typed nonterminal, and no action"
|
msgid "empty rule for typed nonterminal, and no action"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"ÐÕÓÔÏÅ ÐÒÁ×ÉÌÏ ÄÌÑ ÔÉÐÉÚÉÒÏ×ÁÎÎÏÇÏ ÎÅÔÅÒÍÉÎÁÌØÎÏÇÏ ÓÉÍ×ÏÌÁ, É ÎÅÔ ÄÅÊÓÔ×ÉÑ"
|
"ÐÕÓÔÏÅ ÐÒÁ×ÉÌÏ ÄÌÑ ÔÉÐÉÚÉÒÏ×ÁÎÎÏÇÏ ÎÅÔÅÒÍÉÎÁÌØÎÏÇÏ ÓÉÍ×ÏÌÁ, É ÎÅÔ ÄÅÊÓÔ×ÉÑ"
|
||||||
|
|
||||||
#: src/reader.c:1571
|
#: src/reader.c:1580
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid input: %s"
|
msgid "invalid input: %s"
|
||||||
msgstr "ÎÅ×ÅÒÎÙÅ ×ÈÏÄÎÙÅ ÄÁÎÎÙÅ: %s"
|
msgstr "ÎÅ×ÅÒÎÙÅ ×ÈÏÄÎÙÅ ÄÁÎÎÙÅ: %s"
|
||||||
|
|
||||||
#: src/reader.c:1579
|
#: src/reader.c:1588
|
||||||
#, 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:1582
|
#: src/reader.c:1591
|
||||||
msgid "no rules in the input grammar"
|
msgid "no rules in the input grammar"
|
||||||
msgstr "ÏÔÓÕÔÓÔ×ÕÀÔ ÐÒÁ×ÉÌÁ ×Ï ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÅ"
|
msgstr "ÏÔÓÕÔÓÔ×ÕÀÔ ÐÒÁ×ÉÌÁ ×Ï ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÅ"
|
||||||
|
|
||||||
#: src/reader.c:1606
|
#: src/reader.c:1615
|
||||||
#, 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:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÐÒÉÏÒÉÔÅÔÙ ÄÌÑ %s É %s"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÚÎÁÞÅÎÉÑ ÁÓÓÏÃÉÁÔÉ×ÎÏÓÔÉ ÄÌÑ %s É %s"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, 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:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÐÒÉÏÒÉÔÅÔÙ ÄÌÑ %s É %s"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÚÎÁÞÅÎÉÑ ÁÓÓÏÃÉÁÔÉ×ÎÏÓÔÉ ÄÌÑ %s É %s"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, 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:1784
|
#: src/reader.c:1813
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "the start symbol %s is a token"
|
msgid "the start symbol %s is a token"
|
||||||
msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ"
|
msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ"
|
||||||
@@ -708,68 +719,68 @@ msgstr ""
|
|||||||
"×Ù×ÅÄÅÎÎÙÊ %s ÏÐÒÅÄÅÌÑÅÔ %d ÔÅÒÍÉÎÁÌÏ×%s, %d ÎÅÔÅÒÍÉÎÁÌÏ×%s, É %d ÐÒÁ×ÉÌ "
|
"×Ù×ÅÄÅÎÎÙÊ %s ÏÐÒÅÄÅÌÑÅÔ %d ÔÅÒÍÉÎÁÌÏ×%s, %d ÎÅÔÅÒÍÉÎÁÌÏ×%s, É %d ÐÒÁ×ÉÌ "
|
||||||
"×Ù×ÏÄÁ%s.\n"
|
"×Ù×ÏÄÁ%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `%s'\n"
|
msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `%s'\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: 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: ËÌÀÞ `--%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
msgstr "%s: ËÌÀÞ `--%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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: ËÌÀÞ `%c%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
msgstr "%s: ËÌÀÞ `%c%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
|
msgstr "%s: ËÌÀÞ `%s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ\n"
|
||||||
|
|
||||||
#. --option
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÙÊ ËÌÀÞ -- %c\n"
|
msgstr "%s: ÎÅÄÏÐÕÓÔÉÍÙÊ ËÌÀÞ -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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: ËÌÀÞ ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ -- %c\n"
|
msgstr "%s: ËÌÀÞ ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ Ó ÁÒÇÕÍÅÎÔÏÍ -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: 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: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `-W %s'\n"
|
msgstr "%s: ÎÅÏÄÎÏÚÎÁÞÎÙÊ ËÌÀÞ `-W %s'\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: 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: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
msgstr "%s: ËÌÀÞ `-W %s' ÄÏÌÖÅÎ ÉÓÐÏÌØÚÏ×ÁÔØÓÑ ÂÅÚ ÁÒÇÕÍÅÎÔÁ\n"
|
||||||
|
|
||||||
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 lib/xmalloc.c:66
|
#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66
|
||||||
msgid "memory exhausted"
|
msgid "memory exhausted"
|
||||||
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
msgstr "ÐÁÍÑÔØ ÉÓÞÅÒÐÁÎÁ"
|
||||||
|
|
||||||
@@ -787,11 +798,11 @@ msgstr "
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: bison 1.28c\n"
|
"Project-Id-Version: bison 1.28c\n"
|
||||||
"POT-Creation-Date: 2001-09-27 10:55+0200\n"
|
"POT-Creation-Date: 2001-11-05 11:08+0100\n"
|
||||||
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
"PO-Revision-Date: 2001-09-10 10:54GMT\n"
|
||||||
"Last-Translator: Altug Bayram <[email protected]>\n"
|
"Last-Translator: Altug Bayram <[email protected]>\n"
|
||||||
"Language-Team: Turkish <[email protected]>\n"
|
"Language-Team: Turkish <[email protected]>\n"
|
||||||
@@ -19,7 +19,7 @@ msgstr ""
|
|||||||
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:117 src/complain.c:96
|
#: lib/error.c:128 lib/error.c:156 src/complain.c:96
|
||||||
msgid "Unknown system error"
|
msgid "Unknown system error"
|
||||||
msgstr "Bilinmeyen sistem hatasý"
|
msgstr "Bilinmeyen sistem hatasý"
|
||||||
|
|
||||||
@@ -131,27 +131,27 @@ msgstr "T
|
|||||||
msgid "%s derives"
|
msgid "%s derives"
|
||||||
msgstr "%s türetildi"
|
msgstr "%s türetildi"
|
||||||
|
|
||||||
#: src/files.c:136
|
#: src/files.c:143
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "cannot open file `%s'"
|
msgid "cannot open file `%s'"
|
||||||
msgstr "`%s' dosyasý açýlamadý"
|
msgstr "`%s' dosyasý açýlamadý"
|
||||||
|
|
||||||
#: src/files.c:155
|
#: src/files.c:162
|
||||||
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
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:83
|
#: 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"
|
||||||
|
|
||||||
#: src/getargs.c:87
|
#: src/getargs.c:88
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Usage: %s [OPTION]... FILE\n"
|
msgid "Usage: %s [OPTION]... FILE\n"
|
||||||
msgstr "Kullaným: %s [SEÇENEK]... DOSYA\n"
|
msgstr "Kullaným: %s [SEÇENEK]... DOSYA\n"
|
||||||
|
|
||||||
#: src/getargs.c:91
|
#: 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"
|
||||||
@@ -160,7 +160,7 @@ msgstr ""
|
|||||||
"kýsa seçenek için de geçerlidir. Bu durum, seçimli argümanlar için de\n"
|
"kýsa seçenek için de geçerlidir. Bu durum, seçimli argümanlar için de\n"
|
||||||
"geçerlidir.\n"
|
"geçerlidir.\n"
|
||||||
|
|
||||||
#: src/getargs.c:97
|
#: src/getargs.c:98
|
||||||
msgid ""
|
msgid ""
|
||||||
"Operation modes:\n"
|
"Operation modes:\n"
|
||||||
" -h, --help display this help and exit\n"
|
" -h, --help display this help and exit\n"
|
||||||
@@ -172,7 +172,7 @@ msgstr ""
|
|||||||
" -V, --version sürüm bilgisini ver ve çýk\n"
|
" -V, --version sürüm bilgisini ver ve çýk\n"
|
||||||
" -y, --yacc POSIX yacc öykünmesi\n"
|
" -y, --yacc POSIX yacc öykünmesi\n"
|
||||||
|
|
||||||
#: src/getargs.c:104
|
#: src/getargs.c:105
|
||||||
msgid ""
|
msgid ""
|
||||||
"Parser:\n"
|
"Parser:\n"
|
||||||
" -S, --skeleton=FILE specify the skeleton to use\n"
|
" -S, --skeleton=FILE specify the skeleton to use\n"
|
||||||
@@ -192,15 +192,15 @@ msgstr ""
|
|||||||
" -n, --no-parser sadece tablolarý üretir\n"
|
" -n, --no-parser sadece tablolarý üretir\n"
|
||||||
" -k, --token-table andaç isimlerinin bir tablosunu içerir\n"
|
" -k, --token-table andaç isimlerinin bir tablosunu içerir\n"
|
||||||
|
|
||||||
#: src/getargs.c:116
|
#: src/getargs.c:117
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgid ""
|
msgid ""
|
||||||
"Output:\n"
|
"Output:\n"
|
||||||
" -d, --defines also produce a header file\n"
|
" -d, --defines also produce a header file\n"
|
||||||
" -v, --verbose also produce an explanation of the automaton\n"
|
" -v, --verbose also produce an explanation of the automaton\n"
|
||||||
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
" -b, --file-prefix=PREFIX specify a PREFIX for output files\n"
|
||||||
" -o, --output-file=FILE leave output to FILE\n"
|
" -o, --output=FILE leave output to FILE\n"
|
||||||
" -g, --graph also produce a VCG graph description of the "
|
" -g, --graph also produce a VCG description of the "
|
||||||
"automaton\n"
|
"automaton\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Çýktý:\n"
|
"Çýktý:\n"
|
||||||
@@ -209,7 +209,7 @@ msgstr ""
|
|||||||
" -b, --file-prefix=ÖNEK çýktý dosyalarý için bir ÖNEK belirtir\n"
|
" -b, --file-prefix=ÖNEK çýktý dosyalarý için bir ÖNEK belirtir\n"
|
||||||
" -o, --output-file=DOSYA çýktýyý DOSYAYA býrakýr\n"
|
" -o, --output-file=DOSYA çýktýyý DOSYAYA býrakýr\n"
|
||||||
|
|
||||||
#: src/getargs.c:126
|
#: src/getargs.c:127
|
||||||
msgid "Report bugs to <[email protected]>.\n"
|
msgid "Report bugs to <[email protected]>.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Hatalarý <[email protected]>'a,\n"
|
"Hatalarý <[email protected]>'a,\n"
|
||||||
@@ -217,19 +217,19 @@ msgstr ""
|
|||||||
|
|
||||||
#. Some efforts were made to ease the translators' task, please
|
#. Some efforts were made to ease the translators' task, please
|
||||||
#. continue.
|
#. continue.
|
||||||
#: src/getargs.c:140
|
#: src/getargs.c:141
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "bison (GNU Bison) %s"
|
msgid "bison (GNU Bison) %s"
|
||||||
msgstr "bison (GNU Bison) %s"
|
msgstr "bison (GNU Bison) %s"
|
||||||
|
|
||||||
#: src/getargs.c:145
|
#: src/getargs.c:146
|
||||||
msgid ""
|
msgid ""
|
||||||
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Telifhakký 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, "
|
"Telifhakký 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, "
|
||||||
"Inc.\n"
|
"Inc.\n"
|
||||||
|
|
||||||
#: src/getargs.c:149
|
#: src/getargs.c:150
|
||||||
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"
|
||||||
@@ -238,22 +238,22 @@ msgstr ""
|
|||||||
"Hiçbir garantisi yoktur; hatta SATILABÝLÝRLÝÐÝ veya HERHANGÝ BÝR AMACA\n"
|
"Hiçbir garantisi yoktur; hatta SATILABÝLÝRLÝÐÝ veya HERHANGÝ BÝR AMACA\n"
|
||||||
"UYGUNLUÐU için bile garanti verilmez.\n"
|
"UYGUNLUÐU için bile garanti verilmez.\n"
|
||||||
|
|
||||||
#: src/getargs.c:214 src/lex.c:639
|
#: src/getargs.c:215 src/lex.c:693
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "`%s' is no longer supported"
|
msgid "`%s' is no longer supported"
|
||||||
msgstr "`%s' artýk desteklenmiyor"
|
msgstr "`%s' artýk desteklenmiyor"
|
||||||
|
|
||||||
#: src/getargs.c:238
|
#: src/getargs.c:239
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Try `%s --help' for more information.\n"
|
msgid "Try `%s --help' for more information.\n"
|
||||||
msgstr "Daha fazla bilgi için `%s --help' yazýn.\n"
|
msgstr "Daha fazla bilgi için `%s --help' yazýn.\n"
|
||||||
|
|
||||||
#: src/getargs.c:245
|
#: src/getargs.c:246
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: no grammar file given\n"
|
msgid "%s: no grammar file given\n"
|
||||||
msgstr "%s: gramer dosyasý verilmemiþ\n"
|
msgstr "%s: gramer dosyasý verilmemiþ\n"
|
||||||
|
|
||||||
#: src/getargs.c:249
|
#: src/getargs.c:250
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: extra arguments ignored after `%s'\n"
|
msgid "%s: extra arguments ignored after `%s'\n"
|
||||||
msgstr "%s: '%s' den sonraki argümanlar yoksayýldý\n"
|
msgstr "%s: '%s' den sonraki argümanlar yoksayýldý\n"
|
||||||
@@ -263,50 +263,60 @@ msgstr "%s: '%s' den sonraki arg
|
|||||||
msgid "too many gotos (max %d)"
|
msgid "too many gotos (max %d)"
|
||||||
msgstr "gotos çok fazla (en fazla %d)"
|
msgstr "gotos çok fazla (en fazla %d)"
|
||||||
|
|
||||||
#: src/lex.c:78
|
#: src/lex.c:76
|
||||||
msgid "unexpected `/' found and ignored"
|
msgid "unexpected `/' found and ignored"
|
||||||
msgstr "beklenmeyen `/' bulundu ve yoksayýldý"
|
msgstr "beklenmeyen `/' bulundu ve yoksayýldý"
|
||||||
|
|
||||||
#: src/lex.c:107 src/reader.c:269
|
#: src/lex.c:105 src/reader.c:269
|
||||||
msgid "unterminated comment"
|
msgid "unterminated comment"
|
||||||
msgstr "sonlandýrýlmamýþ açýklama"
|
msgstr "sonlandýrýlmamýþ açýklama"
|
||||||
|
|
||||||
#: src/lex.c:139
|
#: src/lex.c:137
|
||||||
msgid "unexpected end of file"
|
msgid "unexpected end of file"
|
||||||
msgstr "beklenmeyen dosya sonu"
|
msgstr "beklenmeyen dosya sonu"
|
||||||
|
|
||||||
#: src/lex.c:168
|
#: src/lex.c:166
|
||||||
msgid "unescaped newline in constant"
|
msgid "unescaped newline in constant"
|
||||||
msgstr "sabit içinde kaçýþsýz yeni satýr"
|
msgstr "sabit içinde kaçýþsýz yeni satýr"
|
||||||
|
|
||||||
#: src/lex.c:210
|
#: 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 "sekizli deðer 0...255'in dýþýnda: `\\%o'"
|
msgstr "sekizli deðer 0...255'in dýþýnda: `\\%o'"
|
||||||
|
|
||||||
#: src/lex.c:235
|
#: src/lex.c:233
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "hexadecimal value above 255: `\\x%x'"
|
msgid "hexadecimal value above 255: `\\x%x'"
|
||||||
msgstr "onaltýlýk deðer 255'in üstünde: `\\x%x'"
|
msgstr "onaltýlýk deðer 255'in üstünde: `\\x%x'"
|
||||||
|
|
||||||
#: src/lex.c:247
|
#: src/lex.c:245
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown escape sequence: `\\' followed by `%s'"
|
msgid "unknown escape sequence: `\\' followed by `%s'"
|
||||||
msgstr "bilinmeyen kaçýþ sýrasý: `\\' `%s' tarafýndan takip edildi"
|
msgstr "bilinmeyen kaçýþ sýrasý: `\\' `%s' tarafýndan takip edildi"
|
||||||
|
|
||||||
#: src/lex.c:343
|
#: src/lex.c:342
|
||||||
msgid "unterminated type name at end of file"
|
msgid "unterminated type name at end of file"
|
||||||
msgstr "dosya sonunda sonlandýrýlmamýþ tip adý"
|
msgstr "dosya sonunda sonlandýrýlmamýþ tip adý"
|
||||||
|
|
||||||
#: src/lex.c:346
|
#: src/lex.c:345
|
||||||
msgid "unterminated type name"
|
msgid "unterminated type name"
|
||||||
msgstr "sonlandýrýlmamýþ tip ismi"
|
msgstr "sonlandýrýlmamýþ tip ismi"
|
||||||
|
|
||||||
#: src/lex.c:437
|
#: src/lex.c:438
|
||||||
msgid "use \"...\" for multi-character literal tokens"
|
msgid "use \"...\" for multi-character literal tokens"
|
||||||
msgstr "çok-karakterli yazýn andaçlarý için \"...\" kullan"
|
msgstr "çok-karakterli yazýn andaçlarý için \"...\" kullan"
|
||||||
|
|
||||||
#: src/main.c:124
|
#: src/lex.c:666
|
||||||
|
#, c-format
|
||||||
|
msgid "`%s' supports no argument: %s"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: src/lex.c:682
|
||||||
|
#, fuzzy, c-format
|
||||||
|
msgid "`%s' requires an argument"
|
||||||
|
msgstr "%s: `%s' seçeneði bir argümanla kullanýlýr\n"
|
||||||
|
|
||||||
|
#: src/main.c:125
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: internal error: %s\n"
|
msgid "%s: internal error: %s\n"
|
||||||
msgstr "%s: iç hata: %s\n"
|
msgstr "%s: iç hata: %s\n"
|
||||||
@@ -464,7 +474,7 @@ msgstr "`%s' simgesine birden fazla sabit dizge verilmi
|
|||||||
msgid "symbol %s redefined"
|
msgid "symbol %s redefined"
|
||||||
msgstr "%s simgesi yeniden tanýmlandý"
|
msgstr "%s simgesi yeniden tanýmlandý"
|
||||||
|
|
||||||
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1285
|
#: src/reader.c:532 src/reader.c:610 src/reader.c:671 src/reader.c:1294
|
||||||
#, 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"
|
||||||
@@ -474,12 +484,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:558 src/reader.c:717
|
#: src/reader.c:558 src/reader.c:723
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "multiple %s declarations"
|
msgid "multiple %s declarations"
|
||||||
msgstr "çoklu %s bildirimleri"
|
msgstr "çoklu %s bildirimleri"
|
||||||
|
|
||||||
#: src/reader.c:560 src/reader.c:897 src/reader.c:922 src/reader.c:1263
|
#: src/reader.c:560 src/reader.c:902 src/reader.c:927 src/reader.c:1272
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "invalid %s declaration"
|
msgid "invalid %s declaration"
|
||||||
msgstr "geçersiz %s bildirimi"
|
msgstr "geçersiz %s bildirimi"
|
||||||
@@ -508,121 +518,121 @@ msgstr "ge
|
|||||||
msgid "unexpected item: %s"
|
msgid "unexpected item: %s"
|
||||||
msgstr "beklenmeyen öðe: %s"
|
msgstr "beklenmeyen öðe: %s"
|
||||||
|
|
||||||
#: src/reader.c:760 src/reader.c:1089 src/reader.c:1160
|
#: src/reader.c:766 src/reader.c:1098 src/reader.c:1169
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unmatched %s"
|
msgid "unmatched %s"
|
||||||
msgstr "eþlenemeyen %s"
|
msgstr "eþlenemeyen %s"
|
||||||
|
|
||||||
#: src/reader.c:792
|
#: src/reader.c:798
|
||||||
#, 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ðil"
|
msgstr "%%expect'in argümaný bir tamsayý deðil"
|
||||||
|
|
||||||
#: src/reader.c:838
|
#: src/reader.c:844
|
||||||
#, 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:862
|
#: src/reader.c:866
|
||||||
#, 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:1005
|
#: src/reader.c:1014
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unrecognized: %s"
|
msgid "unrecognized: %s"
|
||||||
msgstr "tanýnmayan: %s"
|
msgstr "tanýnmayan: %s"
|
||||||
|
|
||||||
#: src/reader.c:1010
|
#: src/reader.c:1019
|
||||||
msgid "no input grammar"
|
msgid "no input grammar"
|
||||||
msgstr "girdi grameri yok"
|
msgstr "girdi grameri yok"
|
||||||
|
|
||||||
#: src/reader.c:1015
|
#: src/reader.c:1024
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "unknown character: %s"
|
msgid "unknown character: %s"
|
||||||
msgstr "bilinmeyen karakter: %s"
|
msgstr "bilinmeyen karakter: %s"
|
||||||
|
|
||||||
#: src/reader.c:1183
|
#: src/reader.c:1192
|
||||||
#, 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:1350
|
#: src/reader.c:1359
|
||||||
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:1357
|
#: src/reader.c:1366
|
||||||
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:1388
|
#: src/reader.c:1397
|
||||||
#, 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:1490
|
#: src/reader.c:1499
|
||||||
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:1498
|
#: src/reader.c:1507
|
||||||
#, 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:1507
|
#: src/reader.c:1516
|
||||||
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:1521
|
#: src/reader.c:1530
|
||||||
#, 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:1527
|
#: src/reader.c:1536
|
||||||
msgid "empty rule for typed nonterminal, and no action"
|
msgid "empty rule for typed nonterminal, and no action"
|
||||||
msgstr "Tipli deðiþken simge için boþ kural tanýmlanmýþ, ve eylembelirtilmemiþ"
|
msgstr "Tipli deðiþken simge için boþ kural tanýmlanmýþ, ve eylembelirtilmemiþ"
|
||||||
|
|
||||||
#: src/reader.c:1571
|
#: src/reader.c:1580
|
||||||
#, 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:1579
|
#: src/reader.c:1588
|
||||||
#, 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:1582
|
#: src/reader.c:1591
|
||||||
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:1606
|
#: src/reader.c:1615
|
||||||
#, 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ý vekurallarý yok"
|
"simge %s kullanýldý, fakat bir andaç olarak tanýmlanmadý vekurallarý yok"
|
||||||
|
|
||||||
#: src/reader.c:1712
|
#: src/reader.c:1707
|
||||||
#, c-format
|
|
||||||
msgid "conflicting precedences for %s and %s"
|
|
||||||
msgstr "%s ve %s için çeliþen öncelikler"
|
|
||||||
|
|
||||||
#: src/reader.c:1724
|
|
||||||
#, c-format
|
|
||||||
msgid "conflicting assoc values for %s and %s"
|
|
||||||
msgstr "%s ve %s için çeliþen birleþmeli deðerler"
|
|
||||||
|
|
||||||
#: src/reader.c:1770
|
|
||||||
#, 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:1782
|
#: src/reader.c:1760
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting precedences for %s and %s"
|
||||||
|
msgstr "%s ve %s için çeliþen öncelikler"
|
||||||
|
|
||||||
|
#: src/reader.c:1772
|
||||||
|
#, c-format
|
||||||
|
msgid "conflicting assoc values for %s and %s"
|
||||||
|
msgstr "%s ve %s için çeliþen birleþmeli deðerler"
|
||||||
|
|
||||||
|
#: src/reader.c:1811
|
||||||
#, 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:1784
|
#: src/reader.c:1813
|
||||||
#, 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"
|
||||||
@@ -710,68 +720,68 @@ msgstr ""
|
|||||||
"indirgenen %s tanýmlanan %d sabit simge%s, %d deðiþken simge%s, ve %düretilen"
|
"indirgenen %s tanýmlanan %d sabit simge%s, %d deðiþken simge%s, ve %düretilen"
|
||||||
"%s.\n"
|
"%s.\n"
|
||||||
|
|
||||||
#: lib/getopt.c:675
|
#: lib/getopt.c:694
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: option `%s' is ambiguous\n"
|
msgid "%s: option `%s' is ambiguous\n"
|
||||||
msgstr "%s: `%s' seçeneði belirsiz\n"
|
msgstr "%s: `%s' seçeneði belirsiz\n"
|
||||||
|
|
||||||
#: lib/getopt.c:700
|
#: 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: `--%s' seçeneði argümansýz kullanýlýr\n"
|
msgstr "%s: `--%s' seçeneði argümansýz kullanýlýr\n"
|
||||||
|
|
||||||
#: lib/getopt.c:705
|
#: 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: seçenek `%c%s' argümansýz kullanýlýr\n"
|
msgstr "%s: seçenek `%c%s' argümansýz kullanýlýr\n"
|
||||||
|
|
||||||
#: lib/getopt.c:723 lib/getopt.c:896
|
#: 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: `%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
|
#. --option
|
||||||
#: lib/getopt.c:752
|
#: 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
|
#. +option or -option
|
||||||
#: lib/getopt.c:756
|
#: 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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:782
|
#: lib/getopt.c:801
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "%s: illegal option -- %c\n"
|
msgid "%s: illegal option -- %c\n"
|
||||||
msgstr "%s: kuraldýþý seçenek -- %c\n"
|
msgstr "%s: kuraldýþý seçenek -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:785
|
#: lib/getopt.c:804
|
||||||
#, c-format
|
#, c-format
|
||||||
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.
|
#. 1003.2 specifies the format of this message.
|
||||||
#: lib/getopt.c:815 lib/getopt.c:945
|
#: 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: seçenek bir argümanla kullanýlýr -- %c\n"
|
msgstr "%s: seçenek bir argümanla kullanýlýr -- %c\n"
|
||||||
|
|
||||||
#: lib/getopt.c:862
|
#: 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: `-W %s' seçeneði belirsiz\n"
|
msgstr "%s: `-W %s' seçeneði belirsiz\n"
|
||||||
|
|
||||||
#: lib/getopt.c:880
|
#: 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: `-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
|
#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message
|
||||||
#. before exiting when memory is exhausted. Goes through gettext.
|
#. before exiting when memory is exhausted. Goes through gettext.
|
||||||
#: lib/obstack.c:477 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"
|
||||||
|
|
||||||
@@ -789,11 +799,11 @@ msgstr "bellek t
|
|||||||
#. MARK). A British English Unicode locale should instead
|
#. MARK). A British English Unicode locale should instead
|
||||||
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and
|
||||||
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively.
|
||||||
#: lib/quotearg.c:259
|
#: lib/quotearg.c:268
|
||||||
msgid "`"
|
msgid "`"
|
||||||
msgstr "`"
|
msgstr "`"
|
||||||
|
|
||||||
#: lib/quotearg.c:260
|
#: lib/quotearg.c:269
|
||||||
msgid "'"
|
msgid "'"
|
||||||
msgstr "'"
|
msgstr "'"
|
||||||
|
|
||||||
|
|||||||
+12
-9
@@ -1,4 +1,5 @@
|
|||||||
# Makefile.in generated automatically by automake 1.5 from Makefile.am.
|
# Makefile.in generated by automake 1.5a from Makefile.am.
|
||||||
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||||
# Free Software Foundation, Inc.
|
# Free Software Foundation, Inc.
|
||||||
@@ -43,6 +44,7 @@ AUTOCONF = @AUTOCONF@
|
|||||||
AUTOMAKE = @AUTOMAKE@
|
AUTOMAKE = @AUTOMAKE@
|
||||||
AUTOHEADER = @AUTOHEADER@
|
AUTOHEADER = @AUTOHEADER@
|
||||||
|
|
||||||
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
||||||
INSTALL = @INSTALL@
|
INSTALL = @INSTALL@
|
||||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||||
INSTALL_DATA = @INSTALL_DATA@
|
INSTALL_DATA = @INSTALL_DATA@
|
||||||
@@ -57,7 +59,12 @@ PRE_UNINSTALL = :
|
|||||||
POST_UNINSTALL = :
|
POST_UNINSTALL = :
|
||||||
host_alias = @host_alias@
|
host_alias = @host_alias@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
|
|
||||||
|
EXEEXT = @EXEEXT@
|
||||||
|
OBJEXT = @OBJEXT@
|
||||||
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
||||||
AMTAR = @AMTAR@
|
AMTAR = @AMTAR@
|
||||||
|
AUTOM4TE = @AUTOM4TE@
|
||||||
AWK = @AWK@
|
AWK = @AWK@
|
||||||
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
|
||||||
CATALOGS = @CATALOGS@
|
CATALOGS = @CATALOGS@
|
||||||
@@ -66,7 +73,7 @@ CC = @CC@
|
|||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
DATADIRNAME = @DATADIRNAME@
|
DATADIRNAME = @DATADIRNAME@
|
||||||
DEPDIR = @DEPDIR@
|
DEPDIR = @DEPDIR@
|
||||||
EXEEXT = @EXEEXT@
|
GCC = @GCC@
|
||||||
GENCAT = @GENCAT@
|
GENCAT = @GENCAT@
|
||||||
GLIBC21 = @GLIBC21@
|
GLIBC21 = @GLIBC21@
|
||||||
GMOFILES = @GMOFILES@
|
GMOFILES = @GMOFILES@
|
||||||
@@ -79,10 +86,8 @@ INTLOBJS = @INTLOBJS@
|
|||||||
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
|
||||||
LIBICONV = @LIBICONV@
|
LIBICONV = @LIBICONV@
|
||||||
LIBOBJS = @LIBOBJS@
|
LIBOBJS = @LIBOBJS@
|
||||||
M4 = @M4@
|
|
||||||
MKINSTALLDIRS = @MKINSTALLDIRS@
|
MKINSTALLDIRS = @MKINSTALLDIRS@
|
||||||
MSGFMT = @MSGFMT@
|
MSGFMT = @MSGFMT@
|
||||||
OBJEXT = @OBJEXT@
|
|
||||||
PACKAGE = @PACKAGE@
|
PACKAGE = @PACKAGE@
|
||||||
POFILES = @POFILES@
|
POFILES = @POFILES@
|
||||||
POSUB = @POSUB@
|
POSUB = @POSUB@
|
||||||
@@ -183,9 +188,7 @@ $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|||||||
cd $(top_srcdir) && \
|
cd $(top_srcdir) && \
|
||||||
$(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) && \
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
||||||
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
||||||
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
|
|
||||||
install-binPROGRAMS: $(bin_PROGRAMS)
|
install-binPROGRAMS: $(bin_PROGRAMS)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||||
@@ -224,7 +227,7 @@ ANSI2KNR = ../lib/ansi2knr
|
|||||||
cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
cd ../lib && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
|
||||||
|
|
||||||
mostlyclean-kr:
|
mostlyclean-kr:
|
||||||
-rm -f *_.c
|
-test "$U" = "" || rm -f *_.c
|
||||||
|
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/LR0$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/LR0$U.Po@am__quote@
|
||||||
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/closure$U.Po@am__quote@
|
@AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/closure$U.Po@am__quote@
|
||||||
@@ -356,7 +359,7 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|||||||
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
|
||||||
|
|
||||||
GTAGS:
|
GTAGS:
|
||||||
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
||||||
&& cd $(top_srcdir) \
|
&& cd $(top_srcdir) \
|
||||||
&& gtags -i $(GTAGS_ARGS) $$here
|
&& gtags -i $(GTAGS_ARGS) $$here
|
||||||
|
|
||||||
|
|||||||
+6
-2
@@ -72,6 +72,10 @@
|
|||||||
# endif /* alloca not defined */
|
# endif /* alloca not defined */
|
||||||
#endif /* YYSTACK_USE_ALLOCA not defined */
|
#endif /* YYSTACK_USE_ALLOCA not defined */
|
||||||
|
|
||||||
|
#ifndef YYSTACK_USE_ALLOCA
|
||||||
|
# define YYSTACK_USE_ALLOCA 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#if YYSTACK_USE_ALLOCA
|
#if YYSTACK_USE_ALLOCA
|
||||||
# define YYSTACK_ALLOC alloca
|
# define YYSTACK_ALLOC alloca
|
||||||
#else
|
#else
|
||||||
@@ -358,7 +362,7 @@ yyparse (YYPARSE_PARAM_ARG)
|
|||||||
have just been pushed. so pushing a state here evens the stacks.
|
have just been pushed. so pushing a state here evens the stacks.
|
||||||
*/
|
*/
|
||||||
yyssp++;
|
yyssp++;
|
||||||
|
|
||||||
yysetstate:
|
yysetstate:
|
||||||
*yyssp = yystate;
|
*yyssp = yystate;
|
||||||
|
|
||||||
@@ -416,7 +420,7 @@ yyparse (YYPARSE_PARAM_ARG)
|
|||||||
yystacksize *= 2;
|
yystacksize *= 2;
|
||||||
if (yystacksize > YYMAXDEPTH)
|
if (yystacksize > YYMAXDEPTH)
|
||||||
yystacksize = YYMAXDEPTH;
|
yystacksize = YYMAXDEPTH;
|
||||||
# ifndef YYSTACK_USE_ALLOCA
|
# if !YYSTACK_USE_ALLOCA
|
||||||
yyfree_stacks = 1;
|
yyfree_stacks = 1;
|
||||||
# endif
|
# endif
|
||||||
yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
|
yyss = (short *) YYSTACK_ALLOC (yystacksize * sizeof (*yyssp));
|
||||||
|
|||||||
+59
-27
@@ -86,37 +86,44 @@ stringappend (const char *string1, const char *string2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------.
|
/*-----------------------------------------------------------------.
|
||||||
| Computes the macro name used to avoid double inclusion in the |
|
| Computes the macro name used to avoid double inclusion in the |
|
||||||
| header of the parser and store it in header_macro_name. |
|
| header of the parser and store it in header_macro_name. Be sure |
|
||||||
`---------------------------------------------------------------*/
|
| to produce valid CPP names (don't start with digit, remain |
|
||||||
|
| alphanumerical + underscore). |
|
||||||
|
`-----------------------------------------------------------------*/
|
||||||
|
|
||||||
static char *
|
static char *
|
||||||
compute_header_macro (void)
|
compute_header_macro (void)
|
||||||
{
|
{
|
||||||
int ite;
|
const char *prefix = "BISON_";
|
||||||
char *macro_name;
|
char *macro_name, *cp;
|
||||||
|
|
||||||
if (spec_defines_file)
|
if (spec_defines_file)
|
||||||
macro_name = xstrdup (spec_defines_file);
|
{
|
||||||
|
macro_name = XMALLOC (char,
|
||||||
|
strlen (prefix) +
|
||||||
|
strlen (spec_defines_file) + 1);
|
||||||
|
cp = stpcpy (macro_name, prefix);
|
||||||
|
cp = stpcpy (cp, spec_defines_file);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
macro_name = XMALLOC (char,
|
macro_name = XMALLOC (char,
|
||||||
|
strlen (prefix) +
|
||||||
strlen (base_name) +
|
strlen (base_name) +
|
||||||
strlen (header_extension) + 1);
|
strlen (header_extension) + 1);
|
||||||
|
cp = stpcpy (macro_name, prefix);
|
||||||
stpcpy (macro_name, base_name);
|
cp = stpcpy (cp, base_name);
|
||||||
strcat (macro_name, header_extension);
|
cp = stpcpy (cp, header_extension);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (ite = 0; macro_name[ite]; ite++)
|
for (cp = macro_name; *cp; ++cp)
|
||||||
if (macro_name[ite] == '.')
|
if (islower (*cp))
|
||||||
macro_name[ite] = '_';
|
*cp = toupper (*cp);
|
||||||
else
|
else if (!isalnum (*cp))
|
||||||
{
|
*cp = '_';
|
||||||
if (islower (macro_name[ite]))
|
|
||||||
macro_name[ite] -= ('a' - 'A');
|
|
||||||
}
|
|
||||||
return macro_name;
|
return macro_name;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,17 +207,42 @@ skeleton_find (const char *envvar, const char *skeleton_name)
|
|||||||
{
|
{
|
||||||
const char *res = getenv (envvar);
|
const char *res = getenv (envvar);
|
||||||
|
|
||||||
#ifdef MSDOS
|
#if defined (MSDOS) || defined (_WIN32)
|
||||||
const char *cp;
|
if (!res)
|
||||||
|
|
||||||
/* File doesn't exist in current directory; try in INIT directory. */
|
|
||||||
if (!res && (cp = getenv ("INIT")))
|
|
||||||
{
|
{
|
||||||
res = XMALLOC (char, strlen (cp) + strlen (skeleton_name) + 2);
|
/* Skeleton file name without path */
|
||||||
sprintf (res, "%s%c%s", cp, '/', skeleton_name);
|
const char *skel_name = strrchr(skeleton_name, '/');
|
||||||
}
|
if (!skel_name)
|
||||||
#endif /* !MSDOS */
|
skel_name = strrchr(skeleton_name, '\\');
|
||||||
|
if (!skel_name)
|
||||||
|
skel_name = skeleton_name;
|
||||||
|
else
|
||||||
|
++skel_name;
|
||||||
|
|
||||||
|
/* File doesn't exist in current directory; try in INIT directory. */
|
||||||
|
const char *cp = getenv ("INIT");
|
||||||
|
if (cp)
|
||||||
|
{
|
||||||
|
res = XMALLOC (char, strlen (cp) + strlen (skel_name) + 2);
|
||||||
|
sprintf (res, "%s%c%s", cp, '\\', skel_name);
|
||||||
|
}
|
||||||
|
else if (access (skel_name, 4) == 0) /* Look in current dir. */
|
||||||
|
res = skel_name;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
/* Look in program locations dir. */
|
||||||
|
extern char *program_name;
|
||||||
|
cp = strrchr(program_name, '\\');
|
||||||
|
if (!cp)
|
||||||
|
return skeleton_name;
|
||||||
|
else
|
||||||
|
++cp;
|
||||||
|
res = XMALLOC (char, cp - program_name + strlen (skel_name) + 1);
|
||||||
|
strncpy (res, program_name, cp - program_name);
|
||||||
|
strcpy (res + (cp - program_name), skel_name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif /* defined (MSDOS) || defined (_WIN32) */
|
||||||
if (!res)
|
if (!res)
|
||||||
res = skeleton_name;
|
res = skeleton_name;
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user