Re: Function Pop-Up and #if 0
Re: Function Pop-Up and #if 0
- Subject: Re: Function Pop-Up and #if 0
- From: David Ewing <email@hidden>
- Date: Fri, 9 Jul 2004 09:54:29 -0600
The scanner that is used for the function popup is intentionally simple
so that it can be tolerant of syntax errors. One side effect of this is
that only has limited knowledge of the preprocessor. This is a simple
example of the kind of stuff that confuses it.
Dave
On Jul 8, 2004, at 3:52 PM, Bryan Pietrzak wrote:
I just filed rdar://3722111
This code will cause the function pop-up to stop showing any symbol
after function two....
--------------------------------------------------
void one(void)
{
}
void two(void)
{
#if 0
}
#endif
return err;
}
void three(void)
{
}
--------------------------------------------------
Shouldn't everything inside #if 0 ... #endif be ignored?
Bryan
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.