stage1_2/stage1_2_priv.hh
changeset 761 7b52623a2f37
parent 757 f1fc4aa6f0e3
child 822 a7d9e0b8636b
child 867 a435684a5223
--- 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);