From 731e28d885703e3a17a9567c6c6465bdd923846c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 15 Apr 2003 14:50:29 +0000 Subject: [PATCH] 2003-04-15 H.J. Lu From Debian by Jack Howarth : * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. --- ld/ChangeLog | 6 ++++++ ld/ldlex.l | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 6ca3b18642c..ecc263b7b2b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2003-04-15 H.J. Lu + + From Debian by Jack Howarth : + + * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. + 2003-04-15 Rohit Kumar Srivastava * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. diff --git a/ld/ldlex.l b/ld/ldlex.l index 5b799c4074b..2eef45df322 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) { -- 2.30.2