help request for the --langmap option

[email protected]
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
I need some help with the new --langmap option.

I wanted to treat .hpp as .h and I tried to change the common section
of .globalrc to be:


common:\
  :skip=GPATH,GTAGS,GRTAGS,GSYMS,HTML/,tags,TAGS,ID:\
  :skip=y.tab.c,y.tab.h:\
  :skip=SCCS/,RCS/,CVS/,CVSROOT/,.deps/:\
  :format=standard:\
  :suffixes=hpp:\
  :GTAGS=gctags y -dt %s:\
  :GRTAGS=gctags --langmap=h\:.hpp -dt %s:\
  :GSYMS=gctags --langmap=h\:.hpp -dt %s:


or the section gctags|tag command for GLOBAL:


gctags|tag command for GLOBAL:\
  :tc=common:\
  :suffixes=c,h,y,c++,cc,cpp,cxx,hpp,C,H,s,S,java:\
  :sort_command=sort:\
  :sed_command=sed:\
  :GTAGS=gctags y -dt %s:\
  :GRTAGS=gctags --langmap=h\:.hpp -dtr %s:\
  :GSYMS=gctags --langmap=h\:.hpp -dts %s:


I have also tried with --langmap=c\:.hpp in both sections


but it doesn't work. I mean that in the html file produced
by gtags: htags: it is not possible to jump to an included
<file.hpp> as it is for the <file.h>.



thank for any help



__________________________________________________________________
Nuova Tiscali ADSL da 12,95 euro al mese.
Abbonati subito, entro il 31 ottobre l'attivazione e i consumi sono Gratis!

http://point.tiscali.it/ADSL/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.