This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When using a little more complex declarations the parser seems to detect errors where there are none. For example: 1. int (*(*f3(int z))(double ))(float ){ return NULL; } Which is a declaration of a function returning a pointer to a function returning a pointer to a function. 2. char (* ( *f())[])(){ return NULL; } Which is a function returning a pointer to an array of pointers to functions. All the above cases are highlighted with numerous errors like: Unexpected token {, Unexpected token } , Unresolved symbol f3 ,etc. It's very hard and confusing to work this way because it ruins highlighting in the rest of the file too.
*** Bug 242971 has been marked as a duplicate of this bug. ***
Also: typedef void (*(*fptr_T) (int *, int))();