Skip to main content

clear_hdocs

Function clear_hdocs 

Source
pub fn clear_hdocs()
Expand description

Clear pending here-document list. Direct port of clear_hdocs(void) from Src/parse.c:591. The C version walks hdocs and frees each node; Rust drops the Box<heredocs> chain automatically when the head is replaced with None.