[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 8:04:39
Message-ID: 1153641879.458423.24186.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 565351 by tstaerk:

Do not treat keyword const as a variable

 M  +1 -2      add_trace.pl  


--- branches/KDE/3.5/kdesdk/scripts/add_trace.pl #565350:565351
@@ -47,8 +47,7 @@
 	  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 ','
-          s/ const / /;
-          s/ const / /; # TODO: erase every const, not only the first two
+          s/ const / /g;
 	  #print STDERR "Args list : $_\n";
 	  @args = split( ",", $_ );
 	  foreach (@args)
[prev in list] [next in list] [prev in thread] [next in thread] 

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