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
This commit is contained in:
stijn 2015-04-09 11:34:08 +02:00
parent e97dddcdca
commit 36cc84a2a9
1 changed files with 2 additions and 2 deletions

View File

@ -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