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.384 2007/04/02 17:02:20 grubba Exp $ + || $Id: las.c,v 1.385 2007/04/07 19:21:59 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "las.h"   #include "array.h"   #include "object.h"   #include "stralloc.h"   #include "dynamic_buffer.h"   #include "lex.h"
pike.git/src/las.c:3897: Inside #if defined(NEW_ARG_CHECK)
      /* Too few arguments or similar. */    copy_pike_type(n->type, mixed_type_string);       if ((s = get_first_arg_type(dmalloc_touch(struct pike_type *, f), 0))) {    my_yyerror("Too few arguments to %S (got %d).", name, args);    yytype_error(NULL, s, NULL, 0);    free_type(s);    } else {    my_yyerror("Type checking error for function call to %S.", name); -  yytype_error(NULL, f, NULL, 0); +  yytype_error(NULL, NULL, f, 0);    }    free_type(f);    break;   #else /* !NEW_ARG_CHECK */       push_type(T_MIXED); /* match any return type */    push_type(T_VOID); /* even void */    push_type(T_OR);       push_type(T_VOID); /* not varargs */