Marc Chantreux wrote:

> i'm trying to use ft-c-omni. I've patched and recompiled ctags and tried 
> to use it. The omnicompletion <c-x><c-o> failed. my &ofu is correct but 
> i think the problem is that ctags doesn't store informations about my 
> structure. If someone can help, here are the facts :
> 
> % cat fa.c; ctags fa.c; cat tags
> #include 
> <stdio.h>                                                                     
>                                                                          
> 
> int main ( void ) {
> 
>         typedef struct {
>                 int age;
>                 char * nom;
>                 char * prenom;
>         } personne ;
> 
>         personne employe;
> 
>         employe.nom = strdup("chantreux");
>         employe.prenom = strdup("marc");
> 
>         printf("employe : %s , %s",   );
> 
>         return(0);
> 
> }
> !_TAG_FILE_FORMAT       2       /extended format; --format=1 will not 
> append ;" to lines/
> !_TAG_FILE_SORTED       1       /0=unsorted, 1=sorted, 2=foldcase/
> !_TAG_PROGRAM_AUTHOR    Darren Hiebert  /[EMAIL PROTECTED]/
> !_TAG_PROGRAM_NAME      Exuberant Ctags //
> !_TAG_PROGRAM_URL       http://ctags.sourceforge.net    /official site/
> !_TAG_PROGRAM_VERSION   5.5.4   //
> main    fa.c    /^int main ( void ) {$/;"       f

I think that for a structure local to a function ctags doesn't store
information.  You would have to move it outside of the function.

-- 
hundred-and-one symptoms of being an internet addict:
106. When told to "go to your room" you inform your parents that you
     can't...because you were kicked out and banned.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://www.ICCF.nl         ///

Reply via email to