pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:5752: Inside #if 1
   if(n==-1   #if 1    || !c   #endif    )    {    yyerror("Pass2: Constant disappeared!");    }else{    struct identifier *id;    id=ID_FROM_INT(Pike_compiler->new_program,n); -  if(id->func.const_info.offset>=0) { +  if (IDENTIFIER_IS_ALIAS(id->identifier_flags)) { +  /* FIXME: We probably ought to do something here... */ +  } else if(id->func.const_info.offset>=0) {    /* Update the stored constant. */    assign_svalue (&PROG_FROM_INT(Pike_compiler->new_program,n)->    constants[id->func.const_info.offset].sval, c);    } else {    id->run_time_type = (unsigned char) TYPEOF(*c);    id->func.const_info.offset = store_constant(c, 0, 0);    }    free_type(id->type);    if( !(flags & ID_INLINE) )    id->type = get_lax_type_of_svalue( c );