Skip to main content

read_cond_num

Function read_cond_num 

Source
pub fn read_cond_num() -> Option<i64>
Expand description

Read an integer from the next cond token. NOT a direct C port — the C get_cond_num(char *tst) (parse.c:2643) is the string-lookup helper ported below. This Rust-only helper exists to support the AST cond-walker (par_cond_* analogs) when it needs a numeric literal from the current lex position.