bug-global
[Top][All Lists]
Advanced

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

Re: [PATCH] make suffix list of include file configurable


From: Hideki IWAMOTO
Subject: Re: [PATCH] make suffix list of include file configurable
Date: Fri, 01 Oct 2004 20:47:14 +0900

On Fri, 01 Oct 2004 16:48:18 +0900, Shigio Yamaguchi wrote...
> 
> How about changing the name of 'htags_langmap' to just 'langmap'?
> 
> Gtags(1) also can use the config variable. (Of course, currently
> it doesn't use the variable though.) So, we should not apply
> the command name prefix to the head of the variable name, I think.
> 
> What do you think?

The reason I added prefix to the config variable name is that
the treatment of the suffix .h differs by gctags and htags.
In gctags, it is judged automatically whether they are C or C++.
In htags, it is judged as C++.

 62 gctags/gctags.c static const char *default_map = 
"c:.c.h,yacc:.y,asm:.s.S,java:.java,cpp:.c++.cc.cpp.cxx.hxx.hpp.C.H,php:.php.php3.phtml";
202 htags/htags.c  static char *htags_langmap = 
"c:.c,yacc:.y,asm:.s.S,java:.java,cpp:.c++.cc.cpp.cxx.h.hxx.hpp.C.H,php:.php.php3.phtml";

----
Hideki IWAMOTO  address@hidden




reply via email to

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