aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lj_cparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_cparse.c b/src/lj_cparse.c
index 925894a3..b2d0ecf7 100644
--- a/src/lj_cparse.c
+++ b/src/lj_cparse.c
@@ -1762,6 +1762,7 @@ static void cp_decl_multi(CPState *cp)
1762 if (decl.redir) { /* Add attribute for redirected symbol name. */ 1762 if (decl.redir) { /* Add attribute for redirected symbol name. */
1763 CType *cta; 1763 CType *cta;
1764 CTypeID aid = lj_ctype_new(cp->cts, &cta); 1764 CTypeID aid = lj_ctype_new(cp->cts, &cta);
1765 ct = ctype_get(cp->cts, id); /* Table may have been reallocated. */
1765 cta->info = CTINFO(CT_ATTRIB, CTATTRIB(CTA_REDIR)); 1766 cta->info = CTINFO(CT_ATTRIB, CTATTRIB(CTA_REDIR));
1766 cta->sib = ct->sib; 1767 cta->sib = ct->sib;
1767 ct->sib = aid; 1768 ct->sib = aid;