Past a keyword label in front of an argument (`launchPath: `, `args=`). */
| 546 | |
| 547 | /* Past a keyword label in front of an argument (`launchPath: `, `args=`). */ |
| 548 | static 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"..", @".."). */ |
no test coverage detected