提交 b5f96e88 编写于 作者: R Richard Levitte

There's no need to check for __attribute__ with ANSI functions, since

we only check to the opening parenthesis anyway...
上级 3ae70939
......@@ -128,7 +128,7 @@ while (($hdr, $lib) = each %libinc)
s/^[\n\s]*//g;
s/[\n\s]*$//g;
next if(/typedef\W/);
if (/\(\*(\w*)\([^\)]+\)(\s*__attribute__\(.*\)\s*)?$/) {
if (/\(\*(\w*)\([^\)]+/) {
my $name = $1;
$name =~ tr/[a-z]/[A-Z]/;
$ftrans{$name} = $1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册