True when a parse error inside `decl` may reach past it. */
| 1745 | |
| 1746 | /* True when a parse error inside `decl` may reach past it. */ |
| 1747 | static bool jv_errors_leak(const jv_scan_t *s, TSNode decl) { |
| 1748 | return ts_node_has_error(decl) && !jv_errors_contained(s, decl); |
| 1749 | } |
| 1750 | |
| 1751 | /* A member the scan keeps, in a file with parse errors: when nothing in it |
| 1752 | * failed to parse, or its body is a block of the text, or its errors are held |
no test coverage detected