[CEDET-devel] semantic-ia-fast-jump: could not find suitable jump point
Brought to you by:
zappo
From: Visar Z. <vis...@gm...> - 2012-07-21 22:07:23
|
Hi everyone. I have this problem with semantic-ia-fast-jump on a particular variable (tag), which in my project is called GPIOC. When I tried to execute the very first time on finding the place where the GPIOC variable is defined, it found it. But when I try to find it again, it doesn't. semantic-ia-fast-jump works fine on finding the other variables and functions in my project. I deleted all the contents in ~/.semanticdb and then it works well, but just for one time. This is what I get: M-x semantic-ia-fast-jump: Could not find suitable jump point for GPIOC M-x semantic-analyze-current-context: Context Type: #<semantic-analyze-context context> Bounds: (1560 . 1565) Prefix: "GPIOC" Prefix Classes: 'function 'variable 'type Encountered Errors: '(error "Cannot find definition for \"GPIOC\"") -------- -> Local Args: void -> Local Vars: void I call semantic-ia-fast-jump in the main.c, while the GPIOC is defined in a header file. M-x semanticdb-find-test-translate-path listed the header file in which the GPIOC is defined. This is how the GPIOC is defined in that header file: #ifdef _GPIOC #define GPIOC ((GPIO_TypeDef *) GPIOC_BASE) #endif /*_GPIOC */ Any idea on this? Visar Zejnullahu |