summaryrefslogtreecommitdiffstatshomepage
path: root/py/vm.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-04-09 15:29:54 +0000
committerDamien George <damien.p.george@gmail.com>2015-04-09 15:29:54 +0000
commit4dea922610c8ea6af285cd49b0a531d4941d820f (patch)
tree9d10a279f23eb71d9ba9cd13e6da69b1ee77d03d /py/vm.c
parentdf1637c580457234d805154efea1c51a83b1136a (diff)
downloadmicropython-4dea922610c8ea6af285cd49b0a531d4941d820f.tar.gz
micropython-4dea922610c8ea6af285cd49b0a531d4941d820f.zip
py: Adjust some spaces in code style/format, purely for consistency.
Diffstat (limited to 'py/vm.c')
-rw-r--r--py/vm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/py/vm.c b/py/vm.c
index d7fc049223..d81f5580e2 100644
--- a/py/vm.c
+++ b/py/vm.c
@@ -112,7 +112,7 @@ mp_vm_return_kind_t mp_execute_bytecode(mp_code_state *code_state, volatile mp_o
TRACE(ip); \
MARK_EXC_IP_GLOBAL(); \
goto *entry_table[*ip++]; \
- } while(0)
+ } while (0)
#define DISPATCH_WITH_PEND_EXC_CHECK() goto pending_exception_check
#define ENTRY(op) entry_##op
#define ENTRY_DEFAULT entry_default
@@ -127,7 +127,7 @@ mp_vm_return_kind_t mp_execute_bytecode(mp_code_state *code_state, volatile mp_o
// sees that it's possible for us to jump from the dispatch loop to the exception
// handler. Without this, the code may have a different stack layout in the dispatch
// loop and the exception handler, leading to very obscure bugs.
- #define RAISE(o) do { nlr_pop(); nlr.ret_val = o; goto exception_handler; } while(0)
+ #define RAISE(o) do { nlr_pop(); nlr.ret_val = o; goto exception_handler; } while (0)
#if MICROPY_STACKLESS
run_code_state: ;