stage1_2/stage1_2_priv.hh
changeset 761 7b52623a2f37
parent 757 f1fc4aa6f0e3
child 822 a7d9e0b8636b
child 867 a435684a5223
equal deleted inserted replaced
760:d736dc9e9e51 761:7b52623a2f37
   124 /**********************************/
   124 /**********************************/
   125 /* This is a service that flex provides to bison... */
   125 /* This is a service that flex provides to bison... */
   126 /* Tell flex which file to parse. This function will not imediately start parsing the file.
   126 /* Tell flex which file to parse. This function will not imediately start parsing the file.
   127  * To parse the file, you then need to call yyparse()
   127  * To parse the file, you then need to call yyparse()
   128  *
   128  *
   129  * Returns -1 on error opening the file (and a valid errno), or 0 on success.
   129  * Returns NULL on error opening the file (and a valid errno), or 0 on success.
   130  */
   130  * Caller must close the file!
   131 int parse_file(const char *filename);
   131  */
   132 
   132 FILE *parse_file(const char *filename);
   133 
   133 
   134 
   134 
   135 
   135 
   136 /****************************************************/
   136 /****************************************************/
   137 /* Controlling the entry to the body_state in flex. */
   137 /* Controlling the entry to the body_state in flex. */