|
@@ -207,7 +207,7 @@ ResultType setFunctionArgument(Argument **arg, Argument **base, LinkValue *_func
|
|
|
}
|
|
|
|
|
|
if (pt_type != free_ && self == NULL) {
|
|
|
- setResultError(E_ArgumentException, L"Function does not belong to anything(not self)", line, file, true, CNEXT_NT);
|
|
|
+ setResultError(E_ArgumentException, L"function does not belong to anything(not self)", line, file, true, CNEXT_NT);
|
|
|
return R_error;
|
|
|
}
|
|
|
|
|
@@ -531,19 +531,18 @@ bool is_indexException(LinkValue *value, Inter *inter) {
|
|
|
bool checkAut(enum ValueAuthority value, enum ValueAuthority base, fline line, char *file, char *name, bool pri_auto, FUNC_NT) {
|
|
|
if ((value == public_aut || (!pri_auto && value == auto_aut)) && (base != public_aut && base != auto_aut)) {
|
|
|
if (name == NULL)
|
|
|
- setResultError(E_PermissionsException, L"Wrong Permissions: access variables as public", line, file, true, CNEXT_NT);
|
|
|
+ setResultError(E_PermissionsException, L"wrong Permissions: access variables as public", line, file, true, CNEXT_NT);
|
|
|
else {
|
|
|
- wchar_t *message = memWidecat(L"Wrong Permissions: access variables as public: ", memStrToWcs(name, false), false, true);
|
|
|
+ wchar_t *message = memWidecat(L"wrong Permissions: access variables as public: ", memStrToWcs(name, false), false, true);
|
|
|
setResultError(E_PermissionsException, message, line, file, true, CNEXT_NT);
|
|
|
memFree(message);
|
|
|
}
|
|
|
return false;
|
|
|
- }
|
|
|
- else if ((value == protect_aut) && (base == private_aut)) {
|
|
|
+ } else if ((value == protect_aut) && (base == private_aut)) {
|
|
|
if (name == NULL)
|
|
|
- setResultError(E_PermissionsException, L"Wrong Permissions: access variables as protect", line, file, true, CNEXT_NT);
|
|
|
+ setResultError(E_PermissionsException, L"wrong Permissions: access variables as protect", line, file, true, CNEXT_NT);
|
|
|
else {
|
|
|
- wchar_t *message = memWidecat(L"Wrong Permissions: access variables as protect: ", memStrToWcs(name, false), false, true);
|
|
|
+ wchar_t *message = memWidecat(L"wrong Permissions: access variables as protect: ", memStrToWcs(name, false), false, true);
|
|
|
setResultError(E_PermissionsException, message, line, file, true, CNEXT_NT);
|
|
|
memFree(message);
|
|
|
}
|