Compare commits

...
24 Commits
Author SHA1 Message Date
Akim Demaille d0f19d6f43 Version 1.33b. 2002-03-04 18:25:24 +00:00
Akim Demaille f443a1eb89 Update. 2002-03-04 18:21:08 +00:00
Akim Demaille 4eeb7bc9a2 * tests/output.at (AT_CHECK_OUTPUT): Another test, making sure
bison fails when trying to output a parser and a header under the
same name.
* src/files.c (compute_output_file_names): Refuse when parser and
header have the same name.
2002-03-04 18:06:42 +00:00
Akim Demaille 5d08b24fba * src/reader.c (readgram): A missing `;' is a warning, not an
error!
2002-03-04 17:00:45 +00:00
Akim Demaille 3af141b0e3 Regen. 2002-03-04 16:21:52 +00:00
Akim Demaille bae3c8d209 * tests/sets.at (Broken Closure): Add the ending `;'.
* tests/input.at (Invalid $n, Invalid @n): Likewise.
* tests/output.at (AT_CHECK_OUTPUT): Likewise.
* src/reader.at (readgram): Complain if a rule is not ended with a
semi-colon.
2002-03-04 14:57:46 +00:00
Akim Demaille 6f8dd2075e * tests/Makefile.am (check_SCRIPTS): New. 2002-02-28 15:47:55 +00:00
Akim Demaille 5327d634b3 . 2002-02-28 15:20:49 +00:00
Akim Demaille 3491db2e44 Regen. 2002-02-28 15:16:44 +00:00
Akim Demaille 9fef6a2a0b Version 1.33a. 2002-02-28 15:12:19 +00:00
Akim Demaille fe24ffa45a Update. 2002-02-28 15:11:44 +00:00
Akim Demaille 28f490e38d * src/bison.simple (yydebug): Fix the comment.
From Bruce Lilly.
2002-02-25 18:02:06 +00:00
Juan Manuel Guerrero 48dccdf81a DJGPP spicific: NULL pointer fix 2002-02-21 12:13:50 +00:00
Paul Eggert 039e51a37c Remove the support for C++ namespace cleanliness; it was
causing more problems than it was curing, since it didn't work
properly on some nonstandard C++ compilers.  This can wait
for a proper C++ parser.

