bug-global
[Top][All Lists]
Advanced

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

GNU Global does not jump to typedef definition correctly


From: Tu Do
Subject: GNU Global does not jump to typedef definition correctly
Date: 2014年4月15日 01:49:26 +0700

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.

reply via email to

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

AltStyle によって変換されたページ (->オリジナル) /