aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlex.l
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-04-15 14:50:29 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-04-15 14:50:29 +0000
commit731e28d885703e3a17a9567c6c6465bdd923846c (patch)
treef7eb4a4b710ee3f6958fe4404f28ec6c64734e58 /ld/ldlex.l
parenta3476bef94e7d48959af72731015a283bc6743c8 (diff)
downloadgdb-731e28d885703e3a17a9567c6c6465bdd923846c.zip
gdb-731e28d885703e3a17a9567c6c6465bdd923846c.tar.gz
gdb-731e28d885703e3a17a9567c6c6465bdd923846c.tar.bz2
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.
Diffstat (limited to 'ld/ldlex.l')
-rw-r--r--ld/ldlex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldlex.l b/ld/ldlex.l
index 5b799c4..2eef45d 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)
{