You are here: PSPad forum > Bug report / Hlášení chyb > Code Explorer don't show function of C++ with namespace

Code Explorer don't show function of C++ with namespace

#1 Code Explorer don't show function of C++ with namespace

Posted by: sphaira | Date: 2013-05-21 20:36 | IP: IP Logged

I have tested the same cpp file with namespace bracket and without. The code Explorer don't show any Class, functions, define or types within a namespace. I can only show the include.

Example of namespace bracket with no explorer code :

namespace log{

#define MAXPRINTMSG 4096
void logger::Print( const char * msg){
OutputDebugString( msg );
}

} // end of namespace log

I found the solution. You just have to put bracket at the line after the namespace like this :

namespace log
{ // line after the namespace name ('log')

} // end of namespace log

This is not really a serious bug but could you fix in a future release ?

Thanks.

Edited 5 time(s). Last edit at 2013-05-21 20:46 by sphaira.

Options: Reply | Quote | Up ^


#2 Re: Code Explorer don't show function of C++ with namespace

Posted by: pspad | Date: 2013-05-23 13:33 | IP: IP Logged

Namespace parsing was fixed. I hope all will be ok. If there will be any problem, please send me source code causing it.

Fix will be available in the next build

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR