INPUT_END_BEL
ictx->input_end = INPUT_END_BEL;
if (end_type == INPUT_END_BEL)
if (ictx->input_end == INPUT_END_BEL)
if (ir->idx == INPUT_END_BEL)