Remove the last uses of mktemp and unlink/delete.

* src/files.c (fdefines, ftable): Removed.
(defines_ostack, table_obstack): New.
Adjust dependencies of the former into uses of the latter.
* src/output.c (output_short_or_char_table, output_short_table):
Convert to using obstacks.
* src/reader.c (copy_comment2): Accept one FILE * and two
obstacks.
(output_token_defines, reader_output_yylsp): Use obstacks.
* src/system.h (obstack_fgrow3): New.
This commit is contained in:
Akim Demaille
2000-11-02 13:38:12 +00:00
parent dd60faeca4
commit 896fe5c10a
14 changed files with 556 additions and 552 deletions

View File

@@ -1,5 +1,5 @@
/* Input parser for bison
Copyright (C) 2000 Free Software Foundation, Inc.
Copyright 2000 Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
@@ -30,7 +30,7 @@
extern void reader PARAMS ((void));
extern void reader_output_yylsp PARAMS ((FILE *));
extern void reader_output_yylsp PARAMS ((struct obstack *));
extern int lineno;
extern char **tags;