pub fn par_event(endtok: i32) -> boolExpand description
Parse one event (sublist with optional separator). Direct
port of zsh/Src/parse.c:635 par_event. Returns true if
an event was successfully parsed, false on EOF / endtok.
zshrs port note: the C version emits wordcodes via ecadd/ set_list_code; zshrs’s parser builds AST nodes via par_sublist + par_list. Same flow, different output.