summaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2000-11-05 06:27:15 +0000
committerAlan Modra <amodra@bigpond.net.au>2000-11-05 06:27:15 +0000
commitc12eea48e9aa3f3694da0005d311d9bb0aa1a11e (patch)
tree4e7c38657e940e20bfbf7e06539e2e5409e7b182 /ld/ldlex.l
parentf45393bb62a8b9bd871a7a798731bd384e92a0e9 (diff)
downloadbinutils-redhat-c12eea48e9aa3f3694da0005d311d9bb0aa1a11e.tar.gz
* ldlex.l (yy_create_string_buffer): Init all structure fields.
* Makefile.am (DISTCLEANFILES): Add stringify.sed. Move 2000-11-02 Makefile.in changes to this file.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 4dfa53f7a4..d5f5d27d3b 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