diff options
author | Alan Modra <amodra@gmail.com> | 2000-11-05 06:37:00 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-11-05 06:37:00 +0000 |
commit | 78541619c6f0ea41543d01746cdfe1c825135ebf (patch) | |
tree | b618b3055e9d6174b11f5eb663dcf06793ce92dd | |
parent | 3b5acdc2f6ed5e5deea2c561fea33d660190fda1 (diff) | |
download | gdb-78541619c6f0ea41543d01746cdfe1c825135ebf.zip gdb-78541619c6f0ea41543d01746cdfe1c825135ebf.tar.gz gdb-78541619c6f0ea41543d01746cdfe1c825135ebf.tar.bz2 |
* ldlex.l (yy_create_string_buffer): Init all structure fields.
* ldlex.c: Regenerate.
* Makefile.am (DISTCLEANFILES): Add stringify.sed.
* Makefile.in: Regenerate.
-rw-r--r-- | ld/ChangeLog | 9 | ||||
-rw-r--r-- | ld/Makefile.am | 2 | ||||
-rw-r--r-- | ld/Makefile.in | 2 | ||||
-rw-r--r-- | ld/ldlex.c | 5 | ||||
-rw-r--r-- | 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 <alan@linuxcare.com.au> + + * 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 <pb@futuretv.com> * 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 @@ -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 @@ -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 |