nflath / c-eldoc

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

Fix function search regular expression #5

Closed evgeniysharapov closed 9 years ago

evgeniysharapov commented 9 years ago

I fixed a regular expression that searches for the function in the pre-processed file so it catches function declarations like

int __attribute__((__cdecl__)) printf(const char * __restrict__ _Format,...);
nflath commented 9 years ago

Thanks!

knu commented 8 years ago

I suspect the * character was mistakenly dropped from the pattern, causing any function returning a pointer not to be found.