equal
deleted
inserted
replaced
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); |