stage1_2/stage1_2_priv.hh
changeset 952 e984cfdf3b10
parent 934 2a42a68f4b59
child 971 8aee27d46208
--- a/stage1_2/stage1_2_priv.hh	Sat Nov 29 12:10:34 2014 +0000
+++ b/stage1_2/stage1_2_priv.hh	Sat Nov 29 13:43:20 2014 +0000
@@ -142,6 +142,12 @@
 FILE *parse_file(const char *filename);
 
 
+/**********************************************************************************************/
+/* whether bison is doing the pre-parsing, where POU bodies and var declarations are ignored! */
+/**********************************************************************************************/
+void set_preparse_state(void);
+void rst_preparse_state(void);
+bool get_preparse_state();  // returns true if bison is in preparse state
 
 /****************************************************/
 /* Controlling the entry to the body_state in flex. */