From dfb7c49d51c1ba5b2977114e9dbe5388c4fb1695 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 19 Sep 2002 19:29:42 +0000 Subject: [PATCH] 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 --- cf/make-proto.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cf/make-proto.pl b/cf/make-proto.pl index 4b5f5c55f..7bf2cd686 100644 --- a/cf/make-proto.pl +++ b/cf/make-proto.pl @@ -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;