pub fn par_funcdef_wordcode(cmplx: &mut i32)Expand description
Port of par_funcdef(int *cmplx) from Src/parse.c:1672-1779.
The function NAME { ... } form. Emits a WCB_FUNCDEF header
followed by a names-count slot, the names themselves, four
metadata slots (string-area start, string-area length, npats,
do_tracing), then the body wordcode, then WCB_END.
Critical: saves/resets ecnpats + ecssub + ecsoffs around
the body parse so per-function pattern counts don’t leak into
the enclosing scope’s ecnpats accumulator (parse.c:1723-1758).