[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdesdk/scripts
From:       Thorsten Staerk <dev () staerk ! de>
Date:       2006-07-23 6:49:13
Message-ID: 1153637353.075404.18782.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 565343 by tstaerk:

handle comments within signature

 M  +2 -0      add_trace.pl  


--- branches/KDE/3.5/kdesdk/scripts/add_trace.pl #565342:565343
@@ -42,6 +42,8 @@
 	      $line = $line . " << \"$1\"";
 	    }
 	  ## Ok now extract args
+	  s/\/\*.*\*\///;
+	  s/\s*\/\/.*//; # remove comments
 	  s/^.*\([\s]*//; # Remove everything before first '('
 	  s/\s*\)\s*:\s+.*$/,/; # Remove any ") : blah", replace with a ','
 	  s/\s*\).*\{\s*$/,/; # Remove anything after ')', replace with a ','
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic