diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-09 02:43:15 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-09 02:43:15 -0400 |
| commit | a306f945571c8027badd2ca673304991f628900c (patch) | |
| tree | 328f8c57bec5e0b71d7c589213badb3b4d03b39c /compile.c | |
| parent | 1fbe2cb5dd1aa4b20411ee0c3b00310677373a55 (diff) | |
Add mktemp functionality
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1856,6 +1856,9 @@ CORD compile(env_t *env, ast_t *ast) case BINOP_CONCAT: { switch (operand_t->tag) { case TextType: { + const char *lang = Match(operand_t, TextType)->lang; + if (streq(lang, "Path")) + return CORD_all("Path$concat(", lhs, ", ", rhs, ")"); return CORD_all("Text$concat(", lhs, ", ", rhs, ")"); } case ArrayType: { |
