Commit 8fdacfd8 authored by pzhao's avatar pzhao
Browse files

2010-01-22 Shujing Zhao <pearly.zhao@oracle.com>

        * exgettext: Handle the functions and the macro definitions that the
        arguments are broken into more than one line.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156168 138bc75d-0d04-0410-961f-82ee72b054a4
parent a08030dd
2010-01-22 Shujing Zhao <pearly.zhao@oracle.com>
* exgettext: Handle the functions and the macro definitions that the
arguments are broken into more than one line.
2010-01-20 Joseph Myers <joseph@codesourcery.com>
* zh_CN.po: Update.
......
......@@ -184,6 +184,18 @@ END {
while (getline < file) {
if (/^(#[ ]*define[ ]*)?[A-Za-z_].*\(.*msgid[,\)]/) {
keyword_option($0)
} else if (/^(#[ ]*define[ ]*)?[A-Za-z_].*(\(|\(.*,)$/) {
name_line = $0
while (getline < file) {
lineno++
if (/msgid[,\)]/){
keyword_option(name_line $0)
break
} else if (/,$/) {
name_line = name_line $0
continue
} else break
}
} else if (/%e/ || /%n/) {
spec_error_string($0)
}
......
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