aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-06 11:37:33 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-06 11:37:33 -0400
commit4b352f89a309dd2405f782062476202829beee37 (patch)
tree113295ef0d7d875c4bab07c4386b633939789868 /compile.c
parent5221584d2836769cb6bd714a601351117eb35a70 (diff)
Add Shell dsl type
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index e53b43bb..0be3aa89 100644
--- a/compile.c
+++ b/compile.c
@@ -2994,6 +2994,8 @@ CORD compile_type_info(env_t *env, type_t *t)
return "&Text$info";
else if (streq(text->lang, "Pattern"))
return "&Pattern$info";
+ else if (streq(text->lang, "Shell"))
+ return "&Shell$info";
return CORD_all("(&", namespace_prefix(text->env->libname, text->env->namespace->parent), text->lang, ")");
}
case StructType: {