Skip to content

[Bison] Raised Minimum Bison Version to 3.3 #2529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libs/EXTERNAL/libblifparse/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
endif()

#Flex and Bison are used to generate the parser
find_package(BISON REQUIRED 3.0)
find_package(BISON REQUIRED 3.3)
find_package(FLEX REQUIRED)

file(GLOB_RECURSE LIB_SOURCES src/blif*.cpp)
Expand Down
6 changes: 3 additions & 3 deletions libs/EXTERNAL/libblifparse/src/blif_parser.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* C++ parsers require Bison 3 */
%require "3.0"
/* C++ parsers require Bison 3.3 */
%require "3.3"
%language "C++"

/* Write-out tokens header file */
Expand Down Expand Up @@ -34,7 +34,7 @@
%define api.namespace {blifparse}

/* Name the parser class */
%define parser_class_name {Parser}
%define api.parser.class {Parser}

/* Match the flex prefix */
%define api.prefix {blifparse_}
Expand Down
2 changes: 1 addition & 1 deletion libs/EXTERNAL/libsdcparse/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
endif()

#Flex and Bison are used to generate the parser
find_package(BISON REQUIRED 3.0)
find_package(BISON REQUIRED 3.3)
find_package(FLEX REQUIRED)

file(GLOB_RECURSE LIB_SOURCES src/sdc*.cpp)
Expand Down
6 changes: 3 additions & 3 deletions libs/EXTERNAL/libsdcparse/src/sdc_parser.y
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* C++ parsers require Bison 3 */
%require "3.0"
/* C++ parsers require Bison 3.3 */
%require "3.3"
%language "C++"

/* Write-out tokens header file */
Expand Down Expand Up @@ -34,7 +34,7 @@
%define api.namespace {sdcparse}

/* Name the parser class */
%define parser_class_name {Parser}
%define api.parser.class {Parser}

/* Match the flex prefix */
%define api.prefix {sdcparse_}
Expand Down