py: Convert [u]int to mp_[u]int_t where appropriate.
Addressing issue #50.
diff --git a/py/compile.c b/py/compile.c
index a9d19d2..4ccd405 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -493,7 +493,7 @@
return;
}
- int arg = MP_PARSE_NODE_LEAF_ARG(pn);
+ mp_uint_t arg = MP_PARSE_NODE_LEAF_ARG(pn);
switch (MP_PARSE_NODE_LEAF_KIND(pn)) {
case MP_PARSE_NODE_ID: assert(0);
case MP_PARSE_NODE_INTEGER: vstr_printf(vstr, "%s", qstr_str(arg)); break;
@@ -853,7 +853,7 @@
assert(0);
} else if (MP_PARSE_NODE_IS_LEAF(pn)) {
if (MP_PARSE_NODE_IS_ID(pn)) {
- int arg = MP_PARSE_NODE_LEAF_ARG(pn);
+ qstr arg = MP_PARSE_NODE_LEAF_ARG(pn);
switch (assign_kind) {
case ASSIGN_STORE:
case ASSIGN_AUG_STORE: