Mine
public c v1 · immutableintmain(int argc, char **argv){ int r; yydebug = 1; /* redirect input to the file supplied at the command line */ if (argc == 2) { freopen(argv[1], "r", stdin); filename = strdup(argv[1]); } r = yyparse(); if (r == 0) { printf("Success!\n"); AST_program_print(stdout, 0, ast); AST_program_parse(ast, 193); } else printf("Failure!\n"); if (argc == 2) close(argv[1]); return r;}