Code::Blocks Forums
User forums => Help => Topic started by: kelaklub on March 02, 2008, 04:36:01 am
-
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 (http://code.google.com/p/ezg/downloads/list)
-
Just pointing this out and any help would be appreciated. Thanks.
http://code.google.com/p/ezg/downloads/list (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.
-
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 (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.
-
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...?!