CTryCatch
CTryCatch copied to clipboard
Support for `throw`ing inside catch block or nested try/catch structure
This can be solved by a global jmp_env stack.
Steps:
- Setup a global stack in which stores
jmp_envs and other useful information. push()before currenttrymacro, andpop()aftertrystatement has finished.
step 2 can be done by using a while since on finish it went back to evaluate its value again.