Branch: Tag:

2008-06-29

2008-06-29 12:50:04 by Martin Nilsson <mani@lysator.liu.se>

SEE_STATIC -> SEE_PROTECTED

Rev: src/encode.c:1.283
Rev: src/language.yacc:1.441
Rev: src/object.c:1.300
Rev: src/program.c:1.729

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: language.yacc,v 1.440 2008/06/29 12:37:10 nilsson Exp $ + || $Id: language.yacc,v 1.441 2008/06/29 12:50:04 nilsson Exp $   */      %pure_parser
3711:    Pike_compiler->new_program)) >= 0) ||    ((i = really_low_find_shared_string_identifier(Pike_compiler->last_identifier,    Pike_compiler->new_program, -  SEE_STATIC| +  SEE_PROTECTED|    SEE_PRIVATE)) >= 0)) {    struct reference *ref = Pike_compiler->new_program->identifier_references + i;    if (!TEST_COMPAT (7, 2) &&
4017:    id = low_reference_inherited_identifier(inherit_state,    $1,    Pike_compiler->last_identifier, -  SEE_STATIC); +  SEE_PROTECTED);    else    id = really_low_find_shared_string_identifier(Pike_compiler->last_identifier,    inherit_state->new_program, -  SEE_STATIC|SEE_PRIVATE); +  SEE_PROTECTED|SEE_PRIVATE);       if (id != -1) {    if (inherit_depth > 0) {
4065:    for(e=1;e<(int)Pike_compiler->new_program->num_inherits;e++)    {    if(Pike_compiler->new_program->inherits[e].inherit_level!=1) continue; -  i=low_reference_inherited_identifier(0,e,$2->u.sval.u.string,SEE_STATIC); +  i=low_reference_inherited_identifier(0,e,$2->u.sval.u.string,SEE_PROTECTED);    if(i==-1) continue;    if($$)    {