Commit 5b7d5b16 authored by jsm28's avatar jsm28

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165835 138bc75d-0d04-0410-961f-82ee72b054a4
parent 55e8372b
2010-10-22 Joseph Myers <joseph@codesourcery.com>
* exgettext: Only handle Warn when followed by '('.
2010-10-13 Joseph Myers <joseph@codesourcery.com>
* vi.po: Update.
......
......@@ -234,7 +234,7 @@ echo "scanning option files..." >&2
printf("#line %d \"%s\"\n", lineno, file)
printf("_(\"%s\")\n", line)
}
if ((field == 1) && /Warn/) {
if ((field == 1) && /Warn\(/) {
line = $0
sub(".*Warn\\(", "", line)
if (line ~ "^{") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment