| 236 | } |
| 237 | |
| 238 | bool cbm_scope_update_callable(CBMScope *scope, const char *name, const char *callable_qn) { |
| 239 | if (!name) { |
| 240 | return false; |
| 241 | } |
| 242 | for (CBMScope *s = scope; s != NULL; s = s->parent) { |
| 243 | CBMVarBinding *b = scope_frame_find(s, name); |
| 244 | if (b) { |
| 245 | b->callable_qn = callable_qn; |
| 246 | return true; |
| 247 | } |
| 248 | } |
| 249 | return false; |
| 250 | } |
no test coverage detected