diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-12-25 23:29:19 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-12-27 16:12:17 +0200 |
commit | 8ab6f9067412d9f73fe88d42d81c0b4c4f1fd20b (patch) | |
tree | 1b0609e517add9bf37c10e47d13fc556657cbb9c /py/parse.h | |
parent | 343266ea519927a7f1bc0a27f9c8af768d1125f7 (diff) |
py: Move to guarded includes for compile.h and related headers.
Diffstat (limited to 'py/parse.h')
-rw-r--r-- | py/parse.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/py/parse.h b/py/parse.h index 45645951a..400622318 100644 --- a/py/parse.h +++ b/py/parse.h @@ -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__ |