I believe I've found some bugs in how semantic parses
function declarations in C. Enter the following function
static const char *g(long int x)
Place the cursor on the function name and watch what
semantic outputs in the minibuffer:
Function: const static char *g (long ,int x)
Two problems here: Semantic does not seem to
handle "long int" properly, but considers it two
arguments ("long int" is a valid way of writing "long" in
C). Also, the order of const and static is wrong. This
matters with some compilers if you want to use the
output to auto-generate function declarations.
I have semantic 1.4 installed.