On Wed, 23 Feb 2005 20:33:48 -0500, Shigio Yamaguchi wrote...
> http://savannah.gnu.org/cgi-bin/viewcvs/global/global/gtags-parser/C.c.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

It is possible to specify two or more files in the command line of gtgas-parser.
By your change, C source after Yacc source came to be parsed as Yacc source.

$ cat a.c 
int foo(){}

$ cat b.y 
%%
%%
int bar(){}

$ cat c.c 
int baz(){}

$ gtags-parser -dt a.c b.y c.c
foo                 1 a.c              int foo(){}
yyparse             1 b.y              %%
bar                 3 b.y              int bar(){}

$ gtags-parser -dt a.c c.c b.y
foo                 1 a.c              int foo(){}
baz                 1 c.c              int baz(){}
yyparse             1 b.y              %%
bar                 3 b.y              int bar(){}

----
Hideki IWAMOTO  [EMAIL PROTECTED]


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

Reply via email to