pub fn save_params(
state: &mut estate,
pc: usize,
restore_p: &mut Vec<param>,
remove_p: &mut Vec<String>,
)Expand description
Port of save_params(Estate state, Wordcode pc, LinkList *restore_p, LinkList *remove_p) from Src/exec.c:4410-4458. Walk WC_ASSIGN
chain at pc, snapshot each existing param into restore_p (so
the builtin/shfunc can restore them on return) and enqueue every
touched name in remove_p (so we know what to unset).