summaryrefslogtreecommitdiffstats
path: root/gettext-tools
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-10-13 09:59:01 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:03 +0200
commit9733052c5050ea2867881d11fb55004c1107f4b2 (patch)
tree1e73830e168333bb658e2dbc5eba5263fe6bac07 /gettext-tools
parent6604a4d8b35235225b43900a0fdcfce0d9b899d0 (diff)
downloadexternal_gettext-9733052c5050ea2867881d11fb55004c1107f4b2.zip
external_gettext-9733052c5050ea2867881d11fb55004c1107f4b2.tar.gz
external_gettext-9733052c5050ea2867881d11fb55004c1107f4b2.tar.bz2
Remove --keyword-substring option.
Diffstat (limited to 'gettext-tools')
-rw-r--r--gettext-tools/src/ChangeLog6
-rw-r--r--gettext-tools/src/xgettext.c8
2 files changed, 6 insertions, 8 deletions
diff --git a/gettext-tools/src/ChangeLog b/gettext-tools/src/ChangeLog
index b7bf53b..8eaa4f1 100644
--- a/gettext-tools/src/ChangeLog
+++ b/gettext-tools/src/ChangeLog
@@ -1,5 +1,11 @@
2003-10-05 Bruno Haible <bruno@clisp.org>
+ * xgettext.c (substring_match): Remove variable.
+ (long_options): Remove --keyword-substring option.
+ (main): Remove handling of --keyword-substring option.
+
+2003-10-05 Bruno Haible <bruno@clisp.org>
+
* message.h (enum is_format): New item yes_according_to_context.
* message.c (possible_format_p): Handle also yes_according_to_context.
* write-po.c (make_format_description_string): Likewise.
diff --git a/gettext-tools/src/xgettext.c b/gettext-tools/src/xgettext.c
index 47717e7..4174ebb 100644
--- a/gettext-tools/src/xgettext.c
+++ b/gettext-tools/src/xgettext.c
@@ -98,10 +98,6 @@ static bool add_all_comments = false;
/* Tag used in comment of prevailing domain. */
static char *comment_tag;
-/* Compare tokens with keywords using substring matching instead of
- equality. */
-bool substring_match;
-
/* Name of default domain file. If not set defaults to messages.po. */
static const char *default_domain;
@@ -191,7 +187,6 @@ static const struct option long_options[] =
{ "indent", no_argument, NULL, 'i' },
{ "join-existing", no_argument, NULL, 'j' },
{ "keyword", optional_argument, NULL, 'k' },
- { "keyword-substring", no_argument, NULL, 'K'},
{ "language", required_argument, NULL, 'L' },
{ "msgid-bugs-address", required_argument, NULL, CHAR_MAX + 5 },
{ "msgstr-prefix", optional_argument, NULL, 'm' },
@@ -380,9 +375,6 @@ main (int argc, char *argv[])
x_glade_keyword (optarg);
}
break;
- case 'K':
- substring_match = true;
- break;
case 'l':
/* Accepted for backward compatibility with 0.10.35. */
break;