Branch: Tag:

2007-04-02

2007-04-02 12:58:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Continue reporting type checking errors after the first.
Since we've reached pass 2 the syntax is correct, so this should be safe.

Rev: src/las.c:1.383

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.382 2007/04/01 18:26:34 grubba Exp $ + || $Id: las.c,v 1.383 2007/04/02 12:58:39 grubba Exp $   */      #include "global.h"
5509:   void optimize_node(node *n)   {    if(n && -  !Pike_compiler->num_parse_error && +     Pike_compiler->compiler_pass==2 &&    (n->node_info & OPT_TRY_OPTIMIZE))    {