I understood.
I will fix the bug.
Merging and trimming of langmap would be needed.
Thank you for telling me.

Regards,
Shigio


2016-03-23 9:05 GMT+09:00 Jason Hood <[email protected]>:

> On 22/03/2016 15:12, Shigio YAMAGUCHI wrote:
> >> 3. The real problem is suffixes don't accumulate, which stops
> >> C++ from working at all - .inl is replacing all the other extensions.
> >
> > It seems to work well in my Mac.
>
> The problem is not with gtags, but ctags.
>
> T:\>echo void a_function() {} >a.inl
>
> T:\>echo void b_function() {} >b.cpp
>
> T:\>echo void c_function() {} >c.c++
>
> T:\>gtags --gtagslabel=ctags --explain
>  - File 'b.cpp' is handled as follows:
>         suffix:   |.cpp|
>         language: |C++|
>         parser:   |parser|
>         library:  |exuberant-ctags|
>  - File 'c.c++' is handled as follows:
>         suffix:   |.c++|
>         language: |C++|
>         parser:   |parser|
>         library:  |exuberant-ctags|
>  - File 'GPATH' is skipped because it is a tag file.
>  - File 'GRTAGS' is skipped because it is a tag file.
>  - File 'GTAGS' is skipped because it is a tag file.
>
> T:\>global -x ._function
> b_function          1 b.cpp            void b_function() {}
> c_function          1 c.c++            void c_function() {}
>
> T:\>gtags --gtagslabel=new-ctags --explain
>  - File 'a.inl' is handled as follows:
>         suffix:   |.inl|
>         language: |C++|
>         parser:   |parser|
>         library:  |universal-ctags|
>  - File 'b.cpp' is handled as follows:
>         suffix:   |.cpp|
>         language: |C++|
>         parser:   |parser|
>         library:  |universal-ctags|
>  - File 'c.c++' is handled as follows:
>         suffix:   |.c++|
>         language: |C++|
>         parser:   |parser|
>         library:  |universal-ctags|
>  - File 'GPATH' is skipped because it is a tag file.
>  - File 'GRTAGS' is skipped because it is a tag file.
>  - File 'GTAGS' is skipped because it is a tag file.
>
> T:\>global -x ._function
> a_function          1 a.inl            void a_function() {}
>
> --
> Jason.
>



-- 
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to