pub fn input_file_ended(end: &FileHooksEnd, forced: bool) -> Result<()>Expand description
\InputIfFileExists’ code after \@@input (latex.ltx:19670-19673, :19655), where a content file read with the
hooks ends (gullet::close_mouth): its names set again, file/<name>/after, file/after, the stack’s pop. With
both hooks empty and the file at a real end, the names are popped here and no token is left
(OXIDIZED_DESIGN_DIVERGENCES #1196, DG D-48): as LaTeX before 2020-10 read \InputIfFileExists, nothing follows
the file, so a file ending a row (a & b \\) leaves the next \hline, \toprule or \cline at the row’s start
(0908.0798, 1106.3602, 1710.05930); TL 2025’s non-expandable pop opens a row there (“Misplaced \noalign”). Code in
a hook keeps TL 2025’s reading.