mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-20 09:43:03 +00:00
maint: import the xmemdup0 gnulib module.
* bootstrap.conf: Require this module. * src/parse-gram.y: Include xmemdup0.h.
This commit is contained in:
@@ -26,7 +26,8 @@ gnulib_modules='
|
|||||||
quote quotearg realloc-posix
|
quote quotearg realloc-posix
|
||||||
spawn-pipe stdbool stpcpy strdup-posix strerror strtoul strverscmp
|
spawn-pipe stdbool stpcpy strdup-posix strerror strtoul strverscmp
|
||||||
unistd unistd-safer unlocked-io update-copyright unsetenv verify
|
unistd unistd-safer unlocked-io update-copyright unsetenv verify
|
||||||
warnings xalloc xalloc-die xstrndup
|
warnings
|
||||||
|
xalloc xalloc-die xmemdup0 xstrndup
|
||||||
|
|
||||||
fprintf-posix printf-posix snprintf-posix sprintf-posix
|
fprintf-posix printf-posix snprintf-posix sprintf-posix
|
||||||
vsnprintf-posix vsprintf-posix
|
vsnprintf-posix vsprintf-posix
|
||||||
|
|||||||
2
lib/.gitignore
vendored
2
lib/.gitignore
vendored
@@ -265,3 +265,5 @@
|
|||||||
/xsize.h
|
/xsize.h
|
||||||
/xstrndup.c
|
/xstrndup.c
|
||||||
/xstrndup.h
|
/xstrndup.h
|
||||||
|
/xmemdup0.c
|
||||||
|
/xmemdup0.h
|
||||||
|
|||||||
@@ -32,6 +32,7 @@
|
|||||||
#include "symlist.h"
|
#include "symlist.h"
|
||||||
#include "scan-gram.h"
|
#include "scan-gram.h"
|
||||||
#include "scan-code.h"
|
#include "scan-code.h"
|
||||||
|
#include "xmemdup0.h"
|
||||||
|
|
||||||
#define YYLLOC_DEFAULT(Current, Rhs, N) (Current) = lloc_default (Rhs, N)
|
#define YYLLOC_DEFAULT(Current, Rhs, N) (Current) = lloc_default (Rhs, N)
|
||||||
static YYLTYPE lloc_default (YYLTYPE const *, int);
|
static YYLTYPE lloc_default (YYLTYPE const *, int);
|
||||||
|
|||||||
Reference in New Issue
Block a user