diff options
author | Richard Stallman <rms@gnu.org> | 1993-10-10 05:20:40 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-10-10 05:20:40 +0000 |
commit | 14b6efffc7b877ee4b07d880dfb34b177aa6801f (patch) | |
tree | 7c3f6c9caa2f8c4e63dcf7075bc0969e824abad8 | |
parent | 6126f4db33f3719830daeff889aa8591326ca3e7 (diff) | |
download | gcc-14b6efffc7b877ee4b07d880dfb34b177aa6801f.zip gcc-14b6efffc7b877ee4b07d880dfb34b177aa6801f.tar.gz gcc-14b6efffc7b877ee4b07d880dfb34b177aa6801f.tar.bz2 |
(pop_momentary_nofree): New function.
From-SVN: r5703
-rw-r--r-- | gcc/tree.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -722,6 +722,17 @@ pop_momentary () obstack_free (&momentary_obstack, tem); } +/* Pop back to the previous level of momentary allocation, + but don't free any momentary data just yet. */ + +void +pop_momentary_nofree () +{ + struct momentary_level *tem = momentary_stack; + momentary_stack = tem->prev; + expression_obstack = tem->obstack; +} + /* Call when starting to parse a declaration: make expressions in the declaration last the length of the function. Returns an argument that should be passed to resume_momentary later. */ |