diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-15 14:59:17 -0400 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2020-03-15 14:59:17 -0400 |
commit | e093297dd5846e963868b62afe55f589d72384c0 (patch) | |
tree | 986dfcf4cf6ea5c0f3c94bcaa6da090339abe9ea /copy.c | |
parent | 6bedd04d011eaadf9ec0dc865bb8f84127db7e75 (diff) |
#error, realized this can replace where
Diffstat (limited to 'copy.c')
-rw-r--r-- | copy.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -441,6 +441,9 @@ static void copy_stmt(Copier *c, Statement *out, Statement *in) { case STMT_DECL: copy_decl(c, out->decl = allocr_malloc(c->allocr, sizeof *out->decl), in->decl); break; + case STMT_MESSAGE: + copy_expr(c, &out->message.text, &in->message.text); + break; } } |