and an implementation file in which all these are implemented. However, at link-time, I'm getting (among others) this gem of an error:
parser.h:11:21: warning: ‘ASTFunction* parse_definition()’ used but never defined [enabled by default]
parser.h:12:22: warning: ‘ASTPrototype* parse_extern()’ used but never defined [enabled by default]
parser.h:13:21: warning: ‘ASTFunction* parse_toplevel_expression()’ used but never defined [enabled by default]
So, for some reason g++ finds all implementations except for the three last functions. I know the functions are properly implemented, because they worked fine until I decided to split my code up into separate files (which has been giving me a headache for the past couple of hours). Of course I'll provide the .cpp file if necessary. Does this make sense to anyone?
EDIT: Pardon the nondescript title, I have no idea what to call this