Skip to main content

restore_if_stack

Function restore_if_stack 

Source
pub fn restore_if_stack(snapshot: Vec<(Rc<RefCell<IfFrame>>, IfFrame)>)
Expand description

Put the active conditionals back as if_stack_snapshot took them: the frames it held, their state as it was — those a run opened dropped, those it closed (a \fi of its own matching one opened before it) open again.