mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-18 16:53:02 +00:00
* lib/xstrdup.c: New file, from the fileutils.
* src/reader.c (parse_token_decl, get_type_name, parse_type_decl) (parse_assoc_decl, parse_thong_decl, get_type): Use `xstrdup' instead of strlen + xmalloc + strcpy. * src/symtab.c (copys): Remove, use xstrdup instead.
This commit is contained in:
@@ -6,7 +6,7 @@ noinst_LIBRARIES = libbison.a
|
||||
|
||||
INCLUDES = -I.. -I$(srcdir) -I../intl
|
||||
|
||||
libbison_a_SOURCES = getopt.c getopt1.c xmalloc.c
|
||||
libbison_a_SOURCES = getopt.c getopt1.c xmalloc.c xstrdup.c
|
||||
noinst_HEADERS = getopt.h xalloc.h
|
||||
|
||||
libbison_a_LIBADD = @LIBOBJS@ @ALLOCA@
|
||||
|
||||
Reference in New Issue
Block a user