Squashed commit of the following:
commit 3f87cf177352d2fa7f6f793d51cf77c9dbdd62a1 Author: Daniel_Cortez <gromovstanislav@yandex.ru> Date: Fri Jul 26 20:21:36 2019 +0700 Update tests for 239 commit 913eac5e3dea8125e7a6d47d6398f30d3eb660ad Author: Daniel_Cortez <gromovstanislav@yandex.ru> Date: Fri Jul 26 20:08:52 2019 +0700 Revert "disable 239 for native functions" This reverts commit 8948f207ea9c7cef4e7808751a499310d1407148.
This commit is contained in:
parent
79101592e7
commit
8d8b104f38
@ -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);
|
||||
|
@ -7,5 +7,6 @@ const_array_args_and_literals_gh_276.pwn(30) : warning 214: possibly a "const" a
|
||||
const_array_args_and_literals_gh_276.pwn(39) : warning 239: literal array/string passed to a non-const parameter
|
||||
const_array_args_and_literals_gh_276.pwn(40) : warning 239: literal array/string passed to a non-const parameter
|
||||
const_array_args_and_literals_gh_276.pwn(41) : warning 239: literal array/string passed to a non-const parameter
|
||||
const_array_args_and_literals_gh_276.pwn(60) : warning 239: literal array/string passed to a non-const parameter
|
||||
"""
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user