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.325 2003/02/24 21:00:44 mast Exp $ + || $Id: las.c,v 1.326 2003/03/07 14:06:57 grubba Exp $   */      #include "global.h" - RCSID("$Id: las.c,v 1.325 2003/02/24 21:00:44 mast Exp $"); + RCSID("$Id: las.c,v 1.326 2003/03/07 14:06:57 grubba 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:305:   struct pike_type *find_return_type(node *n)   {    struct pike_type *a, *b;       check_tree(n,0);       fatal_check_c_stack(16384);       if(!n) return 0;    +  optimize(n); +     if (n->token == F_RETURN) {    if (CAR(n)) {    if (CAR(n)->type) {    copy_pike_type(a, CAR(n)->type);    } else {   #ifdef PIKE_DEBUG    if (l_flag > 2) {    fprintf(stderr, "Return with untyped argument.\n");    print_tree(n);    }