Branch: Tag:

2000-10-03

2000-10-03 18:18:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix in mknode().

Rev: src/las.c:1.221

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.220 2000/10/02 14:16:01 grubba Exp $"); + RCSID("$Id: las.c,v 1.221 2000/10/03 18:18:29 grubba Exp $");      #include "language.h"   #include "interpret.h"
973:    }       /* We try to optimize most things, but argument lists are hard... */ -  if(token != F_ARG_LIST && (a || b)) +  if((token != F_ARG_LIST) && (a || b))    res->node_info |= OPT_TRY_OPTIMIZE;       res->tree_info |= res->node_info;
984:   #endif       check_tree(res,0); -  if(!Pike_compiler->num_parse_error && Pike_compiler->compiler_pass==2) +  if(!Pike_compiler->num_parse_error && Pike_compiler->compiler_pass==2 && +  (res->node_info & OPT_TRY_OPTIMIZE))    {    optimize(res);    check_tree(res,0);