mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 12:52:46 +00:00
setup the default visibility properly
This commit is contained in:
parent
ef9f9cda2f
commit
97170e97b5
1 changed files with 1 additions and 1 deletions
|
@ -901,7 +901,6 @@ classdecl
|
||||||
class_name
|
class_name
|
||||||
: NAME
|
: NAME
|
||||||
{
|
{
|
||||||
current_visibility = vis_private;
|
|
||||||
$$ = get_class ($1, 0);
|
$$ = get_class ($1, 0);
|
||||||
if (!$$) {
|
if (!$$) {
|
||||||
error (0, "undefined symbol `%s'", $1);
|
error (0, "undefined symbol `%s'", $1);
|
||||||
|
@ -1025,6 +1024,7 @@ protocolrefs
|
||||||
ivar_decl_list
|
ivar_decl_list
|
||||||
: /* */
|
: /* */
|
||||||
{
|
{
|
||||||
|
current_visibility = vis_protected;
|
||||||
current_ivars = new_struct (0);
|
current_ivars = new_struct (0);
|
||||||
if (current_class->super_class)
|
if (current_class->super_class)
|
||||||
new_struct_field (current_ivars,
|
new_struct_field (current_ivars,
|
||||||
|
|
Loading…
Reference in a new issue