diff --git a/src/las.h b/src/las.h index 871c6393023e55a5ddf7f840a0958d04f2d4fb81..30b715455115495d4a6d7a21fc8220b19d57db65 100644 --- a/src/las.h +++ b/src/las.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: las.h,v 1.53 2001/09/29 06:19:27 hubbe Exp $ + * $Id: las.h,v 1.54 2001/12/16 18:51:57 mast Exp $ */ #ifndef LAS_H #define LAS_H @@ -29,6 +29,7 @@ void yytype_error(char *msg, struct pike_type *expected_t, void yyerror(char *s); int islocal(struct pike_string *str); int verify_declared(struct pike_string *str); +void cleanup_compiler(void); extern int cumulative_parse_error; diff --git a/src/program.h b/src/program.h index 4ae8fe3830d75531f7d5e108fbabbb64615d804f..77b56e098dc2b4e336f748b1cce3c7f8cc1d12f4 100644 --- a/src/program.h +++ b/src/program.h @@ -5,7 +5,7 @@ \*/ /* - * $Id: program.h,v 1.149 2001/12/14 03:44:52 mast Exp $ + * $Id: program.h,v 1.150 2001/12/16 18:51:58 mast Exp $ */ #ifndef PROGRAM_H #define PROGRAM_H @@ -18,6 +18,7 @@ #include "time_stuff.h" #include "program_id.h" #include "pikecode.h" +#include "block_alloc_h.h" #define STRUCT #include "compilation.h" @@ -377,6 +378,8 @@ struct program #define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!sub_ref(_)) really_free_program(_); }while(0) +BLOCK_ALLOC(program, n/a); + extern struct object *error_handler; extern struct object *compat_handler;