I want to define a function type, that returns a pointer to same type of function as itself. I have tried this:
typedef state* (*state)(lex*);
But I get a syntax error
as you would guess.
I want to define a function type, that returns a pointer to same type of function as itself. I have tried this:
typedef state* (*state)(lex*);
But I get a syntax error
as you would guess.