From 4e732a718dc57f3c06af5ca9e43e4744b87ba72d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 19 Aug 2024 13:23:02 -0400 Subject: Restructure things so that DSL constructors do proper escaping --- environment.h | 1 + 1 file changed, 1 insertion(+) (limited to 'environment.h') 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__) -- cgit v1.2.3