Branch: Tag:

2004-03-13

2004-03-13 13:22:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Renamed flag counter Pike_compiler->check_final to Pike_compiler->flags.
Moved the global flag force_resolve to Pike_compiler->flags.
Defined flags COMPILATION_{CHECK_FINAL,FORCE_RESOLVE}.
The above fixes various bugs introduced by yesterdays changes.
Added compilation pass as parameter to low_start_new_program().

Rev: src/compilation.h:1.31
Rev: src/encode.c:1.165
Rev: src/language.yacc:1.315
Rev: src/las.c:1.324
Rev: src/program.c:1.485
Rev: src/program.h:1.179

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: encode.c,v 1.164 2003/11/18 14:22:52 grubba Exp $ + || $Id: encode.c,v 1.165 2004/03/13 13:22:40 grubba Exp $   */      #include "global.h"
29:   #include "bignum.h"   #include "pikecode.h"    - RCSID("$Id: encode.c,v 1.164 2003/11/18 14:22:52 grubba Exp $"); + RCSID("$Id: encode.c,v 1.165 2004/03/13 13:22:40 grubba Exp $");      /* #define ENCODE_DEBUG */   
3067:    /* Start the new program. */    orig_compilation_depth = compilation_depth;    compilation_depth = -1; -  low_start_new_program(NULL, NULL, 0, NULL); +  low_start_new_program(NULL, 1, NULL, 0, NULL);    p = Pike_compiler->new_program;       /* We don't want to be affected by #pragma save_parent or