nflath / c-eldoc

eldoc-mode plugin for C source code
33 stars 15 forks source link

Fix current-function-regexp in c-eldoc-print-current-symbol-info. #7

Closed Bad-ptr closed 8 years ago

Bad-ptr commented 8 years ago

Looks like the current regexp not match for functions returning pointers(or references in c++). Example:

extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
nflath commented 8 years ago

Thanks for the commit!