Re: Universal Ctags langmap
Shigio YAMAGUCHI <[email protected]>
| Newsgroups | gmane.comp.gnu.global.bugs |
|---|---|
| Message-ID | <CADJmJYrvCJAt8p35r7iV7kkd=vfhgHJWPxXhkmhtaxgq0VqrnA@mail.gmail.com> |
Hi Jason,
I believe I have fixed the bug.
$ echo 'void a_function() {}' >a.inl
$ echo 'void b_function() {}' >b.cpp
$ echo 'void c_function() {}' >c.c++
$ gtags --gtagslabel=new-ctags
$ global -x ._function
a_function 1 a.inl void a_function() {}
b_function 1 b.cpp void b_function() {}
c_function 1 c.c++ void c_function() {}
$ _
Since this bug is serious, I'm planning of a bug fix release
in early time.
Regards,
Shigio
2016-03-23 16:59 GMT+09:00 Shigio YAMAGUCHI <[email protected]>:
> 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
>
--
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
patch-langmap
(application/octet-stream, 4 KB) - not displayed