[CEDET-devel] C parser change - needs some testing
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2009-07-25 14:59:33
|
I changed how some tags in the C/C++ parser are represented. This was for the specific case of: struct mystruct { ... } varname; which creates the variable varname whos type is the struct mystruct. The symbol of 'mystruct' was not available for reference anywhere. The new code extracts the raw type out of varname, and creates a tag that is a peer to var for the structure type, and replaces the type inside varname with just the name. I have new tests for this in the test suite relating to completion, and all other tests pass. I'm not sure how this will play out for things like speedbar, ecb, and some other miscellaneous tools that may be used to the old way. For those using the CVS version of CEDET, it would be helpful to try out this change and keep an eye out in these other tools for funny stuff. Thanks! Eric |