summaryrefslogtreecommitdiffstats
path: root/gettext-tools/src/x-librep.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-10-10 10:45:55 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:03 +0200
commit6604a4d8b35235225b43900a0fdcfce0d9b899d0 (patch)
tree8a6190346d8da125d85d0c04ef6ab86b859e7b13 /gettext-tools/src/x-librep.h
parent7474a39c0d7791db008a1939a68a31e100d64762 (diff)
downloadexternal_gettext-6604a4d8b35235225b43900a0fdcfce0d9b899d0.zip
external_gettext-6604a4d8b35235225b43900a0fdcfce0d9b899d0.tar.gz
external_gettext-6604a4d8b35235225b43900a0fdcfce0d9b899d0.tar.bz2
Recognize format strings depending on their position.
Diffstat (limited to 'gettext-tools/src/x-librep.h')
-rw-r--r--gettext-tools/src/x-librep.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gettext-tools/src/x-librep.h b/gettext-tools/src/x-librep.h
index 2dc4cc5..aaa7664 100644
--- a/gettext-tools/src/x-librep.h
+++ b/gettext-tools/src/x-librep.h
@@ -21,11 +21,13 @@
{ "jl", "librep" }, \
#define SCANNERS_LIBREP \
- { "librep", extract_librep, &formatstring_librep, NULL }, \
+ { "librep", extract_librep, \
+ &flag_table_librep, &formatstring_librep, NULL }, \
/* Scan a librep file and add its translatable strings to mdlp. */
extern void extract_librep (FILE *fp, const char *real_filename,
const char *logical_filename,
+ flag_context_list_table_ty *flag_table,
msgdomain_list_ty *mdlp);
@@ -33,3 +35,5 @@ extern void extract_librep (FILE *fp, const char *real_filename,
extern void x_librep_extract_all (void);
extern void x_librep_keyword (const char *name);
+
+extern void init_flag_table_librep (void);