Skip to main content

note_missing_argument

Function note_missing_argument 

Source
pub fn note_missing_argument(object: &str, spec: &str) -> Result<()>
Expand description

A required argument of spec whose reader ran out: at the true end of all input Perl’s “Missing argument” Error (Parameter.pm:93-97), the call then running on the reader’s empty value; an isolated mouth’s end stays quiet.

A later macro call missing the same argument (same macro, same spec) with no less input left is a scanner re-requesting it from the put-back, which Perl reruns to its error cap (ifthen’s \@tempc, \@iforloop, fancyvrb \FV@Scan): TeX’s runaway, “File ended while scanning use of”, the call abandoned (tex.web §338-339, §392; abandon_runaway_call) and the put-back read on. Every later call of it is abandoned too, reported once: a loop broken there re-enters from the put-back. One that consumed input is a new call, run as Perl runs it (a caption typeset after its measuring, PiCTeX’s \puts). Witnesses 2511.11682, 2510.17429 (500 Errors to the cap).