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

Function spawn_skip_label

internal/cbm/spawn_patterns.c:548–561  ·  view source on GitHub ↗

Past a keyword label in front of an argument (`launchPath: `, `args=`). */

Source from the content-addressed store, hash-verified

546
547/* Past a keyword label in front of an argument (`launchPath: `, `args=`). */
548static const char *spawn_skip_label(const char *p) {
549 const char *q = p;
550 while (spawn_word_char(*q)) {
551 q++;
552 }
553 if (q == p) {
554 return p;
555 }
556 q = spawn_skip_space(q);
557 if ((*q == ':' && q[1] != ':') || (*q == '=' && q[1] != '=')) {
558 return spawn_skip_space(q + 1);
559 }
560 return p;
561}
562
563/* A string literal at the start of `p`, after a prefix such as r, b, f, L
564 * or @ (r"..", L"..", @".."). */

Callers 1

spawn_expr_literalFunction · 0.85

Calls 2

spawn_word_charFunction · 0.85
spawn_skip_spaceFunction · 0.85

Tested by

no test coverage detected