diff options
author | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:44:14 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-10-03 17:44:14 +0000 |
commit | 42f3de924bc3e285490f5f293955bc6d7e5a0edf (patch) | |
tree | c33a59825957ca5561bb7bb5038575ff052d5245 /py/parse.h | |
parent | 877dba3e1a76d151c0d93c88bcfaac62ecfe3799 (diff) |
py: Convert [u]int to mp_[u]int_t where appropriate.
Addressing issue #50.
Diffstat (limited to 'py/parse.h')
-rw-r--r-- | py/parse.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/py/parse.h b/py/parse.h index f8c1d5718..45645951a 100644 --- a/py/parse.h +++ b/py/parse.h @@ -68,7 +68,6 @@ typedef struct _mp_parse_node_struct_t { #define MP_PARSE_NODE_IS_TOKEN_KIND(pn, k) ((pn) == (MP_PARSE_NODE_TOKEN | ((k) << 5))) #define MP_PARSE_NODE_LEAF_KIND(pn) ((pn) & 0x1f) -// TODO should probably have int and uint versions of this macro #define MP_PARSE_NODE_LEAF_ARG(pn) (((mp_uint_t)(pn)) >> 5) #define MP_PARSE_NODE_LEAF_SMALL_INT(pn) (((mp_int_t)(pn)) >> 1) #define MP_PARSE_NODE_STRUCT_KIND(pns) ((pns)->kind_num_nodes & 0xff) |