void fxJump(txMachine* the) { txJump* aJump = the->firstJump; #ifdef mxProfile fxJumpFrames(the, the->frame, aJump->frame); #endif c_longjmp(aJump->buffer, 1); }
void fxReportError(txLinker* linker, txString theFormat, ...) { c_va_list arguments; fprintf(stderr, "### "); c_va_start(arguments, theFormat); vfprintf(stderr, theFormat, arguments); c_va_end(arguments); fprintf(stderr, "!\n"); linker->error = C_EINVAL; c_longjmp(linker->jmp_buf, 1); }
void fxThrowParserError(txParser* parser, txInteger count) { parser->error = C_EINVAL; c_longjmp(parser->firstJump->jmp_buf, 1); }
void fxThrowMemoryError(txParser* parser) { parser->error = C_ENOMEM; c_longjmp(parser->firstJump->jmp_buf, 1); }