summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2003-04-15 14:50:29 +0000
committerH.J. Lu <hjl@lucon.org>2003-04-15 14:50:29 +0000
commitf15e574cf25e819719e8374c346a2e067a218324 (patch)
tree1df7fb2ad67bb4d31572f9f43d590a3a9b919d5f
parentb3daa11e0f28d8edc911f6aff574fe099400658f (diff)
downloadbinutils-redhat-f15e574cf25e819719e8374c346a2e067a218324.tar.gz
2003-04-15 H.J. Lu <hjl@gnu.org>
From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/ldlex.l2
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 6ca3b18642..ecc263b7b2 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-15 H.J. Lu <hjl@gnu.org>
+
+ From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:
+
+ * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.
+
2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com>
* h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'.
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 5b799c4074..2eef45df32 100644
--- a/ld/ldlex.l
+++ b/ld/ldlex.l
@@ -611,7 +611,7 @@ yy_input (buf, result, max_size)
int max_size;
{
*result = 0;
- if (yy_current_buffer->yy_input_file)
+ if (YY_CURRENT_BUFFER->yy_input_file)
{
if (yyin)
{