Branch: Tag:

1999-11-27

1999-11-27 22:23:05 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for zzap_function_return

Rev: src/pike_types.c:1.83

5:   \*/   /**/   #include "global.h" - RCSID("$Id: pike_types.c,v 1.82 1999/11/27 07:42:56 hubbe Exp $"); + RCSID("$Id: pike_types.c,v 1.83 1999/11/27 22:23:05 hubbe Exp $");   #include <ctype.h>   #include "svalue.h"   #include "pike_types.h"
2651:    push_type(T_FUNCTION);    return pop_unfinished_type();    } + /* This error is bogus /Hubbe    fatal("zzap_function_return() called with unexpected value: %d\n",    EXTRACT_UCHAR(a)); -  /* NOT_REACHED */ + */    return NULL;   }   
2753:    }    if((tmp=zzap_function_return(a, s->u.program->id)))    return tmp; +  +  a=function_type_string->str; +  if((tmp=zzap_function_return(a, s->u.program->id))) +  return tmp; +  +  fatal("Completely failed to zzap function return!\n");    }       default: