Branch: Tag:

2006-01-09

2006-01-09 13:18:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix for LysLysKOM 14009036.

Rev: src/las.c:1.349

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.348 2005/06/09 17:57:56 mast Exp $ + || $Id: las.c,v 1.349 2006/01/09 13:18:19 grubba Exp $   */      #include "global.h" - RCSID("$Id: las.c,v 1.348 2005/06/09 17:57:56 mast Exp $"); + RCSID("$Id: las.c,v 1.349 2006/01/09 13:18:19 grubba Exp $");      #include "language.h"   #include "interpret.h"
3561:    my_yyerror("Assigning a void expression.");    copy_pike_type(n->type, void_type_string);    break; +  } else if (!CDR(n)) { +  copy_pike_type(n->type, CAR(n)->type); +  break;    } else if(CAR(n) && CDR(n)) {    /* Ensure that the type-fields are up to date. */    fix_type_field(CAR(n));