bug-global
[Top][All Lists]
Advanced

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

Re: GNU Global does not jump to typedef definition correctly


From: Shigio YAMAGUCHI
Subject: Re: GNU Global does not jump to typedef definition correctly
Date: Tue, 15 Apr 2014 06:56:23 +0900

Hello,
I have added your bug report to the TODO list.
It seems to be similar to the following:
http://lists.gnu.org/archive/html/bug-global/2013-02/msg00022.html

Thank you.


2014-04-15 3:49 GMT+09:00 Tu Do <address@hidden>:

Example code:

#include <stdio.h>

typedef int (test_t) (int a);

struct test {
  test_t *test_func;
};

int test_a (int a) {
  return a + 1;
}

int main(int *argc, char argv[])
{
  struct test a;

  a.test_func = test_a;

  return 0;
}
  • What is your environment (OS)? 
    • Ubuntu 13.10
  • Which version of GLOBAL are you using? 
    • 6.2.12
  • What did you do? (command line) 
    • global -d test_t
  • What did you expect from it? 
    • test_t displayed correctly as a definition. It is a function type. Other definitions got displayed correctly.
  • What was occurred? (as is)
    • Nothing is displayed
Regards,

Tu.

_______________________________________________
Bug-global mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/bug-global




--
Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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