Marc Herbert <[email protected]> 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 <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global

Reply via email to