diff options
author | stijn <stinos@zoho.com> | 2015-04-09 11:34:08 +0200 |
---|---|---|
committer | stijn <stinos@zoho.com> | 2015-04-09 12:40:38 +0200 |
commit | 36cc84a2a97aea289ccab851b55de590b91f86f5 (patch) | |
tree | 3b5e9c9d592d9a47103781c4a29200fa7c7d04ab /py | |
parent | e97dddcdcaa70b7d21971cbee32cf1f4981877e0 (diff) | |
download | micropython-36cc84a2a97aea289ccab851b55de590b91f86f5.tar.gz micropython-36cc84a2a97aea289ccab851b55de590b91f86f5.zip |
py: Fix msvc warning '*/ found outside of comment'
Also prevents some of the weaker syntax parsers out there treating the whole
'*/*const*/' part as a comment
Diffstat (limited to 'py')
-rw-r--r-- | py/vm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -133,8 +133,8 @@ mp_vm_return_kind_t mp_execute_bytecode(mp_code_state *code_state, volatile mp_o run_code_state: ; #endif // Pointers which are constant for particular invocation of mp_execute_bytecode() - mp_obj_t */*const*/ fastn = &code_state->state[code_state->n_state - 1]; - mp_exc_stack_t */*const*/ exc_stack = (mp_exc_stack_t*)(code_state->state + code_state->n_state); + mp_obj_t * /*const*/ fastn = &code_state->state[code_state->n_state - 1]; + mp_exc_stack_t * /*const*/ exc_stack = (mp_exc_stack_t*)(code_state->state + code_state->n_state); // variables that are visible to the exception handler (declared volatile) volatile bool currently_in_except_block = MP_TAGPTR_TAG0(code_state->exc_sp); // 0 or 1, to detect nested exceptions |