check the processed string for closing ), not the source

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11465 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2002-09-19 19:29:42 +00:00
parent eb56509978
commit dfb7c49d51

View File

@@ -49,9 +49,9 @@ while(<>) {
s/\/\*(.|\n)*\ca//;
}
s/^\s*//;
s/\s$//;
s/\s*$//;
s/\s+/ /g;
if($line =~ /\)\s$/){
if($_ =~ /\)$/){
if(!/^static/ && !/^PRIVATE/){
if(/(.*)(__attribute__\s?\(.*\))/) {
$attr = $2;