Skip to main content

par_pipe_wordcode

Function par_pipe_wordcode 

Source
pub fn par_pipe_wordcode(cmplx: &mut i32) -> bool
Expand description

Port of par_pline(int *cmplx) from Src/parse.c:894-955. pline : cmd [ ( BAR | BARAMP ) { SEPER } pline ]. Emits a WCB_PIPE header (mid for chain links, end for the last cmd) plus the optional BARAMP 2>&1 synthetic redir. Port of par_pline(int *cmplx) from Src/parse.c:893-947. (Named par_pipe_wordcode to disambiguate from the AST par_pline at parse.rs:3744 — semantically the same pline production.)