int SDL_GetPointDisplayIndex(const SDL_Point *point);
Now of course, this won't compile unless I put in a typedef for SDL_Point, but I still feel like I should be able to parse it and get an AST, even if it won't compile. Shouldn't the parser at least be able to infer that SDL_Point is some kind of type and keep going?
I'd like to be able to parse this declaration:
Now of course, this won't compile unless I put in a typedef for
SDL_Point
, but I still feel like I should be able to parse it and get an AST, even if it won't compile. Shouldn't the parser at least be able to infer thatSDL_Point
is some kind of type and keep going?