diff options
author | Damien George <damien.p.george@gmail.com> | 2020-02-27 12:35:44 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-02-28 10:30:34 +1100 |
commit | 17aeb43e18ca679617511c442cd7a74c363e40b9 (patch) | |
tree | 2a1029e30af540071830ebf99179744baa15b95c /py/runtime.c | |
parent | 7768a8c38d7d4e6655d750dbb140558cea48e1d6 (diff) | |
download | micropython-17aeb43e18ca679617511c442cd7a74c363e40b9.tar.gz micropython-17aeb43e18ca679617511c442cd7a74c363e40b9.zip |
py: Un-nest configuration #if/#endif's for selection of complex code.
Because un-nested #if's are simpler to handle with formatting tools.
Diffstat (limited to 'py/runtime.c')
-rw-r--r-- | py/runtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/runtime.c b/py/runtime.c index 9b5527d728..906d07b604 100644 --- a/py/runtime.c +++ b/py/runtime.c @@ -527,6 +527,7 @@ mp_obj_t mp_binary_op(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs) { } else { return res; } +#endif #if MICROPY_PY_BUILTINS_COMPLEX } else if (mp_obj_is_type(rhs, &mp_type_complex)) { mp_obj_t res = mp_obj_complex_binary_op(op, lhs_val, 0, rhs); @@ -536,7 +537,6 @@ mp_obj_t mp_binary_op(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs) { return res; } #endif -#endif } } |