Page 1 of 1

Re: Search / Find References problem after upgrade to v3.0.5046

Posted: Thu Sep 01, 2011 10:49 pm
by eranif
piebru wrote:I did project and workspace rebuild
The build is not related to the find-references (retag does)

Can you provide a sample workspace that shows the problem? (I can't reproduce it here, I also compared the results with the ones of 'find-in-files' all seems to be working fine)
I believe it is encoding related (there were few changes in that area), can you check it with files that inculdes some non-ascii chars (if you have such)

In anycase, a small working workspace that shows the problem will be the best for fixing it
Eran

Re: Search / Find References problem after upgrade to v3.0.5046

Posted: Fri Nov 04, 2011 11:48 pm
by jfouche
Hi Eran,

I agree with Piero :

Code: Select all

int foo()
{
   return 0;
}

int main(void)
{
   foo(); // goto declaration works
   (void)foo(); // goto declaration doesn't work
   (void) foo(); // goto declaration works
   return 0;
}
I'm currently looking into this probem.

Edit : Forget what I wrote before, it was false ;)

OK : What it strange to me :
In ContextCpp::GetExpression(...) : When you find a space at a 0 depth, you stop the expression. But if you encouter a ')', you continue. I think that in C / C++, we can always add spaces around ')', so we can consider it as a space, no ?