summaryrefslogtreecommitdiff
path: root/gcc/po/exgettext
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-03 13:51:26 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2010-03-03 13:51:26 +0000
commit8713644151ea92118e5d818b87c1eafc31eb14d9 (patch)
treef935059d4f4719a4a188bfdb5dd38f0ea3d57064 /gcc/po/exgettext
parent4b7210115bb4b35bf4af1d9c9e077a61baeb602f (diff)
downloadgcc-8713644151ea92118e5d818b87c1eafc31eb14d9.tar.gz
2010-03-03 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 157193 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@157194 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/po/exgettext')
-rw-r--r--gcc/po/exgettext8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/po/exgettext b/gcc/po/exgettext
index 35f81a7d172..a85f705f820 100644
--- a/gcc/po/exgettext
+++ b/gcc/po/exgettext
@@ -113,9 +113,15 @@ function keyword_option(line) {
format="c-format"
if (n == 1) { keyword = "--keyword=" name }
- else { keyword = "--keyword=" name ":" n }
+ else {
+ keyword = "--keyword=" name ":" n
+ if (name ~ /_n$/)
+ keyword = keyword "," (n + 1)
+ }
if (format) {
keyword=keyword "\n--flag=" name ":" n ":" format
+ if (name ~ /_n$/)
+ keyword = keyword "\n--flag=" name ":" (n + 1) ":" format
}
if (! keyword_seen[name]) {