Skip to content

Commit

Permalink
Upgrade to ANTLR 4.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Icohedron committed Jun 23, 2020
1 parent 71b14c4 commit 630cd1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmake/get_antlr.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ file(TO_CMAKE_PATH "${_ANTLR_DIR}/bin" BIN_DIR) # Join dir.
set(BIN_DIR ${BIN_DIR} CACHE PATH "ANTLR jar directory.") # Set for internal use.

# Download ANTLR executable, saves us from ensuring people have java build tools (e.g. Maven)...
file(TO_CMAKE_PATH "${BIN_DIR}/antlr-4.7.1-complete.jar" ANTLR_JAR)
file(TO_CMAKE_PATH "${BIN_DIR}/antlr-4.8-complete.jar" ANTLR_JAR)
if (NOT EXISTS "${ANTLR_JAR}")
message(STATUS "Downloading ANTLR generator...")
file(
DOWNLOAD
http://www.antlr.org/download/antlr-4.7.1-complete.jar
http://www.antlr.org/download/antlr-4.8-complete.jar
"${ANTLR_JAR}"
SHOW_PROGRESS
)
Expand Down
4 changes: 2 additions & 2 deletions cmake/get_antlr_manual.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (NOT EXISTS "${ANTLR_JAR}")
message(STATUS "Downloading ANTLR generator...")
file(
DOWNLOAD
http://www.antlr.org/download/antlr-4.7.1-complete.jar
http://www.antlr.org/download/antlr-4.8-complete.jar
"${ANTLR_JAR}"
SHOW_PROGRESS
)
Expand All @@ -42,7 +42,7 @@ ExternalProject_Add(

# ANTLR repository and tag.
GIT_REPOSITORY https://github.com/antlr/antlr4.git
GIT_TAG "4.7.1"
GIT_TAG "4.8"
UPDATE_COMMAND ""
PATCH_COMMAND ""
TIMEOUT 10
Expand Down

0 comments on commit 630cd1f

Please sign in to comment.