summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regcomp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/regcomp.c b/regcomp.c
index 59b2712e48..346ffffd45 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -3929,6 +3929,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state)
n = add_data(pRExC_state, 1, "s");
RExC_rx->data->data[n] = (void*)rv;
ARG_SET(ret, n);
+ NEXT_OFF(ret) = RExC_emit - ret;
}
return ret;