* NEWS: Document this.
* doc/bison.texinfo (Bison Parser, Debugging): Remove special mention
of C++, as it's treated like C now.
* src/bison.simple (YYSTD): Remove.
(YYSIZE_T, YYFPRINTF, YYPARSE_PARAM_ARG, YYPARSE_PARAM_DECL):
Treat C++ just like Standard C instead of trying to support
namespace cleanliness.
2002-02-14 20:17:53 +00:00
Paul Eggert 20b9de21c7 Revert the C++ namespace changes introduced in 1.31. 2002-02-14 20:16:29 +00:00
Paul Eggert 26ae304aa6 (YYSTD): Remove.
(YYSIZE_T, YYFPRINTF, YYPARSE_PARAM_ARG, YYPARSE_PARAM_DECL):
Treat C++ just like Standard C instead of trying to support
namespace cleanliness.
2002-02-14 20:10:54 +00:00
Paul Eggert 2d0bf7bdd5 (Bison Parser, Debugging): Remove special mention of C++, as it's
treated like C now.
2002-02-14 20:09:29 +00:00
Akim Demaille e1fe241dc8 * tests/regression.at (else): Adjust to Andreas' change. 2002-02-14 12:37:44 +00:00
Akim Demaille e334b4a99b * src/output.c (output_rule_data): Don't output NULL, it might
not be defined yet.
2002-02-13 18:34:59 +00:00
Akim Demaille 1bb14a172a Typo. 2002-02-13 18:34:40 +00:00
Juan Manuel Guerrero cc20bc3166 DJGPP support added 2002-02-13 16:13:31 +00:00
Akim Demaille 9cbe3c4878 * tests/regression.at (%nonassoc and eof): Don't include non
portable headers.
2002-02-11 13:31:14 +00:00
Akim Demaille d961d172be Bump to 1.33a. 2002-02-11 13:28:56 +00:00
Akim Demaille dbbe1eb433 . 2002-02-07 17:44:12 +00:00
34 changed files with 791 additions and 566 deletions
+100
View File
@@ -1,3 +1,103 @@
2002-03-04 Akim Demaille <[email protected]>
Version 1.33b.
2002-03-04 Akim Demaille <[email protected]>
* tests/output.at (AT_CHECK_OUTPUT): Another test, making sure
bison fails when trying to output a parser and a header under the
same name.
* src/files.c (compute_output_file_names): Refuse when parser and
header have the same name.
2002-03-04 Akim Demaille <[email protected]>
* src/reader.c (readgram): A missing `;' is a warning, not an
error!
2002-03-04 Akim Demaille <[email protected]>
* tests/sets.at (Broken Closure): Add the ending `;'.
* tests/input.at (Invalid $n, Invalid @n): Likewise.
* tests/output.at (AT_CHECK_OUTPUT): Likewise.
* src/reader.at (readgram): Complain if a rule is not ended with a
semi-colon.
2002-02-28 Akim Demaille <[email protected]>
* tests/Makefile.am (check_SCRIPTS): New.
2002-02-28 Akim Demaille <[email protected]>
Version 1.33a.
2002-02-25 Akim Demaille <[email protected]>
* src/bison.simple (yydebug): Fix the comment.
From Bruce Lilly.
2002-02-21 Guerrero, Juan Manuel <[email protected]>
* src/getargs.c [AS_FILE_NAME] [__DJGPP__]: New macro STRLWR.
Check that no NULL pointer is passed to strlwr.
2002-02-14 Paul Eggert <[email protected]>
Remove the support for C++ namespace cleanliness; it was
causing more problems than it was curing, since it didn't work
properly on some nonstandard C++ compilers. This can wait
for a proper C++ parser.
* NEWS: Document this.
* doc/bison.texinfo (Bison Parser, Debugging): Remove special mention
of C++, as it's treated like C now.
* src/bison.simple (YYSTD): Remove.
(YYSIZE_T, YYFPRINTF, YYPARSE_PARAM_ARG, YYPARSE_PARAM_DECL):
Treat C++ just like Standard C instead of trying to support
namespace cleanliness.
2002-02-14 Akim Demaille <[email protected]>
* tests/regression.at (else): Adjust to Andreas' change.
2002-02-13 Andreas Schwab <[email protected]>
* src/output.c (output_rule_data): Don't output NULL, it might
not be defined yet.
2002-02-13 Guerrero, Juan Manuel <[email protected]>
* doc/bison.texinfo: Add DJGPP specific information about
file name extensions used on different file systems.
* src/files.c (output_files): MSDOS conditional removed.
New macro EXT_TYPE will provide at runtime the appropiate
output file extension.
(skeleton_find) [MSDOS]: __DJGPP__ conditional added to
inhibit the use of DOSish code. POSIX like behaviour.
* src/getargs.c [AS_FILE_NAME]: __DJGPP__ conditional added.
Check at runtime if LFN-API (case preserving) is available or not.
Do not unconditionly convert upper case strings in lower case strings.
* src/system.h [MSDOS] [__GO32__]: __DJGPP__ conditional added.
__GO32__ is obsolete and its use is deprecated.
[MSDOS]: __DJGPP__ conditional added. Use pathconf
to choose POSIX or DOS file extensions at run time.
[MSDOS] [__DJGPP__]: New macro EXT_TYPE. If LFN-API is
available, the src or header file extension (.c or .h) will be
added to the output file name. If no LFN-API is available no src
or header file extension will be added to the output file name.
[MSDOS] [!__DJGPP__]: New macro EXT_TYPE. Src file and header
file extension will never be added to the output file name.
[!MSDOS]: New macro EXT_TYPE. Src file and header file
extensions will always be added to the output file name.
2002-02-11 Akim Demaille <[email protected]>
* tests/regression.at (%nonassoc and eof): Don't include non
portable headers.
2002-02-07 Akim Demaille <[email protected]> 2002-02-07 Akim Demaille <[email protected]>
Version 1.33. Version 1.33.
+2 -2
View File
@@ -140,8 +140,8 @@ RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-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 ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \ DIST_COMMON = README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
Makefile.am Makefile.in NEWS THANKS aclocal.m4 config.hin \ Makefile.am Makefile.in NEWS README-alpha THANKS aclocal.m4 \
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
+21
View File
@@ -1,6 +1,26 @@
Bison News Bison News
---------- ----------
Changes in version 1.33b:
* File name clashes are detected
$ bison foo.y -d -o foo.x
fatal error: header and parser would be both named `foo.x'
* A missing `;' ending a rule triggers a warning
In accordance with POSIX, and in agreement with other
Yacc implementations, Bison will mandate this semicolon in a near
future. This eases the implementation of a Bison parser of Bison
grammars by making this grammar LALR(1) instead of LR(2). To
facilitate the transition, this release introduces a warning.
* Revert the C++ namespace changes introduced in 1.31, as they caused too
many portability hassles.
* DJGPP support added.
* Fix portability problems within the test suite.
Changes in version 1.33, 2002-02-07: Changes in version 1.33, 2002-02-07:
* Fix C++ issues * Fix C++ issues
@@ -45,6 +65,7 @@ Changes in version 1.31, 2002-01-14:
* Better C++ compliance * Better C++ compliance
The output parsers try to respect C++ namespaces. The output parsers try to respect C++ namespaces.
[This turned out to be a failed experiment, and it was reverted later.]
* Reduced Grammars * Reduced Grammars
Fixed bugs when reporting useless nonterminals. Fixed bugs when reporting useless nonterminals.
+2
View File
@@ -5,7 +5,9 @@ Airy Andre [email protected]
Akim Demaille [email protected] Akim Demaille [email protected]
Albert Chin-A-Young [email protected] Albert Chin-A-Young [email protected]
Alexander Belopolsky [email protected] Alexander Belopolsky [email protected]
Andreas Schwab [email protected]
Arnold Robbins [email protected] Arnold Robbins [email protected]
Bruce Lilly [email protected]
Cris van Pelt [email protected] Cris van Pelt [email protected]
Daniel Hagerty [email protected] Daniel Hagerty [email protected]
David J. MacKenzie [email protected] David J. MacKenzie [email protected]
+8 -14
View File
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc. # 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-01-30' timestamp='2002-03-04'
# 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
@@ -138,8 +138,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
# #
# Note: NetBSD doesn't particularly care about the vendor # Note: NetBSD doesn't particularly care about the vendor
# portion of the name. We always set it to "unknown". # portion of the name. We always set it to "unknown".
UNAME_MACHINE_ARCH=`(uname -p) 2>/dev/null` || \ sysctl="sysctl -n hw.machine_arch"
UNAME_MACHINE_ARCH=unknown UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
/usr/sbin/$sysctl 2>/dev/null || echo unknown)`
case "${UNAME_MACHINE_ARCH}" in case "${UNAME_MACHINE_ARCH}" in
arm*) machine=arm-unknown ;; arm*) machine=arm-unknown ;;
sh3el) machine=shl-unknown ;; sh3el) machine=shl-unknown ;;
@@ -340,7 +341,7 @@ EOF
echo m68k-sun-sunos${UNAME_RELEASE} echo m68k-sun-sunos${UNAME_RELEASE}
exit 0 ;; exit 0 ;;
sun*:*:4.2BSD:*) sun*:*:4.2BSD:*)
UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
case "`/bin/arch`" in case "`/bin/arch`" in
sun3) sun3)
@@ -509,7 +510,7 @@ EOF
fi fi
exit 0 ;; exit 0 ;;
*:AIX:*:[45]) *:AIX:*:[45])
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
IBM_ARCH=rs6000 IBM_ARCH=rs6000
else else
@@ -683,9 +684,6 @@ EOF
C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
echo c4-convex-bsd echo c4-convex-bsd
exit 0 ;; exit 0 ;;
CRAY*X-MP:*:*:*)
echo xmp-cray-unicos
exit 0 ;;
CRAY*Y-MP:*:*:*) CRAY*Y-MP:*:*:*)
echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;; exit 0 ;;
@@ -707,9 +705,6 @@ EOF
CRAY*SV1:*:*:*) CRAY*SV1:*:*:*)
echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'
exit 0 ;; exit 0 ;;
CRAY-2:*:*:*)
echo cray2-cray-unicos
exit 0 ;;
F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'`
@@ -837,9 +832,8 @@ EOF
# The BFD linker knows what the default object file format is, so # The BFD linker knows what the default object file format is, so
# first see if it will tell us. cd to the root directory to prevent # first see if it will tell us. cd to the root directory to prevent
# problems with other programs or directories called `ld' in the path. # problems with other programs or directories called `ld' in the path.
# Export LANG=C to prevent ld from outputting information in other # Set LC_ALL=C to ensure ld outputs messages in English.
# languages. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \
ld_supported_targets=`LANG=C; export LANG; cd /; ld --help 2>&1 \
| sed -ne '/supported targets:/!d | sed -ne '/supported targets:/!d
s/[ ][ ]*/ /g s/[ ][ ]*/ /g
s/.*supported targets: *// s/.*supported targets: *//
+35 -42
View File
@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002 Free Software Foundation, Inc. # 2000, 2001, 2002 Free Software Foundation, Inc.
timestamp='2002-02-01' timestamp='2002-03-04'
# 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
@@ -118,7 +118,7 @@ esac
# Here we must recognize all the valid KERNEL-OS combinations. # Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in case $maybe_os in
nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-*) nto-qnx* | linux-gnu* | storm-chaos* | os2-emx* | windows32-* | rtmk-nova*)
os=-$maybe_os os=-$maybe_os
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
;; ;;
@@ -235,7 +235,7 @@ case $basic_machine in
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
| i370 | i860 | i960 | ia64 \ | i370 | i860 | i960 | ia64 \
| m32r | m68000 | m68k | m88k | mcore \ | m32r | m68000 | m68k | m88k | mcore \
| mips16 | mips64 | mips64el | mips64orion | mips64orionel \ | mips | mips16 | mips64 | mips64el | mips64orion | mips64orionel \
| mips64vr4100 | mips64vr4100el | mips64vr4300 \ | mips64vr4100 | mips64vr4100el | mips64vr4300 \
| mips64vr4300el | mips64vr5000 | mips64vr5000el \ | mips64vr4300el | mips64vr5000 | mips64vr5000el \
| mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \ | mipsbe | mipseb | mipsel | mipsle | mipstx39 | mipstx39el \
@@ -247,7 +247,7 @@ case $basic_machine in
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \ | pyramid \
| sh | sh[34] | sh[34]eb | shbe | shle | sh64 \ | sh | sh[34] | sh[34]eb | shbe | shle | sh64 \
| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
| strongarm \ | strongarm \
| tahoe | thumb | tic80 | tron \ | tahoe | thumb | tic80 | tron \
| v850 | v850e \ | v850 | v850e \
@@ -285,7 +285,7 @@ case $basic_machine in
| avr-* \ | avr-* \
| bs2000-* \ | bs2000-* \
| c[123]* | c30-* | [cjt]90-* | c54x-* \ | c[123]* | c30-* | [cjt]90-* | c54x-* \
| clipper-* | cray2-* | cydra-* \ | clipper-* | cydra-* \
| d10v-* | d30v-* \ | d10v-* | d30v-* \
| elxsi-* \ | elxsi-* \
| f30[01]-* | f700-* | fr30-* | fx80-* \ | f30[01]-* | f700-* | fr30-* | fx80-* \
@@ -293,7 +293,7 @@ case $basic_machine in
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
| i*86-* | i860-* | i960-* | ia64-* \ | i*86-* | i860-* | i960-* | ia64-* \
| m32r-* \ | m32r-* \
| m68000-* | m680[01234]0-* | m68360-* | m683?2-* | m68k-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
| m88110-* | m88k-* | mcore-* \ | m88110-* | m88k-* | mcore-* \
| mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \ | mips-* | mips16-* | mips64-* | mips64el-* | mips64orion-* \
| mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \ | mips64orionel-* | mips64vr4100-* | mips64vr4100el-* \
@@ -306,12 +306,12 @@ case $basic_machine in
| pyramid-* \ | pyramid-* \
| romp-* | rs6000-* \ | romp-* | rs6000-* \
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \ | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* | sh64-* \
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
| sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
| v850-* | v850e-* | vax-* \ | v850-* | v850e-* | vax-* \
| we32k-* \ | we32k-* \
| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
| xtensa-* \ | xtensa-* \
| ymp-* \ | ymp-* \
| z8k-*) | z8k-*)
@@ -377,6 +377,10 @@ case $basic_machine in
basic_machine=ns32k-sequent basic_machine=ns32k-sequent
os=-dynix os=-dynix
;; ;;
c90)
basic_machine=c90-cray
os=-unicos
;;
convex-c1) convex-c1)
basic_machine=c1-convex basic_machine=c1-convex
os=-bsd os=-bsd
@@ -397,16 +401,8 @@ case $basic_machine in
basic_machine=c38-convex basic_machine=c38-convex
os=-bsd os=-bsd
;; ;;
cray | ymp) cray | j90)
basic_machine=ymp-cray basic_machine=j90-cray
os=-unicos
;;
cray2)
basic_machine=cray2-cray
os=-unicos
;;
[cjt]90)
basic_machine=${basic_machine}-cray
os=-unicos os=-unicos
;; ;;
crds | unos) crds | unos)
@@ -609,14 +605,6 @@ case $basic_machine in
basic_machine=m68k-atari basic_machine=m68k-atari
os=-mint os=-mint
;; ;;
mipsel*-linux*)
basic_machine=mipsel-unknown
os=-linux-gnu
;;
mips*-linux*)
basic_machine=mips-unknown
os=-linux-gnu
;;
mips3*-*) mips3*-*)
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`
;; ;;
@@ -878,7 +866,7 @@ case $basic_machine in
sun386 | sun386i | roadrunner) sun386 | sun386i | roadrunner)
basic_machine=i386-sun basic_machine=i386-sun
;; ;;
sv1) sv1)
basic_machine=sv1-cray basic_machine=sv1-cray
os=-unicos os=-unicos
;; ;;
@@ -886,8 +874,16 @@ case $basic_machine in
basic_machine=i386-sequent basic_machine=i386-sequent
os=-dynix os=-dynix
;; ;;
t3d)
basic_machine=alpha-cray
os=-unicos
;;
t3e) t3e)
basic_machine=t3e-cray basic_machine=alphaev5-cray
os=-unicos
;;
t90)
basic_machine=t90-cray
os=-unicos os=-unicos
;; ;;
tic54x | c54x*) tic54x | c54x*)
@@ -954,13 +950,13 @@ case $basic_machine in
basic_machine=i386-pc basic_machine=i386-pc
os=-windows32-msvcrt os=-windows32-msvcrt
;; ;;
xmp)
basic_machine=xmp-cray
os=-unicos
;;
xps | xps100) xps | xps100)
basic_machine=xps100-honeywell basic_machine=xps100-honeywell
;; ;;
ymp)
basic_machine=ymp-cray
os=-unicos
;;
z8k-*-coff) z8k-*-coff)
basic_machine=z8k-unknown basic_machine=z8k-unknown
os=-sim os=-sim
@@ -981,13 +977,6 @@ case $basic_machine in
op60c) op60c)
basic_machine=hppa1.1-oki basic_machine=hppa1.1-oki
;; ;;
mips)
if [ x$os = x-linux-gnu ]; then
basic_machine=mips-unknown
else
basic_machine=mips-mips
fi
;;
romp) romp)
basic_machine=romp-ibm basic_machine=romp-ibm
;; ;;
@@ -1100,7 +1089,8 @@ case $os in
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* | -morphos*) | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
| -morphos* | -superux* | -rtmk* | -rtmk-nova*)
# Remember, each alternative MUST END IN *, to match a version number. # Remember, each alternative MUST END IN *, to match a version number.
;; ;;
-qnx*) -qnx*)
@@ -1161,6 +1151,9 @@ case $os in
-ctix* | -uts*) -ctix* | -uts*)
os=-sysv os=-sysv
;; ;;
-nova*)
os=-rtmk-nova
;;
-ns2 ) -ns2 )
os=-nextstep2 os=-nextstep2
;; ;;
+1 -1
View File
@@ -1 +1 @@
1.32 1.33a
+187 -167
View File
@@ -3,10 +3,10 @@
% Load plain if necessary, i.e., if running under initex. % Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi \expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
% %
\def\texinfoversion{2002-01-04.07} \def\texinfoversion{2002-03-01.06}
% %
% Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, % Copyright (C) 1985, 86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99,
% 2000, 01 Free Software Foundation, Inc. % 2000, 01, 02 Free Software Foundation, Inc.
% %
% This texinfo.tex file is free software; you can redistribute it and/or % This texinfo.tex file is free software; you can redistribute it and/or
% modify it under the terms of the GNU General Public License as % modify it under the terms of the GNU General Public License as
@@ -54,12 +54,12 @@
% tex foo.texi % tex foo.texi
% tex foo.texi % tex foo.texi
% dvips foo.dvi -o # or whatever, to process the dvi file; this makes foo.ps. % dvips foo.dvi -o # or whatever, to process the dvi file; this makes foo.ps.
% The extra runs of TeX get the cross-reference information correct. % The extra TeX runs get the cross-reference information correct.
% Sometimes one run after texindex suffices, and sometimes you need more % Sometimes one run after texindex suffices, and sometimes you need more
% than two; texi2dvi does it as many times as necessary. % than two; texi2dvi does it as many times as necessary.
% %
% It is possible to adapt texinfo.tex for other languages. You can get % It is possible to adapt texinfo.tex for other languages. You can get
% the existing language-specific files from ftp://ftp.gnu.org/gnu/texinfo/. % the existing language-specific files from the full Texinfo distribution.
\message{Loading texinfo [version \texinfoversion]:} \message{Loading texinfo [version \texinfoversion]:}
@@ -836,18 +836,32 @@ where each line of input produces a line of output.}
% %
\def\asis#1{#1} \def\asis#1{#1}
% @math means output in math mode. % @math outputs its argument in math mode.
% We don't use $'s directly in the definition of \math because control % We don't use $'s directly in the definition of \math because we need
% sequences like \math are expanded when the toc file is written. Then, % to set catcodes according to plain TeX first, to allow for subscripts,
% we read the toc file back, the $'s will be normal characters (as they % superscripts, special math chars, etc.
% should be, according to the definition of Texinfo). So we must use a %
% control sequence to switch into and out of math mode. % @math does not do math typesetting in section titles, index
% entries, and other such contexts where the catcodes are set before
% @math gets a chance to work. This could perhaps be fixed, but for now
% at least we can have real math in the main text, where it's needed most.
% %
% This isn't quite enough for @math to work properly in indices, but it %
% seems unlikely it will ever be needed there. \let\implicitmath = $%$ font-lock fix
% %
\let\implicitmath = $ % One complication: _ usually means subscripts, but it could also mean
\def\math#1{\implicitmath #1\implicitmath} % an actual _ character, as in @math{@var{some_variable} + 1}. So make
% _ within @math be active (mathcode "8000), and distinguish by seeing
% if the current family is \slfam, which is what @var uses.
%
{\catcode95 = \active % 95 = _
\gdef\mathunderscore{%
\catcode95=\active
\def_{\ifnum\fam=\slfam\_\else\sb\fi}%
}}
%
\def\math{\tex\mathcode`\_="8000\mathunderscore \implicitmath\finishmath}
\def\finishmath#1{#1\implicitmath\Etex}
% @bullet and @minus need the same treatment as @math, just above. % @bullet and @minus need the same treatment as @math, just above.
\def\bullet{\implicitmath\ptexbullet\implicitmath} \def\bullet{\implicitmath\ptexbullet\implicitmath}
@@ -960,7 +974,7 @@ where each line of input produces a line of output.}
\expandafter\xdef\csname#1\endcsname{\the\tempnum}} \expandafter\xdef\csname#1\endcsname{\the\tempnum}}
\def\pdfmakeoutlines{{% \def\pdfmakeoutlines{{%
\openin 1 \jobname.toc \openin 1 \jobname.toc
\ifeof 1\else\bgroup \ifeof 1\else\begingroup
\closein 1 \closein 1
\indexnofonts \indexnofonts
\def\tt{} \def\tt{}
@@ -970,6 +984,7 @@ where each line of input produces a line of output.}
\edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace \edef\myrbrace{\iffalse{\else\string}\fi}\let\}=\myrbrace
% %
\def\chapentry ##1##2##3{} \def\chapentry ##1##2##3{}
\let\appendixentry = \chapentry
\def\unnumbchapentry ##1##2{} \def\unnumbchapentry ##1##2{}
\def\secentry ##1##2##3##4{\advancenumber{chap##2}} \def\secentry ##1##2##3##4{\advancenumber{chap##2}}
\def\unnumbsecentry ##1##2{} \def\unnumbsecentry ##1##2{}
@@ -980,6 +995,7 @@ where each line of input produces a line of output.}
\input \jobname.toc \input \jobname.toc
\def\chapentry ##1##2##3{% \def\chapentry ##1##2##3{%
\pdfoutline goto name{\pdfmkpgn{##3}}count-\expnumber{chap##2}{##1}} \pdfoutline goto name{\pdfmkpgn{##3}}count-\expnumber{chap##2}{##1}}
\let\appendixentry = \chapentry
\def\unnumbchapentry ##1##2{% \def\unnumbchapentry ##1##2{%
\pdfoutline goto name{\pdfmkpgn{##2}}{##1}} \pdfoutline goto name{\pdfmkpgn{##2}}{##1}}
\def\secentry ##1##2##3##4{% \def\secentry ##1##2##3##4{%
@@ -995,7 +1011,7 @@ where each line of input produces a line of output.}
\def\unnumbsubsubsecentry ##1##2{% \def\unnumbsubsubsecentry ##1##2{%
\pdfoutline goto name{\pdfmkpgn{##2}}{##1}} \pdfoutline goto name{\pdfmkpgn{##2}}{##1}}
\input \jobname.toc \input \jobname.toc
\egroup\fi \endgroup\fi
}} }}
\def\makelinks #1,{% \def\makelinks #1,{%
\def\params{#1}\def\E{END}% \def\params{#1}\def\E{END}%
@@ -1112,9 +1128,6 @@ where each line of input produces a line of output.}
}% }%
} }
% Use Computer Modern fonts at \magstephalf (11pt).
\newcount\mainmagstep \mainmagstep=\magstephalf
% Set the font macro #1 to the font named #2, adding on the % Set the font macro #1 to the font named #2, adding on the
% specified font prefix (normally `cm'). % specified font prefix (normally `cm').
% #3 is the font's design size, #4 is a scale factor % #3 is the font's design size, #4 is a scale factor
@@ -1143,13 +1156,16 @@ where each line of input produces a line of output.}
\def\scshape{csc} \def\scshape{csc}
\def\scbshape{csc} \def\scbshape{csc}
\newcount\mainmagstep
\ifx\bigger\relax \ifx\bigger\relax
\let\mainmagstep=\magstep1 % not really supported.
\setfont\textrm\rmshape{12}{1000} \let\mainmagstep=\magstep1
\setfont\texttt\ttshape{12}{1000} \setfont\textrm\rmshape{12}{1000}
\setfont\texttt\ttshape{12}{1000}
\else \else
\setfont\textrm\rmshape{10}{\mainmagstep} \mainmagstep=\magstephalf
\setfont\texttt\ttshape{10}{\mainmagstep} \setfont\textrm\rmshape{10}{\mainmagstep}
\setfont\texttt\ttshape{10}{\mainmagstep}
\fi \fi
% Instead of cmb10, you many want to use cmbx10. % Instead of cmb10, you many want to use cmbx10.
% cmbx10 is a prettier font on its own, but cmb10 % cmbx10 is a prettier font on its own, but cmb10
@@ -1229,20 +1245,6 @@ where each line of input produces a line of output.}
\font\seci=cmmi12 scaled \magstep1 \font\seci=cmmi12 scaled \magstep1
\font\secsy=cmsy10 scaled \magstep2 \font\secsy=cmsy10 scaled \magstep2
% \setfont\ssecrm\bxshape{10}{\magstep1} % This size an font looked bad.
% \setfont\ssecit\itshape{10}{\magstep1} % The letters were too crowded.
% \setfont\ssecsl\slshape{10}{\magstep1}
% \setfont\ssectt\ttshape{10}{\magstep1}
% \setfont\ssecsf\sfshape{10}{\magstep1}
%\setfont\ssecrm\bfshape{10}{1315} % Note the use of cmb rather than cmbx.
%\setfont\ssecit\itshape{10}{1315} % Also, the size is a little larger than
%\setfont\ssecsl\slshape{10}{1315} % being scaled magstep1.
%\setfont\ssectt\ttshape{10}{1315}
%\setfont\ssecsf\sfshape{10}{1315}
%\let\ssecbf=\ssecrm
% Subsection fonts (13.15pt). % Subsection fonts (13.15pt).
\setfont\ssecrm\rmbshape{12}{\magstephalf} \setfont\ssecrm\rmbshape{12}{\magstephalf}
\setfont\ssecit\itbshape{10}{1315} \setfont\ssecit\itbshape{10}{1315}
@@ -1259,17 +1261,16 @@ where each line of input produces a line of output.}
% In order for the font changes to affect most math symbols and letters, % In order for the font changes to affect most math symbols and letters,
% we have to define the \textfont of the standard families. Since % we have to define the \textfont of the standard families. Since
% texinfo doesn't allow for producing subscripts and superscripts, we % texinfo doesn't allow for producing subscripts and superscripts except
% don't bother to reset \scriptfont and \scriptscriptfont (which would % in the main text, we don't bother to reset \scriptfont and
% also require loading a lot more fonts). % \scriptscriptfont (which would also require loading a lot more fonts).
% %
\def\resetmathfonts{% \def\resetmathfonts{%
\textfont0 = \tenrm \textfont1 = \teni \textfont2 = \tensy \textfont0=\tenrm \textfont1=\teni \textfont2=\tensy
\textfont\itfam = \tenit \textfont\slfam = \tensl \textfont\bffam = \tenbf \textfont\itfam=\tenit \textfont\slfam=\tensl \textfont\bffam=\tenbf
\textfont\ttfam = \tentt \textfont\sffam = \tensf \textfont\ttfam=\tentt \textfont\sffam=\tensf
} }
% The font-changing commands redefine the meanings of \tenSTYLE, instead % The font-changing commands redefine the meanings of \tenSTYLE, instead
% of just \STYLE. We do this so that font changes will continue to work % of just \STYLE. We do this so that font changes will continue to work
% in math mode, where it is the current \fam that is relevant in most % in math mode, where it is the current \fam that is relevant in most
@@ -2758,9 +2759,23 @@ width0pt\relax} \fi
\def\docodeindex#1{\edef\indexname{#1}\parsearg\singlecodeindexer} \def\docodeindex#1{\edef\indexname{#1}\parsearg\singlecodeindexer}
\def\singlecodeindexer #1{\doind{\indexname}{\code{#1}}} \def\singlecodeindexer #1{\doind{\indexname}{\code{#1}}}
% Take care of texinfo commands likely to appear in an index entry.
% (Must be a way to avoid doing expansion at all, and thus not have to
% laboriously list every single command here.)
%
\def\indexdummies{% \def\indexdummies{%
\def\ { }% \def\ { }%
\def\@{@}% change to @@ when we switch to @ as escape char in aux files.
% Need these in case \tex is in effect and \{ is a \delimiter again.
% But can't use \lbracecmd and \rbracecmd because texindex assumes
% braces and backslashes are used only as delimiters.
\let\{ = \mylbrace
\let\} = \myrbrace
\def\_{{\realbackslash _}}%
\normalturnoffactive
%
% Take care of the plain tex accent commands. % Take care of the plain tex accent commands.
\def\,##1{\realbackslash ,{##1}}%
\def\"{\realbackslash "}% \def\"{\realbackslash "}%
\def\`{\realbackslash `}% \def\`{\realbackslash `}%
\def\'{\realbackslash '}% \def\'{\realbackslash '}%
@@ -2773,69 +2788,66 @@ width0pt\relax} \fi
\def\u{\realbackslash u}% \def\u{\realbackslash u}%
\def\v{\realbackslash v}% \def\v{\realbackslash v}%
\def\H{\realbackslash H}% \def\H{\realbackslash H}%
% Take care of the plain tex special European modified letters.
\def\oe{\realbackslash oe}%
\def\ae{\realbackslash ae}%
\def\aa{\realbackslash aa}%
\def\OE{\realbackslash OE}%
\def\AE{\realbackslash AE}%
\def\AA{\realbackslash AA}%
\def\o{\realbackslash o}%
\def\O{\realbackslash O}%
\def\l{\realbackslash l}%
\def\L{\realbackslash L}%
\def\ss{\realbackslash ss}%
% Take care of texinfo commands likely to appear in an index entry.
% (Must be a way to avoid doing expansion at all, and thus not have to
% laboriously list every single command here.)
\def\@{@}% will be @@ when we switch to @ as escape char.
% Need these in case \tex is in effect and \{ is a \delimiter again.
% But can't use \lbracecmd and \rbracecmd because texindex assumes
% braces and backslashes are used only as delimiters.
\let\{ = \mylbrace
\let\} = \myrbrace
\def\_{{\realbackslash _}}%
\def\w{\realbackslash w }%
\def\bf{\realbackslash bf }%
%\def\rm{\realbackslash rm }%
\def\sl{\realbackslash sl }%
\def\sf{\realbackslash sf}%
\def\tt{\realbackslash tt}%
\def\gtr{\realbackslash gtr}%
\def\less{\realbackslash less}%
\def\hat{\realbackslash hat}%
\def\TeX{\realbackslash TeX}%
\def\dots{\realbackslash dots }%
\def\result{\realbackslash result}%
\def\equiv{\realbackslash equiv}%
\def\expansion{\realbackslash expansion}%
\def\print{\realbackslash print}%
\def\error{\realbackslash error}%
\def\point{\realbackslash point}%
\def\copyright{\realbackslash copyright}%
\def\tclose##1{\realbackslash tclose {##1}}%
\def\code##1{\realbackslash code {##1}}%
\def\uref##1{\realbackslash uref {##1}}%
\def\url##1{\realbackslash url {##1}}%
\def\env##1{\realbackslash env {##1}}%
\def\command##1{\realbackslash command {##1}}%
\def\option##1{\realbackslash option {##1}}%
\def\dotless##1{\realbackslash dotless {##1}}% \def\dotless##1{\realbackslash dotless {##1}}%
\def\samp##1{\realbackslash samp {##1}}% % Take care of the plain tex special European modified letters.
\def\,##1{\realbackslash ,{##1}}% \def\AA{\realbackslash AA}%
\def\AE{\realbackslash AE}%
\def\L{\realbackslash L}%
\def\OE{\realbackslash OE}%
\def\O{\realbackslash O}%
\def\aa{\realbackslash aa}%
\def\ae{\realbackslash ae}%
\def\l{\realbackslash l}%
\def\oe{\realbackslash oe}%
\def\o{\realbackslash o}%
\def\ss{\realbackslash ss}%
%
% Although these internals commands shouldn't show up, sometimes they do.
\def\bf{\realbackslash bf }%
\def\gtr{\realbackslash gtr}%
\def\hat{\realbackslash hat}%
\def\less{\realbackslash less}%
%\def\rm{\realbackslash rm }%
\def\sf{\realbackslash sf}%
\def\sl{\realbackslash sl }%
\def\tclose##1{\realbackslash tclose {##1}}%
\def\tt{\realbackslash tt}%
%
\def\b##1{\realbackslash b {##1}}%
\def\i##1{\realbackslash i {##1}}%
\def\sc##1{\realbackslash sc {##1}}%
\def\t##1{\realbackslash t {##1}}% \def\t##1{\realbackslash t {##1}}%
\def\r##1{\realbackslash r {##1}}% \def\r##1{\realbackslash r {##1}}%
\def\i##1{\realbackslash i {##1}}% %
\def\b##1{\realbackslash b {##1}}% \def\TeX{\realbackslash TeX}%
\def\sc##1{\realbackslash sc {##1}}%
\def\cite##1{\realbackslash cite {##1}}%
\def\key##1{\realbackslash key {##1}}%
\def\file##1{\realbackslash file {##1}}%
\def\var##1{\realbackslash var {##1}}%
\def\kbd##1{\realbackslash kbd {##1}}%
\def\dfn##1{\realbackslash dfn {##1}}%
\def\emph##1{\realbackslash emph {##1}}%
\def\acronym##1{\realbackslash acronym {##1}}% \def\acronym##1{\realbackslash acronym {##1}}%
\def\cite##1{\realbackslash cite {##1}}%
\def\code##1{\realbackslash code {##1}}%
\def\command##1{\realbackslash command {##1}}%
\def\dfn##1{\realbackslash dfn {##1}}%
\def\dots{\realbackslash dots }%
\def\emph##1{\realbackslash emph {##1}}%
\def\env##1{\realbackslash env {##1}}%
\def\file##1{\realbackslash file {##1}}%
\def\kbd##1{\realbackslash kbd {##1}}%
\def\key##1{\realbackslash key {##1}}%
\def\math##1{\realbackslash math {##1}}%
\def\option##1{\realbackslash option {##1}}%
\def\samp##1{\realbackslash samp {##1}}%
\def\strong##1{\realbackslash strong {##1}}%
\def\uref##1{\realbackslash uref {##1}}%
\def\url##1{\realbackslash url {##1}}%
\def\var##1{\realbackslash var {##1}}%
\def\w{\realbackslash w }%
%
% These math commands don't seem likely to be used in index entries.
\def\copyright{\realbackslash copyright}%
\def\equiv{\realbackslash equiv}%
\def\error{\realbackslash error}%
\def\expansion{\realbackslash expansion}%
\def\point{\realbackslash point}%
\def\print{\realbackslash print}%
\def\result{\realbackslash result}%
% %
% Handle some cases of @value -- where the variable name does not % Handle some cases of @value -- where the variable name does not
% contain - or _, and the value does not contain any % contain - or _, and the value does not contain any
@@ -2860,7 +2872,10 @@ width0pt\relax} \fi
\def\indexdummydots{...} \def\indexdummydots{...}
\def\indexnofonts{% \def\indexnofonts{%
% Just ignore accents. \def\@{@}%
% how to handle braces?
\def\_{\normalunderscore}%
%
\let\,=\indexdummyfont \let\,=\indexdummyfont
\let\"=\indexdummyfont \let\"=\indexdummyfont
\let\`=\indexdummyfont \let\`=\indexdummyfont
@@ -2876,45 +2891,49 @@ width0pt\relax} \fi
\let\H=\indexdummyfont \let\H=\indexdummyfont
\let\dotless=\indexdummyfont \let\dotless=\indexdummyfont
% Take care of the plain tex special European modified letters. % Take care of the plain tex special European modified letters.
\def\oe{oe}%
\def\ae{ae}%
\def\aa{aa}%
\def\OE{OE}%
\def\AE{AE}%
\def\AA{AA}% \def\AA{AA}%
\def\o{o}% \def\AE{AE}%
\def\O{O}%
\def\l{l}%
\def\L{L}% \def\L{L}%
\def\OE{OE}%
\def\O{O}%
\def\aa{aa}%
\def\ae{ae}%
\def\l{l}%
\def\oe{oe}%
\def\o{o}%
\def\ss{ss}% \def\ss{ss}%
\let\w=\indexdummyfont %
\let\t=\indexdummyfont % Don't no-op \tt, since it isn't a user-level command
\let\r=\indexdummyfont % and is used in the definitions of the active chars like <, >, |, etc.
\let\i=\indexdummyfont % Likewise with the other plain tex font commands.
\let\b=\indexdummyfont
\let\emph=\indexdummyfont
\let\strong=\indexdummyfont
\let\cite=\indexdummyfont
\let\sc=\indexdummyfont
%Don't no-op \tt, since it isn't a user-level command
% and is used in the definitions of the active chars like <, >, |...
%\let\tt=\indexdummyfont %\let\tt=\indexdummyfont
\let\tclose=\indexdummyfont %
\let\code=\indexdummyfont \let\b=\indexdummyfont
\let\url=\indexdummyfont \let\i=\indexdummyfont
\let\uref=\indexdummyfont \let\r=\indexdummyfont
\let\env=\indexdummyfont \let\sc=\indexdummyfont
\let\t=\indexdummyfont
%
\let\TeX=\indexdummytex
\let\acronym=\indexdummyfont \let\acronym=\indexdummyfont
\let\cite=\indexdummyfont
\let\code=\indexdummyfont
\let\command=\indexdummyfont \let\command=\indexdummyfont
\let\option=\indexdummyfont \let\dfn=\indexdummyfont
\let\dots=\indexdummydots
\let\emph=\indexdummyfont
\let\env=\indexdummyfont
\let\file=\indexdummyfont \let\file=\indexdummyfont
\let\samp=\indexdummyfont
\let\kbd=\indexdummyfont \let\kbd=\indexdummyfont
\let\key=\indexdummyfont \let\key=\indexdummyfont
\let\math=\indexdummyfont
\let\option=\indexdummyfont
\let\samp=\indexdummyfont
\let\strong=\indexdummyfont
\let\uref=\indexdummyfont
\let\url=\indexdummyfont
\let\var=\indexdummyfont \let\var=\indexdummyfont
\let\TeX=\indexdummytex \let\w=\indexdummyfont
\let\dots=\indexdummydots
\def\@{@}%
} }
% To define \realbackslash, we must make \ not be an escape. % To define \realbackslash, we must make \ not be an escape.
@@ -3516,8 +3535,8 @@ width0pt\relax} \fi
\gdef\thischaptername{#1}% \gdef\thischaptername{#1}%
\xdef\thischapter{\putwordAppendix{} \appendixletter: \noexpand\thischaptername}% \xdef\thischapter{\putwordAppendix{} \appendixletter: \noexpand\thischaptername}%
\toks0 = {#1}% \toks0 = {#1}%
\edef\temp{\noexpand\writetocentry{\realbackslash chapentry{\the\toks0}% \edef\temp{\noexpand\writetocentry{\realbackslash appendixentry{\the\toks0}%
{\putwordAppendix{} \appendixletter}}}% {\appendixletter}}}%
\temp \temp
\appendixnoderef \appendixnoderef
\global\let\section = \appendixsec \global\let\section = \appendixsec
@@ -3950,6 +3969,7 @@ width0pt\relax} \fi
\startcontents{\putwordShortTOC}% \startcontents{\putwordShortTOC}%
% %
\let\chapentry = \shortchapentry \let\chapentry = \shortchapentry
\let\appendixentry = \shortappendixentry
\let\unnumbchapentry = \shortunnumberedentry \let\unnumbchapentry = \shortunnumberedentry
% We want a true roman here for the page numbers. % We want a true roman here for the page numbers.
\secfonts \secfonts
@@ -3985,16 +4005,23 @@ width0pt\relax} \fi
% The last argument is the page number. % The last argument is the page number.
% The arguments in between are the chapter number, section number, ... % The arguments in between are the chapter number, section number, ...
% Chapter-level things, for both the long and short contents. % Chapters, in the main contents.
\def\chapentry#1#2#3{\dochapentry{#2\labelspace#1}{#3}} \def\chapentry#1#2#3{\dochapentry{#2\labelspace#1}{#3}}
%
% See comments in \dochapentry re vbox and related settings % Chapters, in the short toc.
% See comments in \dochapentry re vbox and related settings.
\def\shortchapentry#1#2#3{% \def\shortchapentry#1#2#3{%
\tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#3\egroup}% \tocentry{\shortchaplabel{#2}\labelspace #1}{\doshortpageno\bgroup#3\egroup}%
} }
% Appendices, in the main contents.
\def\appendixentry#1#2#3{\dochapentry{\putwordAppendix{} #2\labelspace#1}{#3}}
%
% Appendices, in the short toc.
\let\shortappendixentry = \shortchapentry
% Typeset the label for a chapter or appendix for the short contents. % Typeset the label for a chapter or appendix for the short contents.
% The arg is, e.g. `Appendix A' for an appendix, or `3' for a chapter. % The arg is, e.g., `Appendix A' for an appendix, or `3' for a chapter.
% We could simplify the code here by writing out an \appendixentry % We could simplify the code here by writing out an \appendixentry
% command in the toc file for appendices, instead of using \chapentry % command in the toc file for appendices, instead of using \chapentry
% for both, but it doesn't seem worth it. % for both, but it doesn't seem worth it.
@@ -4002,23 +4029,16 @@ width0pt\relax} \fi
\newdimen\shortappendixwidth \newdimen\shortappendixwidth
% %
\def\shortchaplabel#1{% \def\shortchaplabel#1{%
% Compute width of word "Appendix", may change with language. % This space should be enough, since a single number is .5em, and the
\setbox0 = \hbox{\shortcontrm \putwordAppendix}%
\shortappendixwidth = \wd0
%
% We typeset #1 in a box of constant width, regardless of the text of
% #1, so the chapter titles will come out aligned.
\setbox0 = \hbox{#1}%
\dimen0 = \ifdim\wd0 > \shortappendixwidth \shortappendixwidth \else 0pt \fi
%
% This space should be plenty, since a single number is .5em, and the
% widest letter (M) is 1em, at least in the Computer Modern fonts. % widest letter (M) is 1em, at least in the Computer Modern fonts.
% But use \hss just in case.
% (This space doesn't include the extra space that gets added after % (This space doesn't include the extra space that gets added after
% the label; that gets put in by \shortchapentry above.) % the label; that gets put in by \shortchapentry above.)
\advance\dimen0 by 1.1em \dimen0 = 1em
\hbox to \dimen0{#1\hfil}% \hbox to \dimen0{#1\hss}%
} }
% Unnumbered chapters.
\def\unnumbchapentry#1#2{\dochapentry{#1}{#2}} \def\unnumbchapentry#1#2{\dochapentry{#1}{#2}}
\def\shortunnumberedentry#1#2{\tocentry{#1}{\doshortpageno\bgroup#2\egroup}} \def\shortunnumberedentry#1#2{\tocentry{#1}{\doshortpageno\bgroup#2\egroup}}
@@ -4074,7 +4094,7 @@ width0pt\relax} \fi
\def\tocentry#1#2{\begingroup \def\tocentry#1#2{\begingroup
\vskip 0pt plus1pt % allow a little stretch for the sake of nice page breaks \vskip 0pt plus1pt % allow a little stretch for the sake of nice page breaks
% Do not use \turnoffactive in these arguments. Since the toc is % Do not use \turnoffactive in these arguments. Since the toc is
% typeset in cmr, so characters such as _ would come out wrong; we % typeset in cmr, characters such as _ would come out wrong; we
% have to do the usual translation tricks. % have to do the usual translation tricks.
\entry{#1}{#2}% \entry{#1}{#2}%
\endgroup} \endgroup}
@@ -4903,7 +4923,7 @@ width0pt\relax} \fi
% #1 is the data type, #2 the name, #3 the args. % #1 is the data type, #2 the name, #3 the args.
\def\deftypefunheaderx #1#2 #3\relax{% \def\deftypefunheaderx #1#2 #3\relax{%
\doind {fn}{\code{#2}}% Make entry in function index \doind {fn}{\code{#2}}% Make entry in function index
\begingroup\defname {\defheaderxcond#1\relax$$$#2}{\putwordDeftypefun}% \begingroup\defname {\defheaderxcond#1\relax$.$#2}{\putwordDeftypefun}%
\deftypefunargs {#3}\endgroup % \deftypefunargs {#3}\endgroup %
\catcode 61=\other % Turn off change made in \defparsebody \catcode 61=\other % Turn off change made in \defparsebody
} }
@@ -4912,9 +4932,9 @@ width0pt\relax} \fi
\def\deftypefn{\defmethparsebody\Edeftypefn\deftypefnx\deftypefnheader} \def\deftypefn{\defmethparsebody\Edeftypefn\deftypefnx\deftypefnheader}
% \defheaderxcond#1\relax$$$ % \defheaderxcond#1\relax$.$
% puts #1 in @code, followed by a space, but does nothing if #1 is null. % puts #1 in @code, followed by a space, but does nothing if #1 is null.
\def\defheaderxcond#1#2$$${\ifx#1\relax\else\code{#1#2} \fi} \def\defheaderxcond#1#2$.${\ifx#1\relax\else\code{#1#2} \fi}
% #1 is the classification. #2 is the data type. #3 is the name and args. % #1 is the classification. #2 is the data type. #3 is the name and args.
\def\deftypefnheader #1#2#3{\deftypefnheaderx{#1}{#2}#3 \relax} \def\deftypefnheader #1#2#3{\deftypefnheaderx{#1}{#2}#3 \relax}
@@ -4924,7 +4944,7 @@ width0pt\relax} \fi
\begingroup \begingroup
\normalparens % notably, turn off `&' magic, which prevents \normalparens % notably, turn off `&' magic, which prevents
% at least some C++ text from working % at least some C++ text from working
\defname {\defheaderxcond#2\relax$$$#3}{#1}% \defname {\defheaderxcond#2\relax$.$#3}{#1}%
\deftypefunargs {#4}\endgroup % \deftypefunargs {#4}\endgroup %
\catcode 61=\other % Turn off change made in \defparsebody \catcode 61=\other % Turn off change made in \defparsebody
} }
@@ -4970,7 +4990,7 @@ width0pt\relax} \fi
\def\deftypeopheader#1#2#3#4{% \def\deftypeopheader#1#2#3#4{%
\dosubind{fn}{\code{#3}}{\putwordon\ \code{#1}}% entry in function index \dosubind{fn}{\code{#3}}{\putwordon\ \code{#1}}% entry in function index
\begingroup \begingroup
\defname{\defheaderxcond#2\relax$$$#3} \defname{\defheaderxcond#2\relax$.$#3}
{\deftypeopcategory\ \putwordon\ \code{#1}}% {\deftypeopcategory\ \putwordon\ \code{#1}}%
\deftypefunargs{#4}% \deftypefunargs{#4}%
\endgroup \endgroup
@@ -4985,7 +5005,7 @@ width0pt\relax} \fi
\def\deftypemethodheader#1#2#3#4{% \def\deftypemethodheader#1#2#3#4{%
\dosubind{fn}{\code{#3}}{\putwordon\ \code{#1}}% entry in function index \dosubind{fn}{\code{#3}}{\putwordon\ \code{#1}}% entry in function index
\begingroup \begingroup
\defname{\defheaderxcond#2\relax$$$#3}{\putwordMethodon\ \code{#1}}% \defname{\defheaderxcond#2\relax$.$#3}{\putwordMethodon\ \code{#1}}%
\deftypefunargs{#4}% \deftypefunargs{#4}%
\endgroup \endgroup
} }
@@ -4999,7 +5019,7 @@ width0pt\relax} \fi
\def\deftypeivarheader#1#2#3{% \def\deftypeivarheader#1#2#3{%
\dosubind{vr}{\code{#3}}{\putwordof\ \code{#1}}% entry in variable index \dosubind{vr}{\code{#3}}{\putwordof\ \code{#1}}% entry in variable index
\begingroup \begingroup
\defname{\defheaderxcond#2\relax$$$#3} \defname{\defheaderxcond#2\relax$.$#3}
{\putwordInstanceVariableof\ \code{#1}}% {\putwordInstanceVariableof\ \code{#1}}%
\defvarargs{#3}% \defvarargs{#3}%
\endgroup \endgroup
@@ -5082,7 +5102,7 @@ width0pt\relax} \fi
% is actually part of the data type, which should not be put into the index. % is actually part of the data type, which should not be put into the index.
\def\deftypevarheader #1#2{% \def\deftypevarheader #1#2{%
\dovarind#2 \relax% Make entry in variables index \dovarind#2 \relax% Make entry in variables index
\begingroup\defname {\defheaderxcond#1\relax$$$#2}{\putwordDeftypevar}% \begingroup\defname {\defheaderxcond#1\relax$.$#2}{\putwordDeftypevar}%
\interlinepenalty=10000 \interlinepenalty=10000
\endgraf\nobreak\vskip -\parskip\nobreak \endgraf\nobreak\vskip -\parskip\nobreak
\endgroup} \endgroup}
@@ -5093,7 +5113,7 @@ width0pt\relax} \fi
\def\deftypevr{\defvrparsebody\Edeftypevr\deftypevrx\deftypevrheader} \def\deftypevr{\defvrparsebody\Edeftypevr\deftypevrx\deftypevrheader}
\def\deftypevrheader #1#2#3{\dovarind#3 \relax% \def\deftypevrheader #1#2#3{\dovarind#3 \relax%
\begingroup\defname {\defheaderxcond#2\relax$$$#3}{#1} \begingroup\defname {\defheaderxcond#2\relax$.$#3}{#1}
\interlinepenalty=10000 \interlinepenalty=10000
\endgraf\nobreak\vskip -\parskip\nobreak \endgraf\nobreak\vskip -\parskip\nobreak
\endgroup} \endgroup}
@@ -5904,7 +5924,7 @@ width0pt\relax} \fi
% #5 is (ignored optional) extension. % #5 is (ignored optional) extension.
% #6 is just the usual extra ignored arg for parsing this stuff. % #6 is just the usual extra ignored arg for parsing this stuff.
\newif\ifimagevmode \newif\ifimagevmode
\def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup \loggingall \def\imagexxx#1,#2,#3,#4,#5,#6\finish{\begingroup
\catcode`\^^M = 5 % in case we're inside an example \catcode`\^^M = 5 % in case we're inside an example
\normalturnoffactive % allow _ et al. in names \normalturnoffactive % allow _ et al. in names
% If the image is by itself, center it. % If the image is by itself, center it.
@@ -6153,7 +6173,7 @@ should work if nowhere else does.}
\def\normalless{<} \def\normalless{<}
\def\normalgreater{>} \def\normalgreater{>}
\def\normalplus{+} \def\normalplus{+}
\def\normaldollar{$} \def\normaldollar{$}%$ font-lock fix
% This macro is used to make a character print one way in ttfont % This macro is used to make a character print one way in ttfont
% where it can probably just be output, and another way in other fonts, % where it can probably just be output, and another way in other fonts,
@@ -6202,7 +6222,7 @@ should work if nowhere else does.}
\catcode`\+=\active \catcode`\+=\active
\def+{{\tt \char 43}} \def+{{\tt \char 43}}
\catcode`\$=\active \catcode`\$=\active
\def${\ifusingit{{\sl\$}}\normaldollar} \def${\ifusingit{{\sl\$}}\normaldollar}%$ font-lock fix
%\catcode 27=\active %\catcode 27=\active
%\def^^[{$\diamondsuit$} %\def^^[{$\diamondsuit$}
@@ -6247,7 +6267,7 @@ should work if nowhere else does.}
@let<=@normalless @let<=@normalless
@let>=@normalgreater @let>=@normalgreater
@let+=@normalplus @let+=@normalplus
@let$=@normaldollar} @let$=@normaldollar}%$ font-lock fix
@def@normalturnoffactive{@let"=@normaldoublequote @def@normalturnoffactive{@let"=@normaldoublequote
@let\=@normalbackslash @let\=@normalbackslash
@@ -6258,7 +6278,7 @@ should work if nowhere else does.}
@let<=@normalless @let<=@normalless
@let>=@normalgreater @let>=@normalgreater
@let+=@normalplus @let+=@normalplus
@let$=@normaldollar} @let$=@normaldollar}%$ font-lock fix
% Make _ and + \other characters, temporarily. % Make _ and + \other characters, temporarily.
% This is canceled by @fixbackslash. % This is canceled by @fixbackslash.
Vendored
+10 -10
View File
@@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.52h for GNU Bison 1.33. # Generated by GNU Autoconf 2.52h for GNU Bison 1.33b.
# #
# Report bugs to <[email protected]>. # Report bugs to <[email protected]>.
# #
@@ -256,8 +256,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='GNU Bison' PACKAGE_NAME='GNU Bison'
PACKAGE_TARNAME='bison' PACKAGE_TARNAME='bison'
PACKAGE_VERSION='1.33' PACKAGE_VERSION='1.33b'
PACKAGE_STRING='GNU Bison 1.33' PACKAGE_STRING='GNU Bison 1.33b'
PACKAGE_BUGREPORT='[email protected]' PACKAGE_BUGREPORT='[email protected]'
# Factoring default headers for most tests. # Factoring default headers for most tests.
@@ -760,7 +760,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures GNU Bison 1.33 to adapt to many kinds of systems. \`configure' configures GNU Bison 1.33b to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -826,7 +826,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of GNU Bison 1.33:";; short | recursive ) echo "Configuration of GNU Bison 1.33b:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -921,7 +921,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
GNU Bison configure 1.33 GNU Bison configure 1.33b
generated by GNU Autoconf 2.52h generated by GNU Autoconf 2.52h
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -936,7 +936,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by GNU Bison $as_me 1.33, which was It was created by GNU Bison $as_me 1.33b, which was
generated by GNU Autoconf 2.52h. Invocation command line was generated by GNU Autoconf 2.52h. Invocation command line was
$ $0 $@ $ $0 $@
@@ -1469,7 +1469,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE=bison PACKAGE=bison
VERSION=1.33 VERSION=1.33b
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
@@ -9472,7 +9472,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by GNU Bison $as_me 1.33, which was This file was extended by GNU Bison $as_me 1.33b, which was
generated by GNU Autoconf 2.52h. Invocation command line was generated by GNU Autoconf 2.52h. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -9534,7 +9534,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
GNU Bison config.status 1.33 GNU Bison config.status 1.33b
configured by $0, generated by GNU Autoconf 2.52h, configured by $0, generated by GNU Autoconf 2.52h,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+2 -2
View File
@@ -20,10 +20,10 @@
# We need a recent Autoconf to run a recent Autotest. # We need a recent Autoconf to run a recent Autotest.
AC_PREREQ(2.52g) AC_PREREQ(2.52g)
AC_INIT([GNU Bison], [1.33], [[email protected]]) AC_INIT([GNU Bison], [1.33b], [[email protected]])
AC_CONFIG_AUX_DIR(config) AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE([bison], [1.33]) AM_INIT_AUTOMAKE([bison], [1.33b])
AM_CONFIG_HEADER(config.h:config.hin) AM_CONFIG_HEADER(config.h:config.hin)
# Initialize the test suite. # Initialize the test suite.
+40 -5
View File
@@ -304,6 +304,8 @@ Invoking Bison
* Bison Options:: All the options described in detail, * Bison Options:: All the options described in detail,
in alphabetical order by short options. in alphabetical order by short options.
* Option Cross Key:: Alphabetical list of long options. * Option Cross Key:: Alphabetical list of long options.
* Extension Limitations Under DOS:: Bison output files extension differences
depending on the DOS/Windows file system flavour used.
* VMS Invocation:: Bison command syntax on VMS. * VMS Invocation:: Bison command syntax on VMS.
Copying This Manual Copying This Manual
@@ -706,8 +708,7 @@ In some cases the Bison parser file includes system headers, and in
those cases your code should respect the identifiers reserved by those those cases your code should respect the identifiers reserved by those
headers. On some non-@sc{gnu} hosts, @code{<alloca.h>}, headers. On some non-@sc{gnu} hosts, @code{<alloca.h>},
@code{<stddef.h>}, and @code{<stdlib.h>} are included as needed to @code{<stddef.h>}, and @code{<stdlib.h>} are included as needed to
declare memory allocators and related types. In the same situation, declare memory allocators and related types.
C++ parsers may include @code{<cstddef>} and @code{<cstdlib>} instead.
Other system headers may be included if you define @code{YYDEBUG} to a Other system headers may be included if you define @code{YYDEBUG} to a
nonzero value (@pxref{Debugging, ,Debugging Your Parser}). nonzero value (@pxref{Debugging, ,Debugging Your Parser}).
@@ -4939,9 +4940,7 @@ The trace facility outputs messages with macro calls of the form
@var{format} and @var{args} are the usual @code{printf} format and @var{format} and @var{args} are the usual @code{printf} format and
arguments. If you define @code{YYDEBUG} to a nonzero value but do not arguments. If you define @code{YYDEBUG} to a nonzero value but do not
define @code{YYFPRINTF}, @code{<stdio.h>} is automatically included define @code{YYFPRINTF}, @code{<stdio.h>} is automatically included
and @code{YYPRINTF} is defined to @code{fprintf}. In the same and @code{YYPRINTF} is defined to @code{fprintf}.
situation, C++ parsers include @code{<cstdio>} and use
@code{std::fprintf} instead.
Once you have compiled the program with trace facilities, the way to Once you have compiled the program with trace facilities, the way to
request a trace is to store a nonzero value in the variable @code{yydebug}. request a trace is to store a nonzero value in the variable @code{yydebug}.
@@ -5047,6 +5046,8 @@ will produce @file{output.c++} and @file{outfile.h++}.
in alphabetical order by short options. in alphabetical order by short options.
* Environment Variables:: Variables which affect Bison execution. * Environment Variables:: Variables which affect Bison execution.
* Option Cross Key:: Alphabetical list of long options. * Option Cross Key:: Alphabetical list of long options.
* Extension Limitations Under DOS:: Bison output files extension differences
depending on the DOS/Windows file system flavour used.
* VMS Invocation:: Bison command syntax on VMS. * VMS Invocation:: Bison command syntax on VMS.
@end menu @end menu
@@ -5244,6 +5245,40 @@ the corresponding short option.
@end example @end example
@end ifinfo @end ifinfo
@node Extension Limitations Under DOS
@section Extension Limitations under DOS
@cindex extension limitations under DOS
@cindex DOS
On DOS/Windows 9X systems the file name extensions of the output files,
like @file{.tab.c}, that may be used depend on the file system in use.
The plain DOS file system has limited file name length, does not allow
the use of a set of certain illicit characters and does not allow more
than a single dot in the file name.
The DJGPP port of @code{bison} will detect at runtime if (LFN) long file
name support is available or not. LFN support will be available in a
DOS session under Windows 9X and successors. Windows NT 4.0 needs a
special LFN driver (@file{ntlfn08b.zip}) or later available at any
simtelnet mirror in the /v2misc dir) for proper LFN support in a DOS
session. If LFN support is available the DJGPP port of @code{bison}
will use the standard POSIX file name extensions of the output files.
If LFN support is not available, then the DJGPP port of @code{bison}
will use DOS specific file name extensions.
@noindent This table summarizes the used extensions:
@multitable @columnfractions 0.1 0.45 0.45
@item @tab LFN extension (Win9X) @tab SFN extension (plain DOS)
@item @tab @file{.tab.c} @tab @file{_tab.c}
@item @tab @file{.tab.h} @tab @file{_tab.h}
@item @tab @file{.tab.cpp} @tab @file{_tab.cpp}
@item @tab @file{.tab.hpp} @tab @file{_tab.hpp}
@item @tab @file{.output} @tab @file{.out}
@item @tab @file{.stype.h} @tab @file{.sth}
@item @tab @file{.guard.c} @tab @file{.guc}
@end multitable
@node VMS Invocation @node VMS Invocation
@section Invoking Bison under VMS @section Invoking Bison under VMS
@cindex invoking Bison under VMS @cindex invoking Bison under VMS
+4 -4
View File
@@ -1,4 +1,4 @@
@set UPDATED 5 January 2002 @set UPDATED 25 February 2002
@set UPDATED-MONTH January 2002 @set UPDATED-MONTH February 2002
@set EDITION 1.33 @set EDITION 1.33b
@set VERSION 1.33 @set VERSION 1.33b
+29 -26
View File
@@ -5,15 +5,15 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.32\n" "Project-Id-Version: bison 1.33\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2002-01-24 12:27:06+0100\n" "PO-Revision-Date: 2002-02-08 09:34:24+0100\n"
"Last-Translator: Michael Piefel <[email protected]>\n" "Last-Translator: Michael Piefel <[email protected]>\n"
"Language-Team: German <[email protected]>\n" "Language-Team: German <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8-bit\n" "Content-Transfer-Encoding: 8-bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
#: src/LR0.c:189 #: src/LR0.c:189
#, c-format #, c-format
@@ -124,12 +124,12 @@ msgstr " %-4s\treduziere mit Regel %d (%s)\n"
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $default\treduziere mit Regel %d (%s)\n" msgstr " $default\treduziere mit Regel %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "kann Datei »%s« nicht öffnen" msgstr "kann Datei »%s« nicht öffnen"
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "kann Datei nicht schließen" msgstr "kann Datei nicht schließen"
@@ -234,22 +234,22 @@ msgstr ""
"gibt keine Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE " "gibt keine Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE "
"ZWECKE.\n" "ZWECKE.\n"
#: src/getargs.c:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "»%s« wird nicht länger unterstützt" msgstr "»%s« wird nicht länger unterstützt"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "»%s --help« gibt weitere Informationen.\n" msgstr "»%s --help« gibt weitere Informationen.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, 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:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: zusätzliche Argumente nach »%s« werden ignoriert\n" msgstr "%s: zusätzliche Argumente nach »%s« werden ignoriert\n"
@@ -437,9 +437,8 @@ msgid "unterminated string"
msgstr "unbeendete Zeichenkette" msgstr "unbeendete Zeichenkette"
#: src/reader.c:339 #: src/reader.c:339
#, fuzzy
msgid "invalid @ value" msgid "invalid @ value"
msgstr "unzulässiger $-Wert" msgstr "unzulässiger @-Wert"
#: src/reader.c:352 src/reader.c:416 #: src/reader.c:352 src/reader.c:416
#, c-format #, c-format
@@ -578,71 +577,75 @@ msgstr "Grammatik fängt mit einem vertikalen Strich (»|«) an"
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:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
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:1522 #: src/reader.c:1525
#, 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:1531 #: src/reader.c:1534
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:1545 #: src/reader.c:1548
#, 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:1551 #: src/reader.c:1554
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "leere Regel für Nicht-Terminal mit Typ und keine Aktion" msgstr "leere Regel für Nicht-Terminal mit Typ und keine Aktion"
#: src/reader.c:1595 #: src/reader.c:1600
#, 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:1603 #: src/reader.c:1608
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "zu viele Symbole (Token plus Nicht-Terminale); Maximum %d" msgstr "zu viele Symbole (Token plus Nicht-Terminale); Maximum %d"
#: src/reader.c:1606 #: src/reader.c:1611
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:1630 #: src/reader.c:1635
#, 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:1765 #: 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 "Token %s und %s haben die selbe Nummer %d" msgstr "Token %s und %s haben die selbe Nummer %d"
#: src/reader.c:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "Vorrang für %s und %s widersprechen sich" msgstr "Vorrang für %s und %s widersprechen sich"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "Assoziativitäts-Werte für %s und %s widersprechen sich" msgstr "Assoziativitäts-Werte für %s und %s widersprechen sich"
#: src/reader.c:1869 #: src/reader.c:1874
#, 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:1871 #: src/reader.c:1876
#, 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"
+25 -21
View File
@@ -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: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+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"
@@ -179,12 +179,12 @@ msgstr " %-4s\treduce usando la regla %d (%s)\n"
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $default\treduce usando la regla %d (%s)\n" msgstr " $default\treduce usando la regla %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "" msgstr ""
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "" msgstr ""
@@ -259,25 +259,25 @@ msgid ""
"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:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "" msgstr ""
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "" msgstr ""
# 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:255 #: src/getargs.c:261
#, 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:259 #: src/getargs.c:265
#, 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"
@@ -646,75 +646,79 @@ msgstr "la gram
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:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
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:1522 #: src/reader.c:1525
#, 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:1531 #: src/reader.c:1534
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:1545 #: src/reader.c:1548
#, 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:1551 #: src/reader.c:1554
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:1595 #: src/reader.c:1600
#, 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:1603 #: src/reader.c:1608
#, 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:1606 #: src/reader.c:1611
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:1630 #: src/reader.c:1635
#, 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:1765 #: 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:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "precedencias en conflicto entre %s y %s" msgstr "precedencias en conflicto entre %s y %s"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "conflicto de valores assoc para %s y %s" msgstr "conflicto de valores assoc para %s y %s"
#: src/reader.c:1869 #: src/reader.c:1874
#, 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:1871 #: src/reader.c:1876
#, 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"
+28 -25
View File
@@ -4,9 +4,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.32\n" "Project-Id-Version: bison 1.33\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2002-01-23 16:28+0200\n" "PO-Revision-Date: 2002-02-08 00:15+0200\n"
"Last-Translator: Toomas Soome <[email protected]>\n" "Last-Translator: Toomas Soome <[email protected]>\n"
"Language-Team: Estonian <[email protected]>\n" "Language-Team: Estonian <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -123,12 +123,12 @@ msgstr " %-4s\tredutseerin kasutades reeglit %d (%s)\n"
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $default\tredutseerin kasutades reeglit %d (%s)\n" msgstr " $default\tredutseerin kasutades reeglit %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, 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:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "faili ei õnnestu sulgeda" msgstr "faili ei õnnestu sulgeda"
@@ -227,22 +227,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:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "`%s' ei ole enam toetatud" msgstr "`%s' ei ole enam toetatud"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "Lisainfo saamiseks proovige `%s --help'.\n" msgstr "Lisainfo saamiseks proovige `%s --help'.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, 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:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: ignoreerin lisaargumente peale `%s'\n" msgstr "%s: ignoreerin lisaargumente peale `%s'\n"
@@ -429,9 +429,8 @@ msgid "unterminated string"
msgstr "lõpetamata sõne" msgstr "lõpetamata sõne"
#: src/reader.c:339 #: src/reader.c:339
#, fuzzy
msgid "invalid @ value" msgid "invalid @ value"
msgstr "vigane $ väärtus" msgstr "vigane @ väärtus"
#: src/reader.c:352 src/reader.c:416 #: src/reader.c:352 src/reader.c:416
#, c-format #, c-format
@@ -568,70 +567,74 @@ msgstr "grammatika algab p
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:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
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:1522 #: src/reader.c:1525
#, 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:1531 #: src/reader.c:1534
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:1545 #: src/reader.c:1548
#, 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:1551 #: src/reader.c:1554
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:1595 #: src/reader.c:1600
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "vigane sisend: %s" msgstr "vigane sisend: %s"
#: src/reader.c:1603 #: src/reader.c:1608
#, 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:1606 #: src/reader.c:1611
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:1630 #: src/reader.c:1635
#, 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:1765 #: 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:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "%s ja %s omavad konfliktseid prioriteete" msgstr "%s ja %s omavad konfliktseid prioriteete"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "%s ja %s omavad konfliktseid assotsiatiivseid väärtuseid" msgstr "%s ja %s omavad konfliktseid assotsiatiivseid väärtuseid"
#: src/reader.c:1869 #: src/reader.c:1874
#, 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:1871 #: src/reader.c:1876
#, 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"
+28 -25
View File
@@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GNU bison 1.32\n" "Project-Id-Version: GNU bison 1.33\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2002-01-26 13:30-0500\n" "PO-Revision-Date: 2002-02-11 08: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"
@@ -125,12 +125,12 @@ msgstr " %-4s\tr
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $défaut\tréduction par la règle %d (%s)\n" msgstr " $défaut\tréduction par la règle %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "ne peut ouvrir le fichier `%s'" msgstr "ne peut ouvrir le fichier `%s'"
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "ne peut fermer le fichier" msgstr "ne peut fermer le fichier"
@@ -234,22 +234,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:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "`%s' n'est plus supporté" msgstr "`%s' n'est plus supporté"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "Pour en savoir davantage, faites: `%s --help'.\n" msgstr "Pour en savoir davantage, faites: `%s --help'.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, 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:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: arguments supplémentaires ignorés après `%s'\n" msgstr "%s: arguments supplémentaires ignorés après `%s'\n"
@@ -436,9 +436,8 @@ msgid "unterminated string"
msgstr "chaîne de caractère non terminée" msgstr "chaîne de caractère non terminée"
#: src/reader.c:339 #: src/reader.c:339
#, fuzzy
msgid "invalid @ value" msgid "invalid @ value"
msgstr "la valeur de symbole $ n'est pas valide" msgstr "valeur @ invalide"
#: src/reader.c:352 src/reader.c:416 #: src/reader.c:352 src/reader.c:416
#, c-format #, c-format
@@ -576,70 +575,74 @@ msgstr "la grammaire d
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:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
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:1522 #: src/reader.c:1525
#, 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:1531 #: src/reader.c:1534
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:1545 #: src/reader.c:1548
#, 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:1551 #: src/reader.c:1554
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:1595 #: src/reader.c:1600
#, 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:1603 #: src/reader.c:1608
#, 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:1606 #: src/reader.c:1611
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:1630 #: src/reader.c:1635
#, 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:1765 #: 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:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "les priorités pour %s et %s entrent en conflit" msgstr "les priorités pour %s et %s entrent en conflit"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "les valeurs d'association de %s et %s entrent en conflit" msgstr "les valeurs d'association de %s et %s entrent en conflit"
#: src/reader.c:1869 #: src/reader.c:1874
#, 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:1871 #: src/reader.c:1876
#, 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"
+25 -21
View File
@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.31\n" "Project-Id-Version: bison 1.31\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2002-01-23 14:16+0100\n" "PO-Revision-Date: 2002-01-23 14:16+0100\n"
"Last-Translator: Paolo Bonzini <[email protected]>\n" "Last-Translator: Paolo Bonzini <[email protected]>\n"
"Language-Team: Italian <[email protected]>\n" "Language-Team: Italian <[email protected]>\n"
@@ -124,12 +124,12 @@ msgstr " %-4s\triduzione con la regola %d (%s)\n"
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $default\triduzione con la regola %d (%s)\n" msgstr " $default\triduzione con la regola %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "impossibile aprire il file `%s'" msgstr "impossibile aprire il file `%s'"
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "impossibile chiudere il file `%s'" msgstr "impossibile chiudere il file `%s'"
@@ -229,22 +229,22 @@ msgstr ""
"sottoposta la copia. NON c'è ALCUNA garanzia, neanche di\n" "sottoposta la copia. NON c'è ALCUNA garanzia, neanche di\n"
"COMMERCIABILITA` o di ADEGUATEZZA AD UN PARTICOLARE SCOPO.\n" "COMMERCIABILITA` o di ADEGUATEZZA AD UN PARTICOLARE SCOPO.\n"
#: src/getargs.c:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "`%s' non è più supportato" msgstr "`%s' non è più supportato"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "Provare `%s --help' per ulteriori informazioni.\n" msgstr "Provare `%s --help' per ulteriori informazioni.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, c-format #, c-format
msgid "%s: no grammar file given\n" msgid "%s: no grammar file given\n"
msgstr "%s: nessun file grammatica specificato\n" msgstr "%s: nessun file grammatica specificato\n"
#: src/getargs.c:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: ignorati gli argomenti successivi a `%s'\n" msgstr "%s: ignorati gli argomenti successivi a `%s'\n"
@@ -571,68 +571,72 @@ msgstr "la grammatica comincia con un `|'"
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "fornita una regola per il token %s" msgstr "fornita una regola per il token %s"
#: src/reader.c:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "due @prec di seguito" msgstr "due @prec di seguito"
#: src/reader.c:1522 #: src/reader.c:1525
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "trovato %%guard senza che sia specificato %%semantic_parser" msgstr "trovato %%guard senza che sia specificato %%semantic_parser"
#: src/reader.c:1531 #: src/reader.c:1534
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "due azioni alla fine di una regola" msgstr "due azioni alla fine di una regola"
#: src/reader.c:1545 #: src/reader.c:1548
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "conflitto di tipo (`%s' e `%s') nell'azione di default" msgstr "conflitto di tipo (`%s' e `%s') nell'azione di default"
#: src/reader.c:1551 #: src/reader.c:1554
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "regola vuota e nessuna azione per un nonterminale con tipo" msgstr "regola vuota e nessuna azione per un nonterminale con tipo"
#: src/reader.c:1595 #: src/reader.c:1600
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "input non valido: %s" msgstr "input non valido: %s"
#: src/reader.c:1603 #: src/reader.c:1608
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "troppi simboli (token e nonterminali); il massimo è %d" msgstr "troppi simboli (token e nonterminali); il massimo è %d"
#: src/reader.c:1606 #: src/reader.c:1611
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "nessuna regola nella grammatica di input" msgstr "nessuna regola nella grammatica di input"
#: src/reader.c:1630 #: src/reader.c:1635
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "usato il simbolo %s, ma non è un token e non ha regole" msgstr "usato il simbolo %s, ma non è un token e non ha regole"
#: src/reader.c:1765 #: 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 "i token %s e %s hanno lo stesso numero %d" msgstr "i token %s e %s hanno lo stesso numero %d"
#: src/reader.c:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "precedenze in conflitto per %s und %s" msgstr "precedenze in conflitto per %s und %s"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "associatività in conflitto per %s e %s" msgstr "associatività in conflitto per %s e %s"
#: src/reader.c:1869 #: src/reader.c:1874
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "simbolo iniziale %s non definito" msgstr "simbolo iniziale %s non definito"
#: src/reader.c:1871 #: src/reader.c:1876
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "specificato il token %s come simbolo iniziale" msgstr "specificato il token %s come simbolo iniziale"
+25 -21
View File
@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: GNU bison 1.30f\n" "Project-Id-Version: GNU bison 1.30f\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2001-12-10 15:59+0900\n" "PO-Revision-Date: 2001-12-10 15:59+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"
@@ -119,12 +119,12 @@ msgstr " %-4s\t
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $default\t規則 %d を利用して還元 (%s)\n" msgstr " $default\t規則 %d を利用して還元 (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "ファイル `%s' を開けません" msgstr "ファイル `%s' を開けません"
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "ファイルを閉じることができません" msgstr "ファイルを閉じることができません"
@@ -226,22 +226,22 @@ msgstr ""
"これはフリーソフトウェアです -- 複製についての条件はソースを見ましょう。\n" "これはフリーソフトウェアです -- 複製についての条件はソースを見ましょう。\n"
"一切の保証はありません -- 商業性や目的適合性についての保証すらありません。\n" "一切の保証はありません -- 商業性や目的適合性についての保証すらありません。\n"
#: src/getargs.c:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "`%s' は最早サポートされません" msgstr "`%s' は最早サポートされません"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "`%s --help' で詳細情報を参照してください\n" msgstr "`%s --help' で詳細情報を参照してください\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, 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:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: `%s' の後ろの余分な引数は無視されました\n" msgstr "%s: `%s' の後ろの余分な引数は無視されました\n"
@@ -567,70 +567,74 @@ msgstr "ʸˡ
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:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "@prec のもの二つが同列になっています" msgstr "@prec のもの二つが同列になっています"
#: src/reader.c:1522 #: src/reader.c:1525
#, 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:1531 #: src/reader.c:1534
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "一つの規則の終りに二つの動作を指定しています" msgstr "一つの規則の終りに二つの動作を指定しています"
#: src/reader.c:1545 #: src/reader.c:1548
#, 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:1551 #: src/reader.c:1554
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "空の型付き非終端アイテム用規則であり、動作が起りません" msgstr "空の型付き非終端アイテム用規則であり、動作が起りません"
#: src/reader.c:1595 #: src/reader.c:1600
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "不適切な入力: %s" msgstr "不適切な入力: %s"
#: src/reader.c:1603 #: src/reader.c:1608
#, 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:1606 #: src/reader.c:1611
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "入力した文法に規則が定義されていません" msgstr "入力した文法に規則が定義されていません"
#: src/reader.c:1630 #: src/reader.c:1635
#, 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:1765 #: 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:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "先行している %s と %s で競合が生じています" msgstr "先行している %s と %s で競合が生じています"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "非結合値 %s と %s で競合が生じています" msgstr "非結合値 %s と %s で競合が生じています"
#: src/reader.c:1869 #: src/reader.c:1874
#, 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:1871 #: src/reader.c:1876
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "開始シンボル %s はトークンです" msgstr "開始シンボル %s はトークンです"
+25 -21
View File
@@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.32\n" "Project-Id-Version: bison 1.32\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2002-02-01 18:46+0000\n" "PO-Revision-Date: 2002-02-01 18:46+0000\n"
"Last-Translator: Tim Van Holder <[email protected]>\n" "Last-Translator: Tim Van Holder <[email protected]>\n"
"Language-Team: Dutch <[email protected]>\n" "Language-Team: Dutch <[email protected]>\n"
@@ -125,12 +125,12 @@ msgstr " %-4s\treductie via regel %d (%s)\n"
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $standaard\treductie via regel %d (%s)\n" msgstr " $standaard\treductie via regel %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "kan bestand `%s' niet openen" msgstr "kan bestand `%s' niet openen"
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "kan bestand niet sluiten" msgstr "kan bestand niet sluiten"
@@ -238,22 +238,22 @@ msgstr ""
"garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD\n" "garantie; zelfs niet voor VERKOOPBAARHEID of GESCHIKTHEID VOOR EEN BEPAALD\n"
"DOEL.\n" "DOEL.\n"
#: src/getargs.c:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "`%s' wordt niet meer ondersteund" msgstr "`%s' wordt niet meer ondersteund"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "Probeer `%s --help' voor meer informatie.\n" msgstr "Probeer `%s --help' voor meer informatie.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, c-format #, c-format
msgid "%s: no grammar file given\n" msgid "%s: no grammar file given\n"
msgstr "%s: geen grammaticabestand opgegeven\n" msgstr "%s: geen grammaticabestand opgegeven\n"
#: src/getargs.c:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: extra argumenten na `%s' worden genegeerd\n" msgstr "%s: extra argumenten na `%s' worden genegeerd\n"
@@ -585,70 +585,74 @@ msgstr "grammatica start met een verticale streep"
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "regel opgegeven voor token (%s)" msgstr "regel opgegeven voor token (%s)"
#: src/reader.c:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "twee @prec's na elkaar" msgstr "twee @prec's na elkaar"
#: src/reader.c:1522 #: src/reader.c:1525
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard aanwezig maar %%semantic_parser niet opgegeven" msgstr "%%guard aanwezig maar %%semantic_parser niet opgegeven"
#: src/reader.c:1531 #: src/reader.c:1534
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "twee akties aan het einde van één regel" msgstr "twee akties aan het einde van één regel"
#: src/reader.c:1545 #: src/reader.c:1548
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "type-conflict (`%s' `%s') bij standaardaktie" msgstr "type-conflict (`%s' `%s') bij standaardaktie"
#: src/reader.c:1551 #: src/reader.c:1554
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "lege regel voor niet-eindsymbool met type, en geen actie" msgstr "lege regel voor niet-eindsymbool met type, en geen actie"
#: src/reader.c:1595 #: src/reader.c:1600
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "ongeldige invoer: %s" msgstr "ongeldige invoer: %s"
#: src/reader.c:1603 #: src/reader.c:1608
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "teveel symbolen (tokens plus niet-eindsymbolen); het maximum is %d" msgstr "teveel symbolen (tokens plus niet-eindsymbolen); het maximum is %d"
#: src/reader.c:1606 #: src/reader.c:1611
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "invoergrammatica bevat geen regels" msgstr "invoergrammatica bevat geen regels"
#: src/reader.c:1630 #: src/reader.c:1635
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"symbool %s wordt gebruikt, maar is niet gedefinieerd als een teken en heeft " "symbool %s wordt gebruikt, maar is niet gedefinieerd als een teken en heeft "
"geen regels" "geen regels"
#: src/reader.c:1765 #: 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 "tokens %s en %s hebben beide nummer %d toegewezen gekregen" msgstr "tokens %s en %s hebben beide nummer %d toegewezen gekregen"
#: src/reader.c:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "voorrangen voor %s en %s geven conflicten" msgstr "voorrangen voor %s en %s geven conflicten"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "associativiteitswaarden voor %s en %s geven conflicten" msgstr "associativiteitswaarden voor %s en %s geven conflicten"
#: src/reader.c:1869 #: src/reader.c:1874
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "het startsymbool %s is niet gedefinieerd" msgstr "het startsymbool %s is niet gedefinieerd"
#: src/reader.c:1871 #: src/reader.c:1876
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "het startsymbool %s is een token" msgstr "het startsymbool %s is een token"
+25 -21
View File
@@ -5,7 +5,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.32\n" "Project-Id-Version: bison 1.32\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2002-01-25 12:19+0300\n" "PO-Revision-Date: 2002-01-25 12:19+0300\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"
@@ -126,12 +126,12 @@ msgstr " %-4s\t
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $default\t×Ù×ÏÄ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÐÒÁ×ÉÌÁ %d (%s)\n" msgstr " $default\t×Ù×ÏÄ Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ ÐÒÁ×ÉÌÁ %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÏÔËÒÙÔØ ÆÁÊÌ `%s'" msgstr "ÎÅ ÕÄÁÅÔÓÑ ÏÔËÒÙÔØ ÆÁÊÌ `%s'"
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ" msgstr "ÎÅ ÕÄÁÅÔÓÑ ÚÁËÒÙÔØ ÆÁÊÌ"
@@ -235,22 +235,22 @@ msgstr ""
"ðòéçïäîïóôé\n" "ðòéçïäîïóôé\n"
"äìñ ïðòåäåìåîîïê ãåìé.\n" "äìñ ïðòåäåìåîîïê ãåìé.\n"
#: src/getargs.c:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "`%s' ÂÏÌØÛÅ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ" msgstr "`%s' ÂÏÌØÛÅ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "éÓÐÏÌØÚÕÊÔÅ `%s --help' ÄÌÑ ÄÏÐÏÌÎÉÔÅÌØÎÏÊ ÉÎÆÏÒÍÁÃÉÉ.\n" msgstr "éÓÐÏÌØÚÕÊÔÅ `%s --help' ÄÌÑ ÄÏÐÏÌÎÉÔÅÌØÎÏÊ ÉÎÆÏÒÍÁÃÉÉ.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, 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:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: ÌÉÛÎÉÅ ÁÒÇÕÍÅÎÔÙ ÐÏÓÌÅ `%s' ÉÇÎÏÒÉÒÏ×ÁÎÙ\n" msgstr "%s: ÌÉÛÎÉÅ ÁÒÇÕÍÅÎÔÙ ÐÏÓÌÅ `%s' ÉÇÎÏÒÉÒÏ×ÁÎÙ\n"
@@ -576,69 +576,73 @@ msgstr "
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:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "Ä×Á @prec ÐÏÄÒÑÄ" msgstr "Ä×Á @prec ÐÏÄÒÑÄ"
#: src/reader.c:1522 #: src/reader.c:1525
#, 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:1531 #: src/reader.c:1534
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "Ä×Á ÄÅÊÓÔ×ÉÑ × ËÏÎÃÅ ÏÄÎÏÇÏ ÐÒÁ×ÉÌÁ" msgstr "Ä×Á ÄÅÊÓÔ×ÉÑ × ËÏÎÃÅ ÏÄÎÏÇÏ ÐÒÁ×ÉÌÁ"
#: src/reader.c:1545 #: src/reader.c:1548
#, 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:1551 #: src/reader.c:1554
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "" msgstr ""
"ÐÕÓÔÏÅ ÐÒÁ×ÉÌÏ ÄÌÑ ÔÉÐÉÚÉÒÏ×ÁÎÎÏÇÏ ÎÅÔÅÒÍÉÎÁÌØÎÏÇÏ ÓÉÍ×ÏÌÁ, É ÎÅÔ ÄÅÊÓÔ×ÉÑ" "ÐÕÓÔÏÅ ÐÒÁ×ÉÌÏ ÄÌÑ ÔÉÐÉÚÉÒÏ×ÁÎÎÏÇÏ ÎÅÔÅÒÍÉÎÁÌØÎÏÇÏ ÓÉÍ×ÏÌÁ, É ÎÅÔ ÄÅÊÓÔ×ÉÑ"
#: src/reader.c:1595 #: src/reader.c:1600
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "ÎÅ×ÅÒÎÙÅ ×ÈÏÄÎÙÅ ÄÁÎÎÙÅ: %s" msgstr "ÎÅ×ÅÒÎÙÅ ×ÈÏÄÎÙÅ ÄÁÎÎÙÅ: %s"
#: src/reader.c:1603 #: src/reader.c:1608
#, 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:1606 #: src/reader.c:1611
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "ÏÔÓÕÔÓÔ×ÕÀÔ ÐÒÁ×ÉÌÁ ×Ï ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÅ" msgstr "ÏÔÓÕÔÓÔ×ÕÀÔ ÐÒÁ×ÉÌÁ ×Ï ×ÈÏÄÎÏÊ ÇÒÁÍÍÁÔÉËÅ"
#: src/reader.c:1630 #: src/reader.c:1635
#, 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:1765 #: 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:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÐÒÉÏÒÉÔÅÔÙ ÄÌÑ %s É %s" msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÐÒÉÏÒÉÔÅÔÙ ÄÌÑ %s É %s"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÚÎÁÞÅÎÉÑ ÁÓÓÏÃÉÁÔÉ×ÎÏÓÔÉ ÄÌÑ %s É %s" msgstr "ÐÒÏÔÉ×ÏÒÅÞÉ×ÙÅ ÚÎÁÞÅÎÉÑ ÁÓÓÏÃÉÁÔÉ×ÎÏÓÔÉ ÄÌÑ %s É %s"
#: src/reader.c:1869 #: src/reader.c:1874
#, 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:1871 #: src/reader.c:1876
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ" msgstr "ÎÁÞÁÌØÎÙÊ ÓÉÍ×ÏÌ %s Ñ×ÌÑÅÔÓÑ ÌÅËÓÅÍÏÊ"
+28 -25
View File
@@ -5,9 +5,9 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.32\n" "Project-Id-Version: bison 1.33\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2002-01-23 19:59+0100\n" "PO-Revision-Date: 2002-02-07 22:57+0100\n"
"Last-Translator: Göran Uddeborg <[email protected]>\n" "Last-Translator: Göran Uddeborg <[email protected]>\n"
"Language-Team: Swedish <[email protected]>\n" "Language-Team: Swedish <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@@ -125,12 +125,12 @@ msgstr " %-4s\treducera med regel %d (%s)\n"
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $standard\treducera med regel %d (%s)\n" msgstr " $standard\treducera med regel %d (%s)\n"
#: src/files.c:150 #: src/files.c:151
#, c-format #, c-format
msgid "cannot open file `%s'" msgid "cannot open file `%s'"
msgstr "kan inte öppna filen \"%s\"" msgstr "kan inte öppna filen \"%s\""
#: src/files.c:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "kan inte stänga fil" msgstr "kan inte stänga fil"
@@ -233,22 +233,22 @@ msgstr ""
"finns INGEN garanti, inte ens för SÄLJBARHET eller LÄMPLIGHET FÖR ETT\n" "finns INGEN garanti, inte ens för SÄLJBARHET eller LÄMPLIGHET FÖR ETT\n"
"SPECIELLT ÄNDAMÅL.\n" "SPECIELLT ÄNDAMÅL.\n"
#: src/getargs.c:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "\"%s\" stöds inte längre" msgstr "\"%s\" stöds inte längre"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "Försök med \"%s --help\" för mer information.\n" msgstr "Försök med \"%s --help\" för mer information.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, c-format #, c-format
msgid "%s: no grammar file given\n" msgid "%s: no grammar file given\n"
msgstr "%s: ingen grammatikfil angiven\n" msgstr "%s: ingen grammatikfil angiven\n"
#: src/getargs.c:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: extra argument ignorerade efter \"%s\"\n" msgstr "%s: extra argument ignorerade efter \"%s\"\n"
@@ -435,9 +435,8 @@ msgid "unterminated string"
msgstr "oavslutad sträng" msgstr "oavslutad sträng"
#: src/reader.c:339 #: src/reader.c:339
#, fuzzy
msgid "invalid @ value" msgid "invalid @ value"
msgstr "felaktigt $-värde" msgstr "felaktigt @-värde"
#: src/reader.c:352 src/reader.c:416 #: src/reader.c:352 src/reader.c:416
#, c-format #, c-format
@@ -574,70 +573,74 @@ msgstr "grammatiken startar med ett vertikalt streck"
msgid "rule given for %s, which is a token" msgid "rule given for %s, which is a token"
msgstr "regel given för %s, som är ett element" msgstr "regel given för %s, som är ett element"
#: src/reader.c:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
msgid "two @prec's in a row" msgid "two @prec's in a row"
msgstr "två @prec i rad" msgstr "två @prec i rad"
#: src/reader.c:1522 #: src/reader.c:1525
#, c-format #, c-format
msgid "%%guard present but %%semantic_parser not specified" msgid "%%guard present but %%semantic_parser not specified"
msgstr "%%guard finns men %%semantic_parser är inte angiven" msgstr "%%guard finns men %%semantic_parser är inte angiven"
#: src/reader.c:1531 #: src/reader.c:1534
msgid "two actions at end of one rule" msgid "two actions at end of one rule"
msgstr "två åtgärder vid slutet av en regel" msgstr "två åtgärder vid slutet av en regel"
#: src/reader.c:1545 #: src/reader.c:1548
#, c-format #, c-format
msgid "type clash (`%s' `%s') on default action" msgid "type clash (`%s' `%s') on default action"
msgstr "typkonflikt (\"%s\" \"%s\") för standardåtgärd" msgstr "typkonflikt (\"%s\" \"%s\") för standardåtgärd"
#: src/reader.c:1551 #: src/reader.c:1554
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "tom regel för typad icketerminal, och ingen åtgärd" msgstr "tom regel för typad icketerminal, och ingen åtgärd"
#: src/reader.c:1595 #: src/reader.c:1600
#, c-format #, c-format
msgid "invalid input: %s" msgid "invalid input: %s"
msgstr "felaktig indata: %s" msgstr "felaktig indata: %s"
#: src/reader.c:1603 #: src/reader.c:1608
#, c-format #, c-format
msgid "too many symbols (tokens plus nonterminals); maximum %d" msgid "too many symbols (tokens plus nonterminals); maximum %d"
msgstr "för många symboler (element plus icketerminaler); max %d" msgstr "för många symboler (element plus icketerminaler); max %d"
#: src/reader.c:1606 #: src/reader.c:1611
msgid "no rules in the input grammar" msgid "no rules in the input grammar"
msgstr "inga regler i ingrammatiken" msgstr "inga regler i ingrammatiken"
#: src/reader.c:1630 #: src/reader.c:1635
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"symbolen %s används, men är inte definierad som ett element och har inga " "symbolen %s används, men är inte definierad som ett element och har inga "
"regler" "regler"
#: src/reader.c:1765 #: 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 "elementen %s och %s har båda fått nummer %d" msgstr "elementen %s och %s har båda fått nummer %d"
#: src/reader.c:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "motstridiga precedenser mellan %s och %s" msgstr "motstridiga precedenser mellan %s och %s"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "motstridiga assoc-värden mellan %s och %s" msgstr "motstridiga assoc-värden mellan %s och %s"
#: src/reader.c:1869 #: src/reader.c:1874
#, c-format #, c-format
msgid "the start symbol %s is undefined" msgid "the start symbol %s is undefined"
msgstr "startsymbolen %s är odefinierad" msgstr "startsymbolen %s är odefinierad"
#: src/reader.c:1871 #: src/reader.c:1876
#, c-format #, c-format
msgid "the start symbol %s is a token" msgid "the start symbol %s is a token"
msgstr "startsymbolen %s är ett element" msgstr "startsymbolen %s är ett element"
+38 -35
View File
@@ -1,17 +1,18 @@
# Turkish translations for GNU Bison messages. # Turkish translations for GNU Bison messages.
# Copyright (C) 2001 Free Software Foundation, Inc. # Copyright (C) 2001 Free Software Foundation, Inc.
# Altug Bayram <[email protected]>, 2001. # Altuð Bayram <[email protected]>, 2001.
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: bison 1.30f\n" "Project-Id-Version: bison 1.33\n"
"POT-Creation-Date: 2002-02-07 18:23+0100\n" "POT-Creation-Date: 2002-03-04 19:13+0100\n"
"PO-Revision-Date: 2001-12-06 12:09+300\n" "PO-Revision-Date: 2002-02-08 18:51+0200\n"
"Last-Translator: Altug Bayram <[email protected]>\n" "Last-Translator: Altuð Bayram <[email protected]>\n"
"Language-Team: Turkish <[email protected]>\n" "Language-Team: Turkish <[email protected]>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ISO-8859-9\n" "Content-Type: text/plain; charset=ISO-8859-9\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: KBabel 0.9.5\n" "X-Generator: KBabel 0.9.5\n"
#: src/LR0.c:189 #: src/LR0.c:189
@@ -82,7 +83,7 @@ msgstr "
#: src/conflicts.c:389 #: src/conflicts.c:389
#, c-format #, c-format
msgid " %d shift/reduce" msgid " %d shift/reduce"
msgstr " %d shift/reduce" msgstr " %d öteleme/indirgeme"
#: src/conflicts.c:393 #: src/conflicts.c:393
#, c-format #, c-format
@@ -125,12 +126,12 @@ msgstr " %-4s\tindirgeme kural %d (%s)'i kullan
msgid " $default\treduce using rule %d (%s)\n" msgid " $default\treduce using rule %d (%s)\n"
msgstr " $default\tindirgeme kural %d (%s)'i kullanýyor\n" msgstr " $default\tindirgeme kural %d (%s)'i kullanýyor\n"
#: src/files.c:150 #: src/files.c:151
#, 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:169 #: src/files.c:170
msgid "cannot close file" msgid "cannot close file"
msgstr "dosya kapatýlamýyor" msgstr "dosya kapatýlamýyor"
@@ -218,13 +219,12 @@ msgid "bison (GNU Bison) %s"
msgstr "bison (GNU Bison) %s" msgstr "bison (GNU Bison) %s"
#: src/getargs.c:146 #: src/getargs.c:146
#, fuzzy
msgid "" msgid ""
"Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002\n" "Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002\n"
"Free Software Foundation, Inc.\n" "Free Software Foundation, Inc.\n"
msgstr "" msgstr ""
"Kopyahakký 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, " "Kopyahakký 1984, 1986, 1989, 1992, 2000, 2001, 2002\n"
"Inc.\n" "Free Software Foundation, Inc.\n"
#: src/getargs.c:151 #: src/getargs.c:151
msgid "" msgid ""
@@ -235,22 +235,22 @@ msgstr ""
"Hiçbir garantisi yoktur; hatta SATILABÝLÝRLÝÐÝ veya ÞAHSÝ KULLANIMINIZA\n" "Hiçbir garantisi yoktur; hatta SATILABÝLÝRLÝÐÝ veya ÞAHSÝ KULLANIMINIZA\n"
"UYGUNLUÐU için bile garanti verilmez.\n" "UYGUNLUÐU için bile garanti verilmez.\n"
#: src/getargs.c:224 src/lex.c:705 #: src/getargs.c:230 src/lex.c:705
#, c-format #, c-format
msgid "`%s' is no longer supported" msgid "`%s' is no longer supported"
msgstr "`%s' artýk desteklenmeyecek" msgstr "`%s' artýk desteklenmeyecek"
#: src/getargs.c:248 #: src/getargs.c:254
#, c-format #, c-format
msgid "Try `%s --help' for more information.\n" msgid "Try `%s --help' for more information.\n"
msgstr "Daha fazla bilgi için `%s --help' yazýn.\n" msgstr "Daha fazla bilgi için `%s --help' yazýn.\n"
#: src/getargs.c:255 #: src/getargs.c:261
#, 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:259 #: src/getargs.c:265
#, c-format #, c-format
msgid "%s: extra arguments ignored after `%s'\n" msgid "%s: extra arguments ignored after `%s'\n"
msgstr "%s: '%s' den sonraki argümanlar yoksayýldý\n" msgstr "%s: '%s' den sonraki argümanlar yoksayýldý\n"
@@ -437,9 +437,8 @@ msgid "unterminated string"
msgstr "sonlandýrýlmamýþ dizge" msgstr "sonlandýrýlmamýþ dizge"
#: src/reader.c:339 #: src/reader.c:339
#, fuzzy
msgid "invalid @ value" msgid "invalid @ value"
msgstr "geçersiz $ deðeri" msgstr "geçersiz @ deðeri"
#: src/reader.c:352 src/reader.c:416 #: src/reader.c:352 src/reader.c:416
#, c-format #, c-format
@@ -576,77 +575,81 @@ msgstr "gramer d
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:1514 #: src/reader.c:1444 src/reader.c:1556
msgid "previous rule lacks an ending `;'"
msgstr ""
#: src/reader.c:1517
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:1522 #: src/reader.c:1525
#, 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:1531 #: src/reader.c:1534
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:1545 #: src/reader.c:1548
#, 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:1551 #: src/reader.c:1554
msgid "empty rule for typed nonterminal, and no action" msgid "empty rule for typed nonterminal, and no action"
msgstr "" msgstr ""
"Tipli deðiþken simge için boþ kural tanýmlanmýþ, ve eylem belirtilmemiþ" "Tipli deðiþken simge için boþ kural tanýmlanmýþ, ve eylem belirtilmemiþ"
#: src/reader.c:1595 #: src/reader.c:1600
#, 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:1603 #: src/reader.c:1608
#, 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:1606 #: src/reader.c:1611
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:1630 #: src/reader.c:1635
#, c-format #, c-format
msgid "symbol %s is used, but is not defined as a token and has no rules" msgid "symbol %s is used, but is not defined as a token and has no rules"
msgstr "" msgstr ""
"simge %s kullanýldý, fakat bir andaç olarak tanýmlanmadý ve kurallarý yok" "simge %s kullanýldý, fakat bir andaç olarak tanýmlanmadý ve kurallarý yok"
#: src/reader.c:1765 #: 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:1818 #: src/reader.c:1823
#, c-format #, c-format
msgid "conflicting precedences for %s and %s" msgid "conflicting precedences for %s and %s"
msgstr "%s ve %s için çeliþen öncelikler" msgstr "%s ve %s için çeliþen öncelikler"
#: src/reader.c:1830 #: src/reader.c:1835
#, c-format #, c-format
msgid "conflicting assoc values for %s and %s" msgid "conflicting assoc values for %s and %s"
msgstr "%s ve %s için çeliþen birleþmeli deðerler" msgstr "%s ve %s için çeliþen birleþmeli deðerler"
#: src/reader.c:1869 #: src/reader.c:1874
#, 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:1871 #: src/reader.c:1876
#, 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"
#: src/reduce.c:409 #: src/reduce.c:409
msgid "Useless nonterminals:" msgid "Useless nonterminals:"
msgstr "Yararsýz kurallar:" msgstr "Yararsýz deðiþken simgeler:"
#: src/reduce.c:422 #: src/reduce.c:422
msgid "Terminals which are not used:" msgid "Terminals which are not used:"
@@ -668,18 +671,18 @@ msgstr[1] "%d kural asla indirgenmedi\n"
msgid "%d useless nonterminal" msgid "%d useless nonterminal"
msgid_plural "%d useless nonterminals" msgid_plural "%d useless nonterminals"
msgstr[0] "%d yararsýz deðiþken simge" msgstr[0] "%d yararsýz deðiþken simge"
msgstr[1] "%d yararsýz deðiþken simge%s" msgstr[1] "%d yararsýz deðiþken simge"
#: src/reduce.c:517 #: src/reduce.c:517
msgid " and " msgid " and "
msgstr " ve " msgstr " ve"
#: src/reduce.c:520 #: src/reduce.c:520
#, c-format #, c-format
msgid "%d useless rule" msgid "%d useless rule"
msgid_plural "%d useless rules" msgid_plural "%d useless rules"
msgstr[0] "%d yararsýz kural" msgstr[0] "%d yararsýz kural"
msgstr[1] "%d yararsýz kural%s" msgstr[1] "%d yararsýz kural"
#: src/reduce.c:551 #: src/reduce.c:551
#, c-format #, c-format
+15 -37
View File
@@ -37,12 +37,6 @@
define necessary library symbols; they are noted "INFRINGES ON define necessary library symbols; they are noted "INFRINGES ON
USER NAME SPACE" below. */ USER NAME SPACE" below. */
#ifdef __cplusplus
# define YYSTD(x) std::x
#else
# define YYSTD(x) x
#endif
#if ! defined (yyoverflow) || defined (YYERROR_VERBOSE) #if ! defined (yyoverflow) || defined (YYERROR_VERBOSE)
/* The parser invokes alloca or malloc; define the necessary symbols. */ /* The parser invokes alloca or malloc; define the necessary symbols. */
@@ -65,17 +59,12 @@
/* Pacify GCC's `empty if-body' warning. */ /* Pacify GCC's `empty if-body' warning. */
# define YYSTACK_FREE(Ptr) do { /* empty */; } while (0) # define YYSTACK_FREE(Ptr) do { /* empty */; } while (0)
# else # else
# ifdef __cplusplus # if defined (__STDC__) || defined (__cplusplus)
# include <cstdlib> /* INFRINGES ON USER NAME SPACE */ # include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T std::size_t # define YYSIZE_T size_t
# else
# ifdef __STDC__
# include <stdlib.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t
# endif
# endif # endif
# define YYSTACK_ALLOC YYSTD (malloc) # define YYSTACK_ALLOC malloc
# define YYSTACK_FREE YYSTD (free) # define YYSTACK_FREE free
# endif # endif
/* A type that is properly aligned for any stack member. */ /* A type that is properly aligned for any stack member. */
@@ -130,14 +119,9 @@ union yyalloc
# define YYSIZE_T size_t # define YYSIZE_T size_t
#endif #endif
#if ! defined (YYSIZE_T) #if ! defined (YYSIZE_T)
# ifdef __cplusplus # if defined (__STDC__) || defined (__cplusplus)
# include <cstddef> /* INFRINGES ON USER NAME SPACE */ # include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T std::size_t # define YYSIZE_T size_t
# else
# ifdef __STDC__
# include <stddef.h> /* INFRINGES ON USER NAME SPACE */
# define YYSIZE_T size_t
# endif
# endif # endif
#endif #endif
#if ! defined (YYSIZE_T) #if ! defined (YYSIZE_T)
@@ -216,12 +200,8 @@ while (0)
#if YYDEBUG #if YYDEBUG
# ifndef YYFPRINTF # ifndef YYFPRINTF
# ifdef __cplusplus # include <stdio.h> /* INFRINGES ON USER NAME SPACE */
# include <cstdio> /* INFRINGES ON USER NAME SPACE */ # define YYFPRINTF fprintf
# else
# include <stdio.h> /* INFRINGES ON USER NAME SPACE */
# endif
# define YYFPRINTF YYSTD (fprintf)
# endif # endif
# define YYDPRINTF(Args) \ # define YYDPRINTF(Args) \
@@ -229,10 +209,8 @@ do { \
if (yydebug) \ if (yydebug) \
YYFPRINTF Args; \ YYFPRINTF Args; \
} while (0) } while (0)
/* Nonzero means print parse trace. [The following comment makes no /* Nonzero means print parse trace. It is left uninitialized so that
sense to me. Could someone clarify it? --akim] Since this is multiple parsers can coexist. */
uninitialized, it does not stop multiple parsers from coexisting.
*/
int yydebug; int yydebug;
#else /* !YYDEBUG */ #else /* !YYDEBUG */
# define YYDPRINTF(Args) # define YYDPRINTF(Args)
@@ -346,13 +324,13 @@ yystpcpy (yydest, yysrc)
to the proper pointer type. */ to the proper pointer type. */
#ifdef YYPARSE_PARAM #ifdef YYPARSE_PARAM
# ifdef __cplusplus # if defined (__STDC__) || defined (__cplusplus)
# define YYPARSE_PARAM_ARG void *YYPARSE_PARAM # define YYPARSE_PARAM_ARG void *YYPARSE_PARAM
# define YYPARSE_PARAM_DECL # define YYPARSE_PARAM_DECL
# else /* !__cplusplus */ # else
# define YYPARSE_PARAM_ARG YYPARSE_PARAM # define YYPARSE_PARAM_ARG YYPARSE_PARAM
# define YYPARSE_PARAM_DECL void *YYPARSE_PARAM; # define YYPARSE_PARAM_DECL void *YYPARSE_PARAM;
# endif /* !__cplusplus */ # endif
#else /* !YYPARSE_PARAM */ #else /* !YYPARSE_PARAM */
# define YYPARSE_PARAM_ARG # define YYPARSE_PARAM_ARG
# define YYPARSE_PARAM_DECL # define YYPARSE_PARAM_DECL
+20 -9
View File
@@ -22,6 +22,7 @@
#include "system.h" #include "system.h"
#include "getargs.h" #include "getargs.h"
#include "quote.h"
#include "files.h" #include "files.h"
#include "gram.h" #include "gram.h"
#include "error.h" #include "error.h"
@@ -214,7 +215,7 @@ skeleton_find (const char *envvar, const char *skeleton_name)
{ {
const char *res = getenv (envvar); const char *res = getenv (envvar);
#if defined (MSDOS) || defined (_WIN32) #if (defined (MSDOS) && !defined(__DJGPP__)) || defined (_WIN32)
const char *cp = getenv ("INIT"); const char *cp = getenv ("INIT");
if (!res) if (!res)
{ {
@@ -249,7 +250,7 @@ skeleton_find (const char *envvar, const char *skeleton_name)
strcpy (res + (cp - program_name), skel_name); strcpy (res + (cp - program_name), skel_name);
} }
} }
#endif /* defined (MSDOS) || defined (_WIN32) */ #endif /* (defined (MSDOS) && !defined (__DJGPP__)) || defined (_WIN32) */
if (!res) if (!res)
res = skeleton_name; res = skeleton_name;
@@ -419,7 +420,7 @@ compute_base_names (void)
/* Computes the extensions from the grammar file name. */ /* Computes the extensions from the grammar file name. */
filename_split (infile, &base, &tab, &ext); filename_split (infile, &base, &tab, &ext);
if (ext && !yacc_flag) if (ext && !yacc_flag)
compute_exts_from_gf (ext); compute_exts_from_gf (ext);
} }
@@ -445,6 +446,20 @@ compute_output_file_names (void)
if (!spec_defines_file) if (!spec_defines_file)
spec_defines_file = stringappend (full_base_name, header_extension); spec_defines_file = stringappend (full_base_name, header_extension);
if (defines_flag)
{
/* This is really Q&D, but I don't want to spend time on issues
which will be different with 1.50. */
const char *parser_filename = NULL;
if (spec_outfile)
parser_filename = spec_outfile;
else
parser_filename = stringappend (full_base_name, src_extension);
if (!strcmp (spec_defines_file, parser_filename))
fatal ("header and parser would be both named %s",
quote (parser_filename));
}
/* It the graph filename if not given, we create it. */ /* It the graph filename if not given, we create it. */
if (!spec_graph_file) if (!spec_graph_file)
spec_graph_file = stringappend (short_base_name, ".vcg"); spec_graph_file = stringappend (short_base_name, ".vcg");
@@ -452,9 +467,7 @@ compute_output_file_names (void)
spec_verbose_file = stringappend (short_base_name, EXT_OUTPUT); spec_verbose_file = stringappend (short_base_name, EXT_OUTPUT);
attrsfile = stringappend (short_base_name, EXT_STYPE_H); attrsfile = stringappend (short_base_name, EXT_STYPE_H);
#ifndef MSDOS attrsfile = stringappend (attrsfile, EXT_TYPE (header_extension));
attrsfile = stringappend (attrsfile, header_extension);
#endif /* MSDOS */
} }
@@ -523,9 +536,7 @@ output_files (void)
obstack_save (&attrs_obstack, attrsfile); obstack_save (&attrs_obstack, attrsfile);
obstack_free (&attrs_obstack, NULL); obstack_free (&attrs_obstack, NULL);
temp_name = stringappend (short_base_name, EXT_GUARD_C); temp_name = stringappend (short_base_name, EXT_GUARD_C);
#ifndef MSDOS temp_name = stringappend (temp_name, EXT_TYPE (src_extension));
temp_name = stringappend (temp_name, src_extension);
#endif /* MSDOS */
obstack_save (&guard_obstack, temp_name); obstack_save (&guard_obstack, temp_name);
obstack_free (&guard_obstack, NULL); obstack_free (&guard_obstack, NULL);
} }
+8 -2
View File
@@ -160,10 +160,16 @@ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
| Process the options. | | Process the options. |
`----------------------*/ `----------------------*/
/* Under DOS, there is no difference on the case. This can be /* Under plain DOS, there is no difference on the case. This can be
troublesome when looking for `.tab' etc. */ troublesome when looking for `.tab' etc. */
#ifdef MSDOS #ifdef MSDOS
# define AS_FILE_NAME(File) (strlwr (File), (File)) # if defined (__DJGPP__)
/* Windows 9X and successors are case sensitive. */
# define STRLWR(String) ((String) ? (strlwr (String), (String)) : (String))
# define AS_FILE_NAME(File) ((pathconf ((File), _PC_NAME_MAX) > 12) ? (File) : STRLWR (File))
# else
# define AS_FILE_NAME(File) (strlwr (File), (File))
# endif
#else #else
# define AS_FILE_NAME(File) (File) # define AS_FILE_NAME(File) (File)
#endif #endif
+3 -3
View File
@@ -1,7 +1,7 @@
/* Output the generated parsing program for bison, /* Output the generated parsing program for bison,
Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001 Free Software Copyright (C) 1984, 1986, 1989, 1992, 2000, 2001, 2002
Foundation, Inc. Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler. This file is part of Bison, the GNU Compiler Compiler.
@@ -452,7 +452,7 @@ output_rule_data (void)
j += strsize; j += strsize;
} }
/* add a NULL entry to list of tokens */ /* add a NULL entry to list of tokens */
obstack_sgrow (&table_obstack, "NULL\n};\n"); obstack_sgrow (&table_obstack, "0\n};\n");
if (!token_table_flag && !no_parser_flag) if (!token_table_flag && !no_parser_flag)
obstack_sgrow (&table_obstack, "#endif\n\n"); obstack_sgrow (&table_obstack, "#endif\n\n");
+6 -1
View File
@@ -1440,7 +1440,10 @@ readgram (void)
unlex (t1); unlex (t1);
symval = ssave; symval = ssave;
if (t1 == tok_colon) if (t1 == tok_colon)
break; {
warn (_("previous rule lacks an ending `;'"));
break;
}
if (!first_rhs) /* JF */ if (!first_rhs) /* JF */
first_rhs = symval; first_rhs = symval;
@@ -1549,6 +1552,8 @@ readgram (void)
/* Warn if there is no default for $$ but we need one. */ /* Warn if there is no default for $$ but we need one. */
else if (!xactions && !first_rhs && lhs->type_name != 0) else if (!xactions && !first_rhs && lhs->type_name != 0)
complain (_("empty rule for typed nonterminal, and no action")); complain (_("empty rule for typed nonterminal, and no action"));
if (t == tok_two_percents || t == tok_eof)
warn (_("previous rule lacks an ending `;'"));
if (t == tok_semicolon) if (t == tok_semicolon)
t = lex (); t = lex ();
} }
+18 -6
View File
@@ -239,7 +239,7 @@ do { \
# define MINSHORT -32768 # define MINSHORT -32768
#endif #endif
#if defined (MSDOS) && !defined (__GO32__) #if defined (MSDOS) && !defined (__GO32__) && !defined (__DJGPP__)
# define BITS_PER_WORD 16 # define BITS_PER_WORD 16
# define MAXTABLE 16383 # define MAXTABLE 16383
#else #else
@@ -261,19 +261,31 @@ do { \
# define EXT_OUTPUT ".output" # define EXT_OUTPUT ".output"
# define EXT_STYPE_H "_stype" # define EXT_STYPE_H "_stype"
# define EXT_GUARD_C "_guard" # define EXT_GUARD_C "_guard"
# define EXT_TYPE(ext) (ext)
#else /* ! VMS */ #else /* ! VMS */
# ifdef MSDOS # ifdef MSDOS
/* MS DOS. */ # if defined (__DJGPP__)
# define EXT_TAB "_tab" /* DJGPP */
# define EXT_OUTPUT ".out" # define EXT_TAB ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".tab" : "_tab")
# define EXT_STYPE_H ".sth" # define EXT_OUTPUT ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".output" : ".out")
# define EXT_GUARD_C ".guc" # define EXT_STYPE_H ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".stype" : ".sth")
# define EXT_GUARD_C ((pathconf (NULL, _PC_NAME_MAX) > 12) ? ".guard" : ".guc")
# define EXT_TYPE(ext) ((pathconf (NULL, _PC_NAME_MAX) > 12) ? (ext) : "")
# else /* ! __DJGPP__ */
/* MS DOS. */
# define EXT_TAB "_tab"
# define EXT_OUTPUT ".out"
# define EXT_STYPE_H ".sth"
# define EXT_GUARD_C ".guc"
# define EXT_TYPE(ext) ""
# endif
# else /* ! MSDOS */ # else /* ! MSDOS */
/* Standard. */ /* Standard. */
# define EXT_TAB ".tab" # define EXT_TAB ".tab"
# define EXT_OUTPUT ".output" # define EXT_OUTPUT ".output"
# define EXT_STYPE_H ".stype" # define EXT_STYPE_H ".stype"
# define EXT_GUARD_C ".guard" # define EXT_GUARD_C ".guard"
# define EXT_TYPE(ext) (ext)
# endif /* ! MSDOS */ # endif /* ! MSDOS */
#endif /* ! VMS */ #endif /* ! VMS */
+2 -1
View File
@@ -20,7 +20,8 @@
EXTRA_DIST = $(TESTSUITE_AT) testsuite EXTRA_DIST = $(TESTSUITE_AT) testsuite
DISTCLEANFILES = atconfig bison check_SCRIPTS = bison
DISTCLEANFILES = atconfig $(check_SCRIPTS)
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE) MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
## ------------ ## ## ------------ ##
+3 -1
View File
@@ -105,7 +105,8 @@ install_sh = @install_sh@
EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4 EXTRA_DIST = $(TESTSUITE_AT) testsuite package.m4
DISTCLEANFILES = atconfig bison check_SCRIPTS = bison
DISTCLEANFILES = atconfig $(check_SCRIPTS)
MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE) MAINTAINERCLEANFILES = Makefile.in $(TESTSUITE)
TESTSUITE_AT = \ TESTSUITE_AT = \
@@ -162,6 +163,7 @@ distdir: $(DISTFILES)
fi; \ fi; \
done done
check-am: all-am check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) $(check_SCRIPTS)
$(MAKE) $(AM_MAKEFLAGS) check-local $(MAKE) $(AM_MAKEFLAGS) check-local
check: check-am check: check-am
all-am: Makefile all-am: Makefile
+2 -2
View File
@@ -29,7 +29,7 @@ AT_SETUP([Invalid $n])
AT_DATA([input.y], AT_DATA([input.y],
[[%% [[%%
exp: { $$ = $1 ; } exp: { $$ = $1 ; };
]]) ]])
AT_CHECK([bison input.y], [1], [], AT_CHECK([bison input.y], [1], [],
@@ -48,7 +48,7 @@ AT_SETUP([Invalid @n])
AT_DATA([input.y], AT_DATA([input.y],
[[%% [[%%
exp: { @$ = @1 ; } exp: { @$ = @1 ; };
]]) ]])
AT_CHECK([bison input.y], [1], [], AT_CHECK([bison input.y], [1], [],
+14 -2
View File
@@ -26,10 +26,10 @@ m4_define([AT_CHECK_OUTPUT],
AT_DATA([$1], AT_DATA([$1],
[[$2 [[$2
%% %%
foo: {} foo: {};
]]) ]])
AT_CHECK([bison $3 $1], 0) AT_CHECK([bison $3 $1])
AT_CHECK([ls $4], [], [ignore]) AT_CHECK([ls $4], [], [ignore])
AT_CLEANUP AT_CLEANUP
]) ])
@@ -81,3 +81,15 @@ AT_CHECK_OUTPUT([foo.yy], [],
AT_CHECK_OUTPUT([foo.yy], [], AT_CHECK_OUTPUT([foo.yy], [],
[-o foo.c++ --graph=foo.gph], [-o foo.c++ --graph=foo.gph],
[foo.c++ foo.gph]) [foo.c++ foo.gph])
# Be sure to reject cases where the parser and the header would have
# the same name.
AT_SETUP([Clashing Output Files.])
AT_DATA([foo.y],
[[%% foo: {};
]])
AT_CHECK([bison -do foo.x foo.y], [1], [],
[foo.y:2: fatal error: header and parser would be both named `foo.x'
])
AT_CLEANUP
+4 -6
View File
@@ -29,9 +29,7 @@ AT_DATA([input.y],
[[ [[
%{ %{
#include <stdio.h> #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <error.h>
#define YYERROR_VERBOSE 1 #define YYERROR_VERBOSE 1
#define yyerror(Msg) \ #define yyerror(Msg) \
do { \ do { \
@@ -105,7 +103,7 @@ AT_DATA([input.y],
[[/* Bison used to swallow the character after `}'. */ [[/* Bison used to swallow the character after `}'. */
%% %%
exp: { tests = {{{{{{{{{{}}}}}}}}}}; } exp: { tests = {{{{{{{{{{}}}}}}}}}}; };
%% %%
]]) ]])
@@ -384,7 +382,7 @@ expr:
{ {
} };
]]) ]])
AT_CHECK([bison input.y -o input.c -v], 0, [], []) AT_CHECK([bison input.y -o input.c -v], 0, [], [])
@@ -859,7 +857,7 @@ static const short yyrline[] =
static const char *const yytname[] = static const char *const yytname[] =
{ {
"$", "error", "$undefined.", "\"if\"", "\"const\"", "\"then\"", "$", "error", "$undefined.", "\"if\"", "\"const\"", "\"then\"",
"\"else\"", "statement", "struct_stat", "if", "else", NULL "\"else\"", "statement", "struct_stat", "if", "else", 0
}; };
static const short yyr1[] = static const short yyr1[] =
{ {
+8 -8
View File
@@ -161,14 +161,14 @@ AT_SETUP([Broken Closure])
AT_DATA([input.y], AT_DATA([input.y],
[[%% [[%%
a: b a: b;
b: c b: c;
c: d c: d;
d: e d: e;
e: f e: f;
f: g f: g;
g: h g: h;
h: 'h' h: 'h';
]]) ]])
AT_CHECK([bison --trace input.y 2>&1 | AT_CHECK([bison --trace input.y 2>&1 |