summaryrefslogtreecommitdiff
path: root/gcc/c-lex.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-27 06:53:07 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-27 06:53:07 +0000
commitd4b64c2ff7feaac72e4435fd85e5f1862e8b8f84 (patch)
treebd925997654b688081b11a738196c7806d4cef5f /gcc/c-lex.c
parentac25a3278381aa403fba5e41310ac6908ae1cca8 (diff)
downloadgcc-d4b64c2ff7feaac72e4435fd85e5f1862e8b8f84.tar.gz
* c-parse.in (malloced_yyss, malloced_yyvs): New.
(yyoverflow): Re-add. Set them. (free_parser_stacks): New. * c-common.h: Declare it. * c-lex.c (c_common_parse_file): Call it. * parse.y (malloced_yyss, malloced_yyvs): New. (yyoverflow): Re-add. Set them. (free_parser_stacks): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52827 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r--gcc/c-lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index 30ef877f0b9..acdcf340c32 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -159,6 +159,7 @@ c_common_parse_file (set_yydebug)
cpp_finish_options (parse_in);
yyparse ();
+ free_parser_stacks ();
}
struct c_fileinfo *