diff options
author | Bruno Haible <bruno@clisp.org> | 2005-09-21 20:28:59 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:12:51 +0200 |
commit | 391af6a5faa28626de530884d621b8661975efe1 (patch) | |
tree | ecfa4612031f36f6fc573c1d89711639bae5c402 /gettext-tools | |
parent | 4a14348051bb4ec474c81be4045c43206822bfd3 (diff) | |
download | external_gettext-391af6a5faa28626de530884d621b8661975efe1.zip external_gettext-391af6a5faa28626de530884d621b8661975efe1.tar.gz external_gettext-391af6a5faa28626de530884d621b8661975efe1.tar.bz2 |
Use an internationalized bison parser.
Diffstat (limited to 'gettext-tools')
-rw-r--r-- | gettext-tools/ChangeLog | 4 | ||||
-rw-r--r-- | gettext-tools/configure.ac | 3 | ||||
-rw-r--r-- | gettext-tools/m4/ChangeLog | 5 | ||||
-rw-r--r-- | gettext-tools/m4/Makefile.am | 1 | ||||
-rw-r--r-- | gettext-tools/src/ChangeLog | 18 | ||||
-rw-r--r-- | gettext-tools/src/Makefile.am | 2 | ||||
-rw-r--r-- | gettext-tools/src/msgattrib.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgcat.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgcmp.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgcomm.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgconv.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgen.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgexec.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgfilter.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgfmt.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msggrep.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msginit.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgmerge.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msgunfmt.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/msguniq.c | 1 | ||||
-rw-r--r-- | gettext-tools/src/xgettext.c | 1 |
21 files changed, 47 insertions, 1 deletions
diff --git a/gettext-tools/ChangeLog b/gettext-tools/ChangeLog index f4bb3e1..c1e605b 100644 --- a/gettext-tools/ChangeLog +++ b/gettext-tools/ChangeLog @@ -1,3 +1,7 @@ +2005-09-20 Bruno Haible <bruno@clisp.org> + + * configure.ac: Invoke BISON_I18N. + 2005-08-23 Bruno Haible <bruno@clisp.org> * configure.ac: Invoke gl_BYTESWAP. Define ENDIANNESS. diff --git a/gettext-tools/configure.ac b/gettext-tools/configure.ac index eb40a08..6d734d9 100644 --- a/gettext-tools/configure.ac +++ b/gettext-tools/configure.ac @@ -110,6 +110,9 @@ dnl These are the only lines required to internationalize the package. dnl (OK, not quite, the AC_CONFIG_FILES has also some parts.) AM_GNU_GETTEXT(use-libtool, need-ngettext) +dnl This line internationalizes the bison generated parsers. +BISON_I18N + dnl Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS(limits.h malloc.h pwd.h string.h unistd.h utime.h values.h) diff --git a/gettext-tools/m4/ChangeLog b/gettext-tools/m4/ChangeLog index 70adc30..e9282f3 100644 --- a/gettext-tools/m4/ChangeLog +++ b/gettext-tools/m4/ChangeLog @@ -1,3 +1,8 @@ +2005-09-20 Bruno Haible <bruno@clisp.org> + + * bison-i18n.m4: New file, from bison-2.1. + * Makefile.am (EXTRA_DIST): Add it. + 2005-08-23 Bruno Haible <bruno@clisp.org> * byteswap.m4: New file, from gnulib. diff --git a/gettext-tools/m4/Makefile.am b/gettext-tools/m4/Makefile.am index 60286be..2505638 100644 --- a/gettext-tools/m4/Makefile.am +++ b/gettext-tools/m4/Makefile.am @@ -50,6 +50,7 @@ EXTRA_DIST = README ChangeLog.0 csharpexec-test.exe \ alloca.m4 \ allocsa.m4 \ backupfile.m4 \ +bison-i18n.m4 \ byteswap.m4 \ canonicalize.m4 \ csharp.m4 \ diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog index 3a0f193..e372f99 100644 --- a/gettext-tools/src/ChangeLog +++ b/gettext-tools/src/ChangeLog @@ -1,3 +1,21 @@ +2005-09-20 Bruno Haible <bruno@clisp.org> + + * msgattrib.c (main): Invoke bindtextdomain for bison-runtime. + * msgcat.c (main): Likewise. + * msgcmp.c (main): Likewise. + * msgcomm.c (main): Likewise. + * msgconv.c (main): Likewise. + * msgen.c (main): Likewise. + * msgexec.c (main): Likewise. + * msgfilter.c (main): Likewise. + * msggrep.c (main): Likewise. + * msginit.c (main): Likewise. + * msgmerge.c (main): Likewise. + * msgunfmt.c (main): Likewise. + * msguniq.c (main): Likewise. + * xgettext.c (main): Likewise. + * Makefile.am (DEFS): Also define BISON_LOCALEDIR. + 2005-09-17 Bruno Haible <bruno@clisp.org> * msgl-check.h: New file. diff --git a/gettext-tools/src/Makefile.am b/gettext-tools/src/Makefile.am index 375469d..421044f 100644 --- a/gettext-tools/src/Makefile.am +++ b/gettext-tools/src/Makefile.am @@ -70,7 +70,7 @@ AM_CPPFLAGS = \ -I../lib -I$(top_srcdir)/lib \ -I../intl -I$(top_srcdir)/../gettext-runtime/intl DEFS = \ - -DLOCALEDIR=\"$(localedir)\" \ + -DLOCALEDIR=\"$(localedir)\" -DBISON_LOCALEDIR=\"$(BISON_LOCALEDIR)\" \ -DLOCALE_ALIAS_PATH=\"$(aliaspath)\" \ -DUSEJEXE=$(USEJEXE) \ -DGETTEXTJEXEDIR=\"$(pkglibdir)\" \ diff --git a/gettext-tools/src/msgattrib.c b/gettext-tools/src/msgattrib.c index 14c7cf5..c83e714 100644 --- a/gettext-tools/src/msgattrib.c +++ b/gettext-tools/src/msgattrib.c @@ -146,6 +146,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgcat.c b/gettext-tools/src/msgcat.c index 01b05ce..f9123ea 100644 --- a/gettext-tools/src/msgcat.c +++ b/gettext-tools/src/msgcat.c @@ -118,6 +118,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgcmp.c b/gettext-tools/src/msgcmp.c index 6f0962c..f86ae23 100644 --- a/gettext-tools/src/msgcmp.c +++ b/gettext-tools/src/msgcmp.c @@ -89,6 +89,7 @@ main (int argc, char *argv[]) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgcomm.c b/gettext-tools/src/msgcomm.c index 594d0bb..41d67ea 100644 --- a/gettext-tools/src/msgcomm.c +++ b/gettext-tools/src/msgcomm.c @@ -120,6 +120,7 @@ main (int argc, char *argv[]) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgconv.c b/gettext-tools/src/msgconv.c index 8f9f572..62b79ae 100644 --- a/gettext-tools/src/msgconv.c +++ b/gettext-tools/src/msgconv.c @@ -110,6 +110,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgen.c b/gettext-tools/src/msgen.c index dfabebc..e928108 100644 --- a/gettext-tools/src/msgen.c +++ b/gettext-tools/src/msgen.c @@ -103,6 +103,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgexec.c b/gettext-tools/src/msgexec.c index db7f05e..2090718 100644 --- a/gettext-tools/src/msgexec.c +++ b/gettext-tools/src/msgexec.c @@ -116,6 +116,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgfilter.c b/gettext-tools/src/msgfilter.c index ceba300..f5a0a92 100644 --- a/gettext-tools/src/msgfilter.c +++ b/gettext-tools/src/msgfilter.c @@ -157,6 +157,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgfmt.c b/gettext-tools/src/msgfmt.c index d9d3152..cc88ed6 100644 --- a/gettext-tools/src/msgfmt.c +++ b/gettext-tools/src/msgfmt.c @@ -216,6 +216,7 @@ main (int argc, char *argv[]) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msggrep.c b/gettext-tools/src/msggrep.c index 8af04ac..aa63904 100644 --- a/gettext-tools/src/msggrep.c +++ b/gettext-tools/src/msggrep.c @@ -155,6 +155,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msginit.c b/gettext-tools/src/msginit.c index 5bb60bf..2856ba8 100644 --- a/gettext-tools/src/msginit.c +++ b/gettext-tools/src/msginit.c @@ -177,6 +177,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgmerge.c b/gettext-tools/src/msgmerge.c index 0e45221..e325bcd 100644 --- a/gettext-tools/src/msgmerge.c +++ b/gettext-tools/src/msgmerge.c @@ -164,6 +164,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msgunfmt.c b/gettext-tools/src/msgunfmt.c index 178de69..cb9a1e3 100644 --- a/gettext-tools/src/msgunfmt.c +++ b/gettext-tools/src/msgunfmt.c @@ -129,6 +129,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/msguniq.c b/gettext-tools/src/msguniq.c index 044581e..475f39e 100644 --- a/gettext-tools/src/msguniq.c +++ b/gettext-tools/src/msguniq.c @@ -113,6 +113,7 @@ main (int argc, char **argv) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ diff --git a/gettext-tools/src/xgettext.c b/gettext-tools/src/xgettext.c index 260577f..8bfa8b1 100644 --- a/gettext-tools/src/xgettext.c +++ b/gettext-tools/src/xgettext.c @@ -285,6 +285,7 @@ main (int argc, char *argv[]) /* Set the text message domain. */ bindtextdomain (PACKAGE, relocate (LOCALEDIR)); + bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR)); textdomain (PACKAGE); /* Ensure that write errors on stdout are detected. */ |