pike.git / src / las.c

version» Context lines:

pike.git/src/las.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: las.c,v 1.335 2003/04/02 19:24:20 nilsson Exp $ + || $Id: las.c,v 1.336 2003/06/30 17:06:09 mast Exp $   */      #include "global.h" - RCSID("$Id: las.c,v 1.335 2003/04/02 19:24:20 nilsson Exp $"); + RCSID("$Id: las.c,v 1.336 2003/06/30 17:06:09 mast Exp $");      #include "language.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"   #include "pike_types.h"
pike.git/src/las.c:1885:    ref_push_object(placeholder_object);    break;    }    }    }       default:    {    ptrdiff_t c;    DECLARE_CYCLIC(); -  c = ((char *)BEGIN_CYCLIC(Pike_sp[-1].u.refs, id))-(char *)0; +  c = PTR_TO_INT(BEGIN_CYCLIC(Pike_sp[-1].u.refs, id));    if(c>1)    {    my_yyerror("Recursive module dependency in '%s'.",id->str);    pop_stack();    push_int(0);    }else{    struct svalue thrown = {PIKE_T_UNKNOWN, 0,   #ifdef HAVE_UNION_INIT    {0} /* Only to avoid warnings. */   #endif