fn expectTopLevelDeclRecoverable(p: *Parse) error
p: *Parse
705 706 707 708 709 710 711 712 713
fn expectTopLevelDeclRecoverable(p: *Parse) error{OutOfMemory}!?Node.Index { return p.expectTopLevelDecl() catch |err| switch (err) { error.OutOfMemory => |e| return e, error.ParseError => { p.findNextContainerMember(); return null; }, }; }