Is `name` a word of the enclosing function's signature (a parameter). */
| 1431 | |
| 1432 | /* Is `name` a word of the enclosing function's signature (a parameter). */ |
| 1433 | static bool gc_is_param(const gc_scope_t *sc, const char *name, size_t nl) { |
| 1434 | for (const char *p = sc->sig; sc->sig && p + nl <= sc->body; p++) { |
| 1435 | if (strncmp(p, name, nl) == 0 && !op_ident_char(p[-SKIP_ONE]) && !op_ident_char(p[nl])) { |
| 1436 | return true; |
| 1437 | } |
| 1438 | } |
| 1439 | return false; |
| 1440 | } |
| 1441 | |
| 1442 | static void gc_eval(const gc_scope_t *sc, const char *s, size_t n, int depth, gc_val_t *out); |
| 1443 |
no test coverage detected