Re: [cedet-semantic] Semantic Speedbar Analysis Recursion Problem with stdio.h
Brought to you by:
zappo
From: Eric M. L. <er...@si...> - 2013-01-15 01:33:46
|
Hi Tomasz, I opted to go with the fix I proposed. I also added a short-cut in semantic-tag-similar-p in case the tags are eq so no performance will be lost. I was not ultimately able to reproduce the problem you described. If the issue is as hairy as you describe, it may not ultimately be worth trying to figure out the problem with the metatype search. What would be worthwhile is some sort of internal sanity check that Semantic can run against itself at idle time. Thus, if you figure out what went wrong, we might rig up a check that spots the failure, and does a full reset of the offending files, thus fixing the problem more permanently. Thanks Eric >> Could someone give it a try to make sure it is sufficient for this >> problem? > > Do you want to make this change from eq to equal or you want to fix this > case to work with eq? > > Anyway I've experienced problems with testcase I sent you earlier with > Qt includes. When opening qstring.h when it was not parsed properly due > to missing macro definitios (due to spp-table/spp-files problems you > solved some time ago). In such case class definition for QString was not > recognized and forward declaration of QString from qchar.h (included > from qstring.h) was found and treated as class declaration and for this > forward declaration this eq/equal made a difference. > > Let me know if you were able to reproduce the problem. If not I'll try > to prepare a testcase for you. > > Regards > Tomasz Gajewski |