Skip to content

Commit 415543f

Browse files
committed
update antlr runtime to 4.13.2
1 parent cfd5408 commit 415543f

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ check_function_exists (strtoull HAVE_STRTOULL)
143143
check_function_exists (strtoimax HAVE_STRTOIMAX)
144144
check_function_exists (strtoumax HAVE_STRTOUMAX)
145145

146-
set(ANTLR_JAR_FILENAME "antlr-4.11.1-complete.jar")
146+
set(ANTLR_JAR_FILENAME "antlr-4.13.2-complete.jar")
147147
get_filename_component(SOURCE_PARENT_DIR ${CMAKE_SOURCE_DIR} DIRECTORY)
148148
set(LINUX_RES_BIN_DIR ${SOURCE_PARENT_DIR}/linux-res/bin)
149149
message("WITH_ANTLR_JAR: ${WITH_ANTLR_JAR}")

INSTALL

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Note about swig:
5757
- You will need swig 3.0 to build WB
5858

5959
Note about ANTLR:
60-
- ANTLR 4.7 is required to generate the files for the MySQL Parser. Download antlr-4.7.2-complete.jar from http://www.antlr.org/download.html.
60+
- ANTLR 4.13.2 is required to generate the files for the MySQL Parser. Download antlr-4.13.2-complete.jar from http://www.antlr.org/download.html.
6161
Then you'll need to pass it as cmake argument:
6262
-DWITH_ANTLR_JAR=<path_to_your_antlr_complete_file>
6363

build/debian.in/rules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ifndef BUNDLES_PATH
4242
endif
4343

4444
ifndef ANTLR_JAR_PATH
45-
ANTLR_JAR_PATH=$(BUNDLES_PATH)/bin/antlr-4.11.1-complete.jar
45+
ANTLR_JAR_PATH=$(BUNDLES_PATH)/bin/antlr-4.13.2-complete.jar
4646
endif
4747

4848
ifndef BOOST_ROOT

build/mysql-workbench.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ fi
188188
-DVSQLITE_LIBRARIES="-L%{bundles_path}/lib -lvsqlitepp" \
189189
-DANTLR4_INCLUDE_DIR=%{bundles_path}/include \
190190
-DANTLR4_LIBRARIES="-L%{bundles_path}/lib -lantlr4-runtime" \
191-
-DWITH_ANTLR_JAR=%{bundles_path}/bin/antlr-4.11.1-complete.jar \
191+
-DWITH_ANTLR_JAR=%{bundles_path}/bin/antlr-4.13.2-complete.jar \
192192
-Dlibssh_DIR=%{bundles_path}/lib/cmake/libssh \
193193
%if %{defined python_lib_path}
194194
-DPYTHON_LIBRARY=%{python_lib_path} \

library/parsers/grammars/build-parsers-mac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ then
66
exit
77
fi
88

9-
LOCATION=../../../3rd-party-ce/bin/antlr-4.11.1-complete.jar
9+
LOCATION=../../../3rd-party-ce/bin/antlr-4.13.2-complete.jar
1010
case "$1" in
1111
"mysql") echo "Building MySQL parser"
1212
java -jar $LOCATION -Dlanguage=Cpp -listener -visitor -o ../mysql -package parsers MySQLLexer.g4 MySQLParser.g4

library/parsers/grammars/build-parsers.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ if [%1] == [] goto Usage
44

55
IF %1 == mysql (
66
echo Selected MySQL parser
7-
java -Xmx1024m -jar %WB_3DPARTY_PATH%\bin\antlr-4.11.1-complete.jar -Dlanguage=Cpp -listener -visitor -o ../mysql -package parsers MySQLLexer.g4 MySQLParser.g4
7+
java -Xmx1024m -jar %WB_3DPARTY_PATH%\bin\antlr-4.13.2-complete.jar -Dlanguage=Cpp -listener -visitor -o ../mysql -package parsers MySQLLexer.g4 MySQLParser.g4
88
) ELSE (
99
echo Unknown parser type %1
1010
)

0 commit comments

Comments
 (0)