News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Symbol tree parse

Started by kelaklub, March 02, 2008, 04:36:01 AM

Previous topic - Next topic

kelaklub

Hi,

I have been working on a geometric library and I have been unable to get Code::Blocks to complete the symbol tree during the parse of the ezG_Library.h header file. The only class that gets displayed is the point class, but the vector class does not show up. I am assuming the parser is getting stumped by the code structure. Just pointing this out and any help would be appreciated. Thanks.

http://code.google.com/p/ezg/downloads/list

MortenMacFly

Quote from: kelaklub on March 02, 2008, 04:36:01 AM
Just pointing this out and any help would be appreciated. Thanks.
http://code.google.com/p/ezg/downloads/list
This was a indeed a bug in the CC parser. Fixed in SVN head. Thanks for the report.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

kelaklub

Thank you. Oh and since I have you guys taking a look at tree parsing, perhaps you could also take a look at the following template version of the geometric library...

http://code.google.com/p/ezg/downloads/list?can=4&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount+UploadedBy+Type+Opsys

The classes in the following files: ezGT_3dMatrix, ezGT_3dPoint, and ezGT_3dVector have all been created as templates, but the parse tree only really seems to work on the matrix class, meaning I can right click on the tree and jump to declaration and implementation, whereas in the point and vector class's I can only jump to declaration. I don't know if the fixes you made might have already resolved this. Thanks.

MortenMacFly

Quote from: kelaklub on March 11, 2008, 05:04:17 AM
but the parse tree only really seems to work on the matrix class, meaning I can right click on the tree and jump to declaration and implementation, whereas in the point and vector class's I can only jump to declaration.
Confirmed. Now that is really weired. Because if you select declaration for the point/vector class you can select implementation from within the source code but not the symbol tree... really weired...?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]