aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-02-20 11:59:46 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-02-20 11:59:46 -0500
commit43a2959be3835fac0b39ae1be3a9116b5ec184f0 (patch)
tree5412b216e7ad2362e5cb41f00c483a6c645e198b
parent058a028aef6f056a31d1e9a09fa83d498c553b78 (diff)
Add undef
-rw-r--r--environment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/environment.c b/environment.c
index 3cc5392a..ce6fcbbf 100644
--- a/environment.c
+++ b/environment.c
@@ -482,7 +482,7 @@ env_t *new_compilation_unit(CORD libname)
ADD_CONSTRUCTOR(ns_env, "Shell$escape_text_array", "func(texts:[Text] -> Shell)");
ADD_CONSTRUCTOR(ns_env, "Int$value_as_text", "func(i:Int -> Shell)");
}
-
+#undef ADD_CONSTRUCTOR
set_binding(namespace_env(env, "Shell"), "without_escaping",
Type(FunctionType, .args=new(arg_t, .name="text", .type=TEXT_TYPE),