bug-global
[Top][All Lists]
Advanced

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

Re: [Global-commit] global ./configure.ac ./gtags.conf.in gtags/gta...


From: Hideki IWAMOTO
Subject: Re: [Global-commit] global ./configure.ac ./gtags.conf.in gtags/gta...
Date: Thu, 10 Mar 2005 00:08:50 +0900

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  address@hidden




reply via email to

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