richard.tew  committed 9ce70d8

Fixed the MASM __return definition. I am adapting this #ifdef block for the arm assembler slp_switch I am writing, and noticed that the two statements in the __return define were not enclosed in a block, so polluted where they were expanded so the code would always return after that point.

  • Participants
  • Parent commits a7541fa
  • Branches dev

Comments (0)

Files changed (1)

File Stackless/core/slp_transfer.c

 #define STACK_MAGIC 0
 #undef __return
-#define __return(x) exitcode = x; goto exit;
+#define __return(x) { exitcode = x; goto exit; }
 int slp_save_state(intptr_t *stack){
 	int exitcode;