cedet-semantic

Hi,
I have a question about how to make semantic parse c language files which
don't have .c suffix. Our project make us must use other suffix like cin,
cdt for C header etc. I can open these files using c-mode with following
sentence: (add-to-list 'auto-mode-alist '("\\.cin\\'" . c-mode)).
But how to make semantic parse these files and let it work in auto
complete?
Looking forward to your kind reply.
Brs,
Silajoin

Hi,
If your include statement says:
#include "foo.cdt"
then semantic should find your haeders fine and parse them. There are
some other expressions needed for ctags, ebrowse, or GNU global you need
to configure if you use one of those tools. There can also be confusion
between C and C++ if you have mixed modes between those files.
Eric
Jan silajoin wrote:
> Hi,
> I have a question about how to make semantic parse c language files
> which don't have .c suffix. Our project make us must use other suffix
> like cin, cdt for C header etc. I can open these files using c-mode with
> following sentence: (add-to-list 'auto-mode-alist '("\\.cin\\'" . c-mode)).
> But how to make semantic parse these files and let it work in auto
> complete?
>
> Looking forward to your kind reply.
>
> Brs,
> Silajoin