From 78541619c6f0ea41543d01746cdfe1c825135ebf Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 5 Nov 2000 06:37:00 +0000 Subject: * ldlex.l (yy_create_string_buffer): Init all structure fields. * ldlex.c: Regenerate. * Makefile.am (DISTCLEANFILES): Add stringify.sed. * Makefile.in: Regenerate. --- ld/ChangeLog | 9 +++++++++ ld/Makefile.am | 2 +- ld/Makefile.in | 2 +- ld/ldlex.c | 5 +++++ ld/ldlex.l | 5 +++++ 5 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 8752879..c7ec28c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,12 @@ +2000-11-05 Alan Modra + + * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, + yy_is_interactive, yy_at_bol, and yy_fill_buffer. + * ldlex.c: Regenerate. + + * Makefile.am (DISTCLEANFILES): Add stringify.sed. + * Makefile.in: Regenerate. + 2000-10-16 Philip Blundell * configure.in: Set version number to 2.10.1. diff --git a/ld/Makefile.am b/ld/Makefile.am index a0eb125..0abc9b5 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -837,7 +837,7 @@ install-data-local: LDDISTSTUFF = ldgram.c ldgram.h ldlex.c diststuff: $(LDDISTSTUFF) info -DISTCLEANFILES = tdirs site.exp site.bak +DISTCLEANFILES = tdirs site.exp site.bak stringify.sed distclean-local: rm -rf ldscripts diff --git a/ld/Makefile.in b/ld/Makefile.in index 6f95ee5..0fa39ae 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -386,7 +386,7 @@ CLEANFILES = dep.sed DEP DEP1 DEP2 # target is run by the taz target in ../Makefile.in. LDDISTSTUFF = ldgram.c ldgram.h ldlex.c -DISTCLEANFILES = tdirs site.exp site.bak +DISTCLEANFILES = tdirs site.exp site.bak stringify.sed ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs CONFIG_HEADER = config.h diff --git a/ld/ldlex.c b/ld/ldlex.c index f385d6e..6f9df46 100644 --- a/ld/ldlex.c +++ b/ld/ldlex.c @@ -3409,6 +3409,11 @@ yy_create_string_buffer (string, size) b->yy_n_chars = size+1; b->yy_buf_pos = &b->yy_ch_buf[1]; + b->yy_is_our_buffer = 1; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + /* flex 2.4.7 changed the interface. FIXME: We should not be using a flex internal interface in the first place! */ #ifdef YY_BUFFER_NEW diff --git a/ld/ldlex.l b/ld/ldlex.l index 2eef80f..f3efe77 100644 --- a/ld/ldlex.l +++ b/ld/ldlex.l @@ -479,6 +479,11 @@ yy_create_string_buffer (string, size) b->yy_n_chars = size+1; b->yy_buf_pos = &b->yy_ch_buf[1]; + b->yy_is_our_buffer = 1; + b->yy_is_interactive = 0; + b->yy_at_bol = 1; + b->yy_fill_buffer = 0; + /* flex 2.4.7 changed the interface. FIXME: We should not be using a flex internal interface in the first place! */ #ifdef YY_BUFFER_NEW -- cgit v1.1