Author Topic: Symbol tree parse  (Read 4517 times)

Offline kelaklub

  • Multiple posting newcomer
  • *
  • Posts: 14
Symbol tree parse
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Symbol tree parse
« Reply #1 on: March 05, 2008, 04:11:23 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline kelaklub

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: Symbol tree parse
« Reply #2 on: March 11, 2008, 05:04:17 am »
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.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: Symbol tree parse
« Reply #3 on: March 11, 2008, 09:45:23 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