Skip to main content

pushback_holds_nonspace

Function pushback_holds_nonspace 

Source
pub fn pushback_holds_nonspace() -> bool
Expand description

Read the next raw line (string); primarily to read from the Mouth, but keep any unread input! Whether the gullet’s unread (pushed-back) tokens include a non-space token.

Raw-line readers need this to interpret their FIRST read_raw_line call. A read_non_space argument probe that found no [ has crossed the newline after \begin{env} and unread the BODY’s first non-space character — the “first raw line” is then real content, not the leftover of the \begin line. A benign probe (if_next via read_token) unreads at most the end-of-line SPACE token, so space-only pushback still means “the first raw line is \begin-line leftover, discard it”. See listings_sty::listings_read_raw_lines (OXIDIZED_DESIGN #162).