Skip to main content

clear_hdocs

Function clear_hdocs 

Source
pub fn clear_hdocs()
Expand description

Clear pending here-document list. Direct port of zsh/Src/parse.c:591 clear_hdocs. The C version walks the global hdocs linked list and frees each node. zshrs stores pending heredocs on the lexer’s heredocs Vec — truncating it has the same effect.