Skip to content

Commit

Permalink
chore: update antlr4 to 4.13.2
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Sep 7, 2024
1 parent 0fa6a2a commit 7124feb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/substrait/textplan/parser/grammar/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ set(GRAMMAR_DIR ${CMAKE_CURRENT_BINARY_DIR})
# using /MD flag for antlr4_runtime (for Visual C++ compilers only)
set(ANTLR4_WITH_STATIC_CRT OFF)

set(ANTLR4_TAG 4.13.0)
set(ANTLR4_TAG 4.13.2)
set(ANTLR4_ZIP_REPOSITORY
https://github.com/antlr/antlr4/archive/refs/tags/${ANTLR4_TAG}.zip)

include(ExternalAntlr4Cpp)

include_directories(${ANTLR4_INCLUDE_DIRS})

file(DOWNLOAD https://www.antlr.org/download/antlr-4.13.0-complete.jar
file(DOWNLOAD https://www.antlr.org/download/antlr-4.13.2-complete.jar
"${GRAMMAR_DIR}/antlr.jar")
set(ANTLR_EXECUTABLE "${GRAMMAR_DIR}/antlr.jar")
find_package(ANTLR REQUIRED)
Expand Down
2 changes: 1 addition & 1 deletion third_party/antlr4/cmake/FindANTLR.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ find_package(Java QUIET COMPONENTS Runtime)

if(NOT ANTLR_EXECUTABLE)
find_program(ANTLR_EXECUTABLE
NAMES antlr.jar antlr4.jar antlr-4.jar antlr-4.12.0-complete.jar)
NAMES antlr.jar antlr4.jar antlr-4.jar antlr-4.13.2-complete.jar)
endif()

if(ANTLR_EXECUTABLE AND Java_JAVA_EXECUTABLE)
Expand Down

0 comments on commit 7124feb

Please sign in to comment.