Re: SWITCH question
- Posted by jimcbrown (admin) Jan 06, 2018
- 1821 views
irv said...
BTW: adding the -DINT_CODES gave me a world of errors:
/usr/share/euphoria/source/be_execute.c:785:29: error: lvalue required as left operand of assignment
#define thread2() {(long)pc += 2; goto loop_top;}
Hmm, try changing that to this:
#define thread2() do {pc += 2; goto loop_top;} while (0)
You probably will also need to fix thread3, thread4, thread5, and threadpc3