Branch: Tag:

2003-03-07

2003-03-07 14:06:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Tentative fix for find_return_type() using the "Return with untyped argument." branch too often.

Rev: src/las.c:1.326

2:   || 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"
312:       if(!n) return 0;    +  optimize(n); +     if (n->token == F_RETURN) {    if (CAR(n)) {    if (CAR(n)->type) {