Branch: Tag:

2003-09-19

2003-09-19 13:08:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

+ is not a sequence point!

Rev: src/docode.c:1.168

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: docode.c,v 1.167 2003/09/05 15:53:38 grubba Exp $ + || $Id: docode.c,v 1.168 2003/09/19 13:08:07 grubba Exp $   */      #include "global.h" - RCSID("$Id: docode.c,v 1.167 2003/09/05 15:53:38 grubba Exp $"); + RCSID("$Id: docode.c,v 1.168 2003/09/19 13:08:07 grubba Exp $");   #include "las.h"   #include "program.h"   #include "pike_types.h"
2237:    }       case F_VAL_LVAL: -  return do_docode(CAR(n),flags) + -  do_docode(CDR(n), flags | DO_LVALUE); +  { +  int res = do_docode(CAR(n),flags); +  return res + do_docode(CDR(n), flags | DO_LVALUE); +  }       case F_AUTO_MAP:    emit0(F_MARK);