Hi,
> 1. DBusIntrospect is ignored, as Ant already has .xml.
> Since .xml is hardly distinct, I suggest removing both.
>
> 2. DBusIntrospect & Glade may not be supported at all,
> if ctags was built without libxml.
OK. I'll remove them by the same method as you.
# :langmap=DBusIntrospect\:.xml:\
> 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.
$ touch a.inl b.cpp c.c++
$ gtags --gtagsconf=/usr/local/share/gtags/gtags.conf
--gtagslabel=new-ctags --explain
- File 'a.inl' is handled as follows:
suffix: |.inl|
language: |C++|
parser: |parser|
library: |/usr/local/lib/gtags/universal-ctags.la|
- File 'b.cpp' is handled as follows:
suffix: |.cpp|
language: |C++|
parser: |parser|
library: |/usr/local/lib/gtags/universal-ctags.la|
- File 'c.c++' is handled as follows:
suffix: |.c++|
language: |C++|
parser: |parser|
library: |/usr/local/lib/gtags/universal-ctags.la|
Regards,
Shigio
2016-03-22 11:24 GMT+09:00 Jason Hood <[email protected]>:
> There's a few problems with langmap for universal-ctags.
>
> 1. DBusIntrospect is ignored, as Ant already has .xml. Since .xml is
> hardly distinct, I suggest removing both.
>
> 2. DBusIntrospect & Glade may not be supported at all, if ctags was built
> without libxml.
>
> 3. The real problem is suffixes don't accumulate, which stops C++ from
> working at all - .inl is replacing all the other extensions. For the
> Windows release I just separated the duplicated languages. Another
> solution would be to map the languages (using value to store the position
> within the strbuf), create a strbuf_insert function and append the new
> extension(s).
>
> --
> Jason.
>
> _______________________________________________
> Bug-global mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/bug-global
>
--
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