py: Move to guarded includes for compile.h and related headers.

This commit is contained in:
Paul Sokolovsky
2014-12-25 23:29:19 +02:00
parent 343266ea51
commit 8ab6f90674
6 changed files with 30 additions and 0 deletions

View File

@@ -23,6 +23,8 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef __MICROPY_INCLUDED_PY_PARSE_H__
#define __MICROPY_INCLUDED_PY_PARSE_H__
struct _mp_lexer_t;
@@ -93,3 +95,5 @@ typedef enum {
// returns MP_PARSE_NODE_NULL on error, and then parse_error_kind_out is valid
mp_parse_node_t mp_parse(struct _mp_lexer_t *lex, mp_parse_input_kind_t input_kind, mp_parse_error_kind_t *parse_error_kind_out);
#endif // __MICROPY_INCLUDED_PY_PARSE_H__