* src/system.h: Include `xalloc.h'.

Remove it from the C files.
* src/files.c (output_files): Free the obstacks.
* src/lex.c (init_lex): Rename as...
(lex_init): this.
(lex_free): New.
* src/main.c (main): Use it.
This commit is contained in:
Akim Demaille
2001-09-25 18:35:04 +00:00
parent 9190f3e726
commit 7ba81a101f
19 changed files with 32 additions and 24 deletions

View File

@@ -26,7 +26,6 @@
#include "quote.h"
#include "getargs.h"
#include "files.h"
#include "xalloc.h"
#include "symtab.h"
#include "lex.h"
#include "gram.h"
@@ -1912,7 +1911,7 @@ reader (void)
grammar = NULL;
init_lex ();
lex_init ();
lineno = 1;
/* Initialize the symbol table. */