Alexey-T / CudaText

Cross-platform text editor, written in Free Pascal
Mozilla Public License 2.0
2.39k stars 166 forks source link

In C language mode the code tree cannot display the function name which return a function point #5507

Closed jack6th closed 1 month ago

jack6th commented 1 month ago

CudaText 1.214.2.0 win32

int add(int a, int b) {return a+b;}

int (*get_add(void))(int, int) {return add;}

Code tree only display add, it cannot display get_add.

Alexey-T commented 1 month ago

Sorry, but get_add doesn't match the usual func signature: it has redundant brackets around the name... code-tree parser don't expect it. I don't plan to fix it yet.