aboutsummaryrefslogtreecommitdiff
path: root/src/stem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stem.c')
-rw-r--r--src/stem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stem.c b/src/stem.c
index 66aaff9..6fc6144 100644
--- a/src/stem.c
+++ b/src/stem.c
@@ -91,7 +91,7 @@ value_t *value_copy(value_t *v) {
a->type = v->type;
if (v->type == VINT || v->type == VFLOAT) {
a->int_float = v->int_float;
- } else if (v->type == VSTR || v->type == VWORD) {
+ } else if (v->type == VSTR || v->type == VWORD || v->type == VERR) {
a->str_word = string_copy(v->str_word);
a->escaped = v->escaped;
} else if (v->type == VQUOTE) {