(preserve_momentary): New function.
From-SVN: r8623
This commit is contained in:
parent
d4b0a7a049
commit
9e8730a444
@ -752,6 +752,15 @@ push_momentary ()
|
||||
expression_obstack = &momentary_obstack;
|
||||
}
|
||||
|
||||
/* Set things up so the next clear_momentary will only clear memory
|
||||
past our present position in momentary_obstack. */
|
||||
|
||||
void
|
||||
preserve_momentary ()
|
||||
{
|
||||
momentary_stack->base = (char *) obstack_base (&momentary_obstack);
|
||||
}
|
||||
|
||||
/* Free all the storage in the current momentary-allocation level.
|
||||
In C, this happens at the end of each statement. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user