| 1880 | |
| 1881 | |
| 1882 | static Capture *nextcap (Capture *cap) { |
| 1883 | if (isfullcap(cap)) return cap + 1; |
| 1884 | else { |
| 1885 | int n = 0; |
| 1886 | for (;;) { |
| 1887 | cap++; |
| 1888 | if (isclosecap(cap)) { |
| 1889 | if (n-- == 0) return cap + 1; |
| 1890 | } |
| 1891 | else if (!isfullcap(cap)) n++; |
| 1892 | } |
| 1893 | } |
| 1894 | } |
| 1895 | |
| 1896 | |
| 1897 | static int pushallvalues (CapState *cs, int addextra) { |
no outgoing calls
no test coverage detected