Skip to main content

set_scanner_status

Function set_scanner_status 

Source
pub fn set_scanner_status(
    status: ScannerStatus,
    warning_index: Option<Token>,
) -> ScannerStatusGuard
Expand description

Enter a scan at status, naming warning_index (the command TeX’s runaway message names: the macro whose arguments are read, the primitive whose text is absorbed). tex.web saves and restores the status around such a scan; the returned guard does the restoring.