summaryrefslogtreecommitdiff
blob: 37747cef1b88373952f85e821c7460fccbe693e6 (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
26
27
Downstream patch. No upstream activity since 2014.

From 23f5585ba3dcf276cd3f71c25f710e68823f97e9 Mon Sep 17 00:00:00 2001
From: Alexander Tsoy <alexander@tsoy.me>
Date: Tue, 17 Mar 2020 17:14:50 +0300
Subject: [PATCH 1/2] Fix building with -fno-common

---
 src/optionlexer.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/optionlexer.l b/src/optionlexer.l
index df79dd5..97ed29d 100644
--- a/src/optionlexer.l
+++ b/src/optionlexer.l
@@ -40,7 +40,7 @@
 #include "optionlexer.h"
 
 char* option_filename;
-YYLTYPE option_lloc;
+#define YYLTYPE option_lloc;
 
 void option_locate();
 %}
-- 
2.24.1