diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-19 13:23:02 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-19 13:23:02 -0400 |
| commit | 4e732a718dc57f3c06af5ca9e43e4744b87ba72d (patch) | |
| tree | 878cce5dfcb2a7c53df0dcbafdac2727ed29c052 /environment.h | |
| parent | 3ddaf9250586db0cf0d3e40106c836bb7ec33add (diff) | |
Restructure things so that DSL constructors do proper escaping
Diffstat (limited to 'environment.h')
| -rw-r--r-- | environment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/environment.h b/environment.h index 0f5d34ef..b69e0a9e 100644 --- a/environment.h +++ b/environment.h @@ -71,6 +71,7 @@ env_t *namespace_env(env_t *env, const char *namespace_name); __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); +binding_t *get_lang_escape_function(env_t *env, const char *lang_name, type_t *type_to_escape); void set_binding(env_t *env, const char *name, binding_t *binding); 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__) |
