26 lines
667 B
Diff
26 lines
667 B
Diff
From 33f6fb023c09464467eea4538f18e2a131acee3a Mon Sep 17 00:00:00 2001
|
|
From: Alejandro Soto <alejandro@34project.org>
|
|
Date: Wed, 26 Apr 2023 13:37:32 -0600
|
|
Subject: [PATCH] fix case of YY_CURRENT_BUFFER
|
|
|
|
---
|
|
ld/ldlex.l | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/simpleutils-990811/ld/ldlex.l b/simpleutils-990811/ld/ldlex.l
|
|
index 2eef80f..561b8af 100644
|
|
--- a/simpleutils-990811/ld/ldlex.l
|
|
+++ b/simpleutils-990811/ld/ldlex.l
|
|
@@ -585,7 +585,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.38.4
|
|
|