pike.git / src / pike_types.c

version» Context lines:

pike.git/src/pike_types.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: pike_types.c,v 1.265 2007/03/26 11:11:42 grubba Exp $ + || $Id: pike_types.c,v 1.266 2007/03/26 12:03:42 grubba Exp $   */      #include "global.h"   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"   #include "stralloc.h"   #include "stuff.h"   #include "array.h"   #include "program.h"
pike.git/src/pike_types.c:4966:    * Get rid of void and setvar.    */   static struct pike_type *low_get_first_arg_type(struct pike_type *arg_type,    INT32 flags)   {    struct pike_type *tmp;       if (!arg_type) return NULL;       loop: -  fprintf(stderr, "low_get_first_arg_type("); -  simple_describe_type(arg_type); -  fprintf(stderr, ", %d)...\n", flags); -  +     if (!(flags & FILTER_KEEP_VOID) ||    (arg_type->flags & (PT_FLAG_MARKER|PT_FLAG_ASSIGN))) {    /* There's markers, assigns or void's to to take care of. */    switch(arg_type->type) {    case T_OR:    if ((tmp = low_get_first_arg_type(arg_type->cdr, flags))) {    type_stack_mark();    push_finished_type(tmp);    free_type(tmp);    if ((tmp = low_get_first_arg_type(arg_type->car, flags))) {