#include "parse.h" main(int argc, char *argv[]) { if(argc != 2) { fprintf(stderr, "Usage: %s filename\n", argv[0]); exit(1); } Parse file(argv[1]); if(file.Status() == -1) { fprintf(stderr, "Something went wrong during parsing the source code!\n"); return -1; } else { fprintf(stderr, "Parsing was ok.\n"); return 0; } }