mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
don't bother checking access restrictions in class_ivar_expr as
class_find_ivar will catch them when the generated self.ivar is `parsed'.
This commit is contained in:
parent
8eced18ab2
commit
1ea1a2f529
1 changed files with 0 additions and 5 deletions
|
@ -383,11 +383,6 @@ class_ivar_expr (class_type_t *class_type, const char *name)
|
|||
}
|
||||
if (!ivar)
|
||||
return 0;
|
||||
if (ivar->visibility == vis_private) {
|
||||
error (0, "%s.%s is not accessable here",
|
||||
class->name, name);
|
||||
return 0;
|
||||
}
|
||||
return binary_expr ('.', new_name_expr ("self"), new_name_expr (name));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue