We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 575bfe5 commit a5b1c4dCopy full SHA for a5b1c4d
src/lj_cparse.c
@@ -798,6 +798,10 @@ static void cp_push_type(CPDecl *decl, CTypeID id)
798
cp_push(decl, info & ~CTMASK_CID, size); /* Copy type. */
799
break;
800
case CT_ARRAY:
801
+ if ((ct->info & (CTF_VECTOR|CTF_COMPLEX))) {
802
+ info |= (decl->attr & CTF_QUAL);
803
+ decl->attr &= ~CTF_QUAL;
804
+ }
805
cp_push_type(decl, ctype_cid(info)); /* Unroll. */
806
807
decl->stack[decl->pos].sib = 1; /* Mark as already checked and sized. */
0 commit comments