Revert "disable 239 for native functions"

This reverts commit 8948f207ea9c7cef4e7808751a499310d1407148.
This commit is contained in:
Daniel_Cortez 2019-07-26 20:08:52 +07:00
parent ad730d32d8
commit 913eac5e3d

View File

@ -2216,7 +2216,7 @@ static int nesting=0;
if (arg[argidx].numdim!=1) {
error(48); /* array dimensions must match */
} else {
if (lval.sym==NULL && (arg[argidx].usage & uCONST)==0 && (sym->usage & uNATIVE)==0)
if (lval.sym==NULL && (arg[argidx].usage & uCONST)==0)
error(239);
if (arg[argidx].dim[0]!=0) {
assert(arg[argidx].dim[0]>0);