示例#1
0
文件: stmt.c 项目: beretta42/FUZIX
/**
 * "continue" statement
 */
void docont(void) {
        WHILE *ptr; //int     *ptr;

        if ((ptr = findwhile ()) == 0)
                return;
        gen_modify_stack (ptr->stack_pointer);
        if (ptr->type == WSFOR)
                gen_jump (ptr->incr_def);
        else
                gen_jump (ptr->case_test);
}
示例#2
0
文件: stmt.c 项目: BouKiCHi/husic_git
/*
 *	"continue" statement
 */
void docont (void )
{
	INTPTR_T	*ptr;

	if ((ptr = findwhile ()) == 0)
		return;
	modstk (ptr[WSSP]);
	if (ptr[WSTYP] == WSFOR)
		jump (ptr[WSINCR]);
        	else
		jump (ptr[WSTEST]);
}