--- a/stage1_2/stage1_2_priv.hh Sat Dec 01 11:27:48 2012 +0000
+++ b/stage1_2/stage1_2_priv.hh Sat Dec 01 11:30:16 2012 +0000
@@ -126,10 +126,10 @@
/* Tell flex which file to parse. This function will not imediately start parsing the file.
* To parse the file, you then need to call yyparse()
*
- * Returns -1 on error opening the file (and a valid errno), or 0 on success.
- */
-int parse_file(const char *filename);
-
+ * Returns NULL on error opening the file (and a valid errno), or 0 on success.
+ * Caller must close the file!
+ */
+FILE *parse_file(const char *filename);