rem: state->error = 1;
context: parse_joybinding (parse_state *state, int *target){	int sticknum;	consume (state, "joystick");	sticknum = consume_num (state);	if (!state->error)	{		if (!stricmp (state->token, "axis"))		{			int axisnum;			consume (state, "axis");			axisnum = consume_num (state);			if (!state->error)			{				int polarity = consume_polarity (state);				if (!state->error)				{					if (VControl_AddJoyAxisBinding (sticknum, axisnum, polarity, target))					{						state->error = 1;					}				}			}		} 		else if (!stricmp (state->token, "button"))		{			int buttonnum;			consume (state, "button");			buttonnum = consume_num (state);			if (!state->error)			{				if (VControl_AddJoyButtonBinding (sticknum, buttonnum, target))				{					state->error = 1;				}			}		}		else if (!stricmp (state->token, "hat"))		{			int hatnum;			consume (state, "hat");			hatnum = consume_num (state);			if (!state->error)			{				Uint8 dir = consume_dir (state);				if (!state->error)				{					if (VControl_AddJoyHatBinding (sticknum, hatnum, dir, target))					{						state->error = 1;					}				}			}		}		else		{			expected_error (state, "axis', 'button', or 'hat");		}	}}