Hi.

This patch allows specifying both of -r and -s for "global -f" command in 
2-pass mode. 


Example:
$ env GTAGSLABEL=gtags global -fr test.c
g                   1 test.c         void f(void){g();}
$ env GTAGSLABEL=gtags global -fs test.c
h                   2 test.c         void g(void){h();}
$ env GTAGSLABEL=gtags global -frs test.c
global: both of -s and -r are not allowed.
$ env GTAGSLABEL=gtags-2pass global -fr test.c
g                   1 test.c         void f(void){g();}
$ env GTAGSLABEL=gtags-2pass global -fs test.c
h                   2 test.c         void g(void){h();}
$ env GTAGSLABEL=gtags-2pass global -frs test.c
g                   1 test.c         void f(void){g();}
h                   2 test.c         void g(void){h();}

----
Hideki IWAMOTO  [email protected]

Attachment: 20091120-global-frs.patch
Description: Binary data

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

Reply via email to