diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-28 17:27:05 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-28 17:27:05 -0500 |
| commit | cfce376f585e0cd0231e95843617f75bd65b6c07 (patch) | |
| tree | 9457de8bb9b8d0643c83cd5c08182af6a86804b7 /src/environment.c | |
| parent | b80e21ce3d673d981e44a725c62b62563a77db9b (diff) | |
Change autoformatter to no longer allow single-line functions
Diffstat (limited to 'src/environment.c')
| -rw-r--r-- | src/environment.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/environment.c b/src/environment.c index a82274e7..b3009a5e 100644 --- a/src/environment.c +++ b/src/environment.c @@ -715,7 +715,9 @@ env_t *namespace_env(env_t *env, const char *namespace_name) { return ns_env; } -PUREFUNC binding_t *get_binding(env_t *env, const char *name) { return Table$str_get(*env->locals, name); } +PUREFUNC binding_t *get_binding(env_t *env, const char *name) { + return Table$str_get(*env->locals, name); +} binding_t *get_namespace_binding(env_t *env, ast_t *self, const char *name) { type_t *self_type = get_type(env, self); |
