Skip to main content

unread_vec

Function unread_vec 

Source
pub fn unread_vec(tokens: Vec<Token>)
Expand description

Unreads a Vec<Token> to the start of the token stream Perl: also adjusts ALIGN_STATE by retracting scanned braces (Gullet.pm lines 343-358). Correct ONLY for tokens that were previously READ (and hence counted) — for expansion output use unread_expansion (tex.web begin_token_list flavor, which adjusts nothing).