stage1_2/stage1_2_priv.hh
changeset 952 e984cfdf3b10
parent 934 2a42a68f4b59
child 971 8aee27d46208
equal deleted inserted replaced
951:f53ea4c8621c 952:e984cfdf3b10
   140  * Caller must close the file!
   140  * Caller must close the file!
   141  */
   141  */
   142 FILE *parse_file(const char *filename);
   142 FILE *parse_file(const char *filename);
   143 
   143 
   144 
   144 
       
   145 /**********************************************************************************************/
       
   146 /* whether bison is doing the pre-parsing, where POU bodies and var declarations are ignored! */
       
   147 /**********************************************************************************************/
       
   148 void set_preparse_state(void);
       
   149 void rst_preparse_state(void);
       
   150 bool get_preparse_state();  // returns true if bison is in preparse state
   145 
   151 
   146 /****************************************************/
   152 /****************************************************/
   147 /* Controlling the entry to the body_state in flex. */
   153 /* Controlling the entry to the body_state in flex. */
   148 /****************************************************/
   154 /****************************************************/
   149 void cmd_goto_body_state(void);
   155 void cmd_goto_body_state(void);