bug-global
[Top][All Lists]
Advanced

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

Re: With a wacky macro before it, 'global' appears to miss a function


From: Shigio YAMAGUCHI
Subject: Re: With a wacky macro before it, 'global' appears to miss a function
Date: Thu, 28 Apr 2011 23:21:25 +0900

Marc Herbert <address@hidden> wrote:
>> Long term, global might need a way to specify ANSI on a file by file
>> basis for really big code bases.  (since some code bases may contain
>> both..)
>
>Good point, well spotted. This mode should be persisted in the
>database(s) on a per file basis.

But "file base" cannot cover mixed code like follows:

http://sourceware.org/cgi-bin/cvsweb.cgi/src/sim/m32r/sim-if.c?rev=1.13&content-type=text/x-cvsweb-m
arkup&cvsroot=src

>How difficult would it be to implement a new, incremental "--add"
>option like this:
>
># Adds specified files in old K&R mode
>gtags -f "K&R fileset"
>
># Adds in new ANSI mode all files not already known 
>GTAGSANSI=1 gtags  --add

Why incremental?
Is it static information?
--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3



reply via email to

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