Branch: Tag:

1998-02-24

1998-02-24 23:01:36 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

lots of changes

Rev: src/ChangeLog:1.136
Rev: src/language.yacc:1.60
Rev: src/las.c:1.52
Rev: src/operators.c:1.26
Rev: src/peep.in:1.11
Rev: src/pike_types.c:1.33
Rev: src/program.c:1.63
Rev: src/program.h:1.32
Rev: src/signal_handler.c:1.32
Rev: src/testsuite.in:1.74
Rev: src/version.c:1.28

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: las.c,v 1.51 1998/02/23 23:24:02 hubbe Exp $"); + RCSID("$Id: las.c,v 1.52 1998/02/24 23:01:29 hubbe Exp $");      #include "language.h"   #include "interpret.h"
1434:    f=CAR(n)->type?CAR(n)->type:mixed_type_string;    n->type=check_call(s,f);    args=count_arguments(s); -  max_args=get_max_args(f); +  max_args=count_arguments(f); +  if(max_args<0) max_args=0x7fffffff;       if(!n->type)    {    char *name; -  int args; +     switch(CAR(n)->token)    {    case F_IDENTIFIER:
1479:       if(max_args < args)    { -  my_yyerror("To many arguments to %s.\n",name); +  my_yyerror("Too many arguments to %s. (%d %d)\n",name,max_args,args);    }    else if(max_correct_args == args)    {