It seems that the latest patch also includes a problem.
$ cat -n test.cpp
1 class a : public b {
2 };
[global-6.3.3]
$ gtags
$ global -f test.cpp
a 1 test.cpp class a : public b {
$ global -frs test.cpp
b 1 test.cpp class a : public b {
[global-6.3.3+patch]
$ gtags
$ global -f test.cpp
$ global -frs test.cpp
a 1 test.cpp class a : public b {
b 1 test.cpp class a : public b {
It seems to be much difficult more than we probably thought of
this issue. How about taking the method that Julien proposed?
It seems to be safer.
Shigio
2014-11-30 20:14 GMT+09:00 Jason Hood <[email protected]>:
> On 28/11/2014 9:46, Shigio YAMAGUCHI wrote:
> > Hi,
> > Your patch picks up many correct definitions which were overlooked.
> > However, it seems that it also has side effects.
>
> Fixed. This one is based on the previous one.
>
> --
> Jason.
>
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-global