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 <[EMAIL PROTECTED]> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global