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

List:       kde-devel
Subject:    Re: kdebug
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-08-02 21:50:13
Message-ID: 20070802215013.GA19333 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 02.08.07 07:17:15, Aaron J. Seigo wrote:
> On Thursday 02 August 2007, Thomas Zander wrote:
> > while(s/(kDebug\s*\(.*)((\\n|\s+)\")/$1"/s) {}
> 
> personally i changed this line to:
> 
> while(s/(kDebug\s*\(.*)((\\n|\s+)\" \" <<)/$1/s) {}
> 
> so that it only catches '" " <<' ... may not work great if you aren't 
> consistent in your whitespace usage, but ... worked for me =) has the benefit 
> of not turning 'kDebug() << "foo"' into 'kDebug() <<"foo"'

Hmm, somehow that change doesn't work here:
-    kDebug(9024) << k_funcinfo << "Is " << projectfile << " a dir?" << fi.isDir() << endl;
+    kDebug(9024) << k_funcinfo << "Is " << projectfile << " a dir?" << fi.isDir();

And unfortunately I'm bad at perl :(

Andreas

-- 
Everything will be just tickety-boo today.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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