diff options
author | Akim Demaille <akim@epita.fr> | 2001-11-12 09:32:51 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2001-11-12 09:32:51 +0000 |
commit | 337c5bd13149798e120508d4a250aae8bc78db1c (patch) | |
tree | 428059667d8a239b9ecadb2a20239f6819fec4bf /src/reduce.h | |
parent | c73a41af8e332ef9736dc29be99f0b6c251e6c01 (diff) | |
download | bison-337c5bd13149798e120508d4a250aae8bc78db1c.tar.gz |
* src/reduce.c (print_results): Rename as...
(reduce_output): This.
Output to OUT, passed as argument, instead of output_obstack.
(dump_grammar): Likewise.
(reduce_free): New.
Also free V1.
(reduce_grammar): No longer call reduce_output, since...
* src/print.c (print_results): do it.
* src/main.c (main): Call reduce_free;
Diffstat (limited to 'src/reduce.h')
-rw-r--r-- | src/reduce.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/reduce.h b/src/reduce.h index 6a3031f1..92c118e7 100644 --- a/src/reduce.h +++ b/src/reduce.h @@ -1,5 +1,5 @@ /* Grammar reduction for Bison. - Copyright 2000 Free Software Foundation, Inc. + Copyright 2000, 2001 Free Software Foundation, Inc. This file is part of Bison, the GNU Compiler Compiler. @@ -22,5 +22,6 @@ # define REDUCE_H_ void reduce_grammar PARAMS ((void)); - +void reduce_output PARAMS ((FILE *out)); +void reduce_free PARAMS ((void)); #endif /* !REDUCE_H_ */ |