Commit 14b6efff by Richard Stallman

(pop_momentary_nofree): New function.

From-SVN: r5703
parent 6126f4db
...@@ -722,6 +722,17 @@ pop_momentary () ...@@ -722,6 +722,17 @@ pop_momentary ()
obstack_free (&momentary_obstack, tem); 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: /* Call when starting to parse a declaration:
make expressions in the declaration last the length of the function. make expressions in the declaration last the length of the function.
Returns an argument that should be passed to resume_momentary later. */ Returns an argument that should be passed to resume_momentary later. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment