diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 13:04:50 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-03 13:04:50 -0500 |
| commit | ec7a9e5f107a68072b3a4dd84aa6a4b461657345 (patch) | |
| tree | 2a03723c2d8060e4503c6b9ecb97baad9432cd3d /environment.h | |
| parent | 4dc70c84d4226174d44f1b53599d08de7a4e83aa (diff) | |
Initial pass at namespacing
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.h b/environment.h index cf7bc546..bbbdd01d 100644 --- a/environment.h +++ b/environment.h @@ -32,7 +32,7 @@ __attribute__((noreturn)) void compiler_err(file_t *f, const char *start, const char *end, const char *fmt, ...); binding_t *get_binding(env_t *env, const char *name); void set_binding(env_t *env, const char *name, binding_t *binding); -binding_t *get_method_binding(env_t *env, ast_t *self, const char *name); +binding_t *get_namespace_binding(env_t *env, ast_t *self, const char *name); #define code_err(ast, ...) compiler_err((ast)->file, (ast)->start, (ast)->end, __VA_ARGS__) // vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0 |
