On Mon, Jul 26, 2010 at 4:35 AM, Liu Lei <[email protected]> wrote:
> Hi, All:
>
> I'm using VIM+Cscope+Ctags+OmniCppComplete for coding.
>
> But, I found that the OmniCppComplete can NOT complete the anonymous members 
> in struct/union.
>
> Example.
> ===================================
> struct abc {
>        int a;
>        struct {
>                int b;
>        };
>        union {
>                int c;
>        };
> };
>
> int main()
> {
>        struct abc *xyz;
>
>        xyz->+------------+
>                  | abc::a  m + |
>                 +------------+
> }
> ===================================
> There is only 'a' in the popup menu, but no 'b' or 'c'.
>
> Does anyone solved it?
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

Your "struct abc" has only one member vaiable "int a". It has two other
unnamed types.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to