pike.git / src / language.yacc

version» Context lines:

pike.git/src/language.yacc:106:   %left TOK_LSH TOK_RSH   %left '+' '-'   %left '*' '%' '/'   %right TOK_NOT '~'   %nonassoc TOK_INC TOK_DEC      %{   /* This is the grammar definition of Pike. */      #include "global.h" - RCSID("$Id: language.yacc,v 1.277 2002/05/05 16:31:06 mast Exp $"); + RCSID("$Id: language.yacc,v 1.278 2002/05/09 14:37:45 mast Exp $");   #ifdef HAVE_MEMORY_H   #include <memory.h>   #endif      #include "interpret.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "las.h"   #include "interpret.h"
pike.git/src/language.yacc:3186:    if (((i = find_shared_string_identifier(Pike_compiler->last_identifier,    Pike_compiler->new_program)) >= 0) ||    ((i = really_low_find_shared_string_identifier(Pike_compiler->last_identifier,    Pike_compiler->new_program,    SEE_STATIC|    SEE_PRIVATE)) >= 0)) {    if (!(Pike_compiler->new_program->identifier_references[i].id_flags & ID_HIDDEN)) {    /* We need to generate a new reference. */    int d;    struct reference funp = Pike_compiler->new_program->identifier_references[i]; -  funp.id_flags |= ID_HIDDEN; +  funp.id_flags = (funp.id_flags & ~ID_INHERITED) | ID_INLINE|ID_HIDDEN;    i = -1;    for(d = 0; d < (int)Pike_compiler->new_program->num_identifier_references; d++) {    struct reference *refp;    refp = Pike_compiler->new_program->identifier_references + d;       if(!MEMCMP((char *)refp,(char *)&funp,sizeof funp)) {    i = d;    break;    }    }