From f9f01c0d9ef6523364358770d6b7ab856ec65cc6 Mon Sep 17 00:00:00 2001 From: Yuriy Chernyshov Date: Mon, 12 Aug 2024 13:17:57 +0300 Subject: [PATCH] Require bison 3.2 and remove deprecated position.hh includes --- JsonVisitor.cpp | 1 - lexer.lpp | 1 - parser.ypp | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/JsonVisitor.cpp b/JsonVisitor.cpp index a37fb13..386ed29 100644 --- a/JsonVisitor.cpp +++ b/JsonVisitor.cpp @@ -5,7 +5,6 @@ * LICENSE file in the root directory of this source tree. */ -#include "position.hh" #include "JsonVisitor.h" #include diff --git a/lexer.lpp b/lexer.lpp index 90e339c..341a982 100644 --- a/lexer.lpp +++ b/lexer.lpp @@ -14,7 +14,6 @@ #include #include #include "location.hh" -#include "position.hh" #include "parser.tab.hpp" #include "syntaxdefs.h" diff --git a/parser.ypp b/parser.ypp index fa81321..1ded512 100644 --- a/parser.ypp +++ b/parser.ypp @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -%require "3" +%require "3.2" %skeleton "lalr1.cc"