summaryrefslogtreecommitdiff
path: root/pkgs/simple-scalar/0001-fix-case-of-YY_CURRENT_BUFFER.patch
blob: 5d7cf85bc261296899c8c9569f890c3e40663026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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