[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Global-commit] global ./configure.ac ./gtags.conf.in gtags/gta...
From: |
Shigio Yamaguchi |
Subject: |
Re: [Global-commit] global ./configure.ac ./gtags.conf.in gtags/gta... |
Date: |
Thu, 10 Mar 2005 08:52:08 +0900 |
Hello,
> It is possible to specify two or more files in the command line of gtgas-pars
> er.
> By your change, C source after Yacc source came to be parsed as Yacc source.
I have fixed the bug.
Thank you.
>
> $ 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(){}
This is the bug fixed version.
$ 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(){}
baz 1 c.c int baz(){}
$ 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(){}
--
Shigio YAMAGUCHI <address@hidden> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3