pike.git / src / program.c

version» Context lines:

pike.git/src/program.c:1:   /*   || 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: program.c,v 1.640 2008/01/21 22:46:18 grubba Exp $ + || $Id: program.c,v 1.641 2008/01/24 13:58:26 mast Exp $   */      #include "global.h"   #include "program.h"   #include "object.h"   #include "dynamic_buffer.h"   #include "pike_types.h"   #include "stralloc.h"   #include "las.h"   #include "lex.h"
pike.git/src/program.c:2169:    }    }    funpb->inherit_offset = funp->inherit_offset;    funpb->identifier_offset = funp->identifier_offset;    }    }    }    if(found_better!=-1)    continue;    } -  if ((fun->func.offset == -1) && (funp->id_flags & ID_INLINE) && -  IDENTIFIER_IS_PIKE_FUNCTION(fun->identifier_flags)) { +  if (IDENTIFIER_IS_PIKE_FUNCTION(fun->identifier_flags) && +  (fun->func.offset == -1) && (funp->id_flags & ID_INLINE)) {    my_yyerror("Missing definition for local function %S.",    fun->name);    }    if (funp->id_flags & ID_STATIC) continue;    add_to_identifier_index(i);    }    fsort_program_identifier_index(p->identifier_index,    p->identifier_index +    p->num_identifier_index - 1,    p);