Exemplo n.º 1
0
void fxJump(txMachine* the)
{
	txJump* aJump = the->firstJump;
#ifdef mxProfile
	fxJumpFrames(the, the->frame, aJump->frame);
#endif	
	c_longjmp(aJump->buffer, 1);
}
Exemplo n.º 2
0
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); 
}
Exemplo n.º 3
0
void fxThrowParserError(txParser* parser, txInteger count)
{
	parser->error = C_EINVAL;
	c_longjmp(parser->firstJump->jmp_buf, 1);
}
Exemplo n.º 4
0
void fxThrowMemoryError(txParser* parser)
{
	parser->error = C_ENOMEM;
	c_longjmp(parser->firstJump->jmp_buf, 1);
}