mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
obstack: import obstack_finish0 from master
* src/system.h (obstack_finish0): New. Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
This commit is contained in:
committed by
Akim Demaille
parent
db8ab2be33
commit
47a31596c6
@@ -202,7 +202,10 @@ typedef size_t uintptr_t;
|
||||
} while (0)
|
||||
|
||||
|
||||
/* Append the ending 0, finish Obs, and return the string. */
|
||||
|
||||
# define obstack_finish0(Obs) \
|
||||
(obstack_1grow (Obs, '\0'), (char *) obstack_finish (Obs))
|
||||
|
||||
|
||||
/*-----------------------------------------.
|
||||
|
||||
Reference in New Issue
Block a user