Brace nesting depth at byte `pos`. */
| 1805 | |
| 1806 | /* Brace nesting depth at byte `pos`. */ |
| 1807 | static int cs_depth_at(const cs_scan_t *s, uint32_t pos) { |
| 1808 | int i = cs_brace_lower(s, pos); |
| 1809 | return i > 0 ? s->braces[i - SKIP_ONE].depth : 0; |
| 1810 | } |
| 1811 | |
| 1812 | /* The extent of the block opened by brace `b`. false when it has no partner. */ |
| 1813 | static bool cs_brace_extent(const cs_scan_t *s, int b, uint32_t *end, uint32_t *end_line, |
no test coverage detected