« Return to Thread: gtags alternate file extension

Re: gtags alternate file extension

by Shigio YAMAGUCHI-2 :: Rate this Message:

| View in Thread

Hi,
> i am running gtags - GNU GLOBAL 5.9.7.
> my project tree contains files with extensions .alt,
> it contains c code, only the extension is different.
> how can i make gtags recognize these files.

You can do it by adding '.alt' to the value of langmap in the configuration
file like follows:

:langmap=c\:.c.h,yacc\:...
        |
        v
:langmap=c\:.c.h.alt,yacc\:...
                ====
--
Shigio YAMAGUCHI <shigio@...>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Help-global mailing list
Help-global@...
https://lists.gnu.org/mailman/listinfo/help-global

 « Return to Thread: gtags alternate file extension