aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-11-05 06:27:15 +0000
committerAlan Modra <amodra@gmail.com>2000-11-05 06:27:15 +0000
commitdca7760fb5cb24c6f2ca566c5c5c73f37b14ccae (patch)
treef6616e350ea35778fa24d7d7d889696e97ffc7b1 /ld/ldlex.l
parent99a4c1bd6b076fb9194689a48c72914348019638 (diff)
downloadgdb-dca7760fb5cb24c6f2ca566c5c5c73f37b14ccae.zip
gdb-dca7760fb5cb24c6f2ca566c5c5c73f37b14ccae.tar.gz
gdb-dca7760fb5cb24c6f2ca566c5c5c73f37b14ccae.tar.bz2
* 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 4dfa53f..d5f5d27 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