MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_mark_pp_error_row

Function cbm_mark_pp_error_row

internal/cbm/cbm.c:1723–1730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1721} cbm_pp_error_rows_t;
1722
1723static void cbm_mark_pp_error_row(TSNode c, void *arg) {
1724 cbm_pp_error_rows_t *marks = (cbm_pp_error_rows_t *)arg;
1725 uint32_t s = ts_node_start_point(c).row + 1;
1726 uint32_t e = ts_node_end_point(c).row + 1;
1727 for (uint32_t r = s; r <= e && r <= marks->row_count; r++) {
1728 marks->rows[r] = 1;
1729 }
1730}
1731
1732static void cbm_mark_pp_error_rows(TSNode n, uint8_t *rows, uint32_t row_count, const char *src,
1733 int src_len) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected