* exgettext: Only handle Warn when followed by '('.

From-SVN: r165835
This commit is contained in:
Joseph Myers 2010-10-22 15:58:26 +01:00 committed by Joseph Myers
parent c7532b2de4
commit 965e7f22cb
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-10-22 Joseph Myers <joseph@codesourcery.com>
* exgettext: Only handle Warn when followed by '('.
2010-10-13 Joseph Myers <joseph@codesourcery.com> 2010-10-13 Joseph Myers <joseph@codesourcery.com>
* vi.po: Update. * vi.po: Update.

View File

@ -234,7 +234,7 @@ echo "scanning option files..." >&2
printf("#line %d \"%s\"\n", lineno, file) printf("#line %d \"%s\"\n", lineno, file)
printf("_(\"%s\")\n", line) printf("_(\"%s\")\n", line)
} }
if ((field == 1) && /Warn/) { if ((field == 1) && /Warn\(/) {
line = $0 line = $0
sub(".*Warn\\(", "", line) sub(".*Warn\\(", "", line)
if (line ~ "^{") { if (line ~ "^{") {