Branch: Tag:

2001-09-27

2001-09-27 15:17:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reverted broken check_final fix.

Rev: src/program.c:1.377

5:   \*/   /**/   #include "global.h" - RCSID("$Id: program.c,v 1.376 2001/09/27 04:59:10 per Exp $"); + RCSID("$Id: program.c,v 1.377 2001/09/27 15:17:47 grubba Exp $");   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"
1156:       p->flags |= PROGRAM_FIXED;    - #ifdef PIKE_DEBUG +     if(Pike_compiler->check_final)    {    for(i=0;i<(int)p->num_identifier_references;i++)
1177: Inside #if defined(PIKE_DEBUG)
   }    }    } - #endif +    #ifdef DEBUG_MALLOC    {   #define DBSTR(X) ((X)?(X)->str:"")
2723:    name=ID_FROM_PTR(p,&fun)->name;    fun.inherit_offset += inherit_offset;    - #ifdef PIKE_DEBUG +     if (fun.id_flags & ID_NOMASK)    {    Pike_compiler->check_final++;    } - #endif +        if(fun.id_flags & ID_PRIVATE) fun.id_flags|=ID_HIDDEN;