aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libexplain/files/patch-libexplain_parse__bits.y
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-25 18:25:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-25 18:25:19 +0000
commit3f66b8f90626e67effff0f45171f94d6c2e0a975 (patch)
treedcdf4a30788fd5e8ebbe59e46aee41233ae65cf0 /devel/libexplain/files/patch-libexplain_parse__bits.y
parent9e38c3f75da446e823656c04656bf8cefd1fb8bf (diff)
Fix build with bison 3.6.2
Diffstat (limited to 'devel/libexplain/files/patch-libexplain_parse__bits.y')
-rw-r--r--devel/libexplain/files/patch-libexplain_parse__bits.y19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/libexplain/files/patch-libexplain_parse__bits.y b/devel/libexplain/files/patch-libexplain_parse__bits.y
new file mode 100644
index 000000000000..ec89183ce7e3
--- /dev/null
+++ b/devel/libexplain/files/patch-libexplain_parse__bits.y
@@ -0,0 +1,19 @@
+--- libexplain/parse_bits.y.orig 2013-12-08 01:47:33 UTC
++++ libexplain/parse_bits.y
+@@ -17,6 +17,8 @@
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
++%define api.prefix {parse_bits_}
++%define parse.error verbose
+ %{
+
+ #include <libexplain/ac/ctype.h>
+@@ -38,7 +40,6 @@
+ #include <libexplain/wrap_and_print.h>
+
+ #define YYDEBUG 0
+-#define YYERROR_VERBOSE 1
+
+ #if YYDEBUG
+ extern int yydebug;