help-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help request for the --langmap option


From: steffe
Subject: help request for the --langmap option
Date: Thu, 24 Oct 2002 12:55:22 +0200

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/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]