File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ check_function_exists (strtoull HAVE_STRTOULL)
143143check_function_exists (strtoimax HAVE_STRTOIMAX)
144144check_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" )
147147get_filename_component (SOURCE_PARENT_DIR ${CMAKE_SOURCE_DIR} DIRECTORY )
148148set (LINUX_RES_BIN_DIR ${SOURCE_PARENT_DIR} /linux-res/bin)
149149message ("WITH_ANTLR_JAR: ${WITH_ANTLR_JAR} " )
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ Note about swig:
5757- You will need swig 3.0 to build WB
5858
5959Note 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
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ ifndef BUNDLES_PATH
4242endif
4343
4444ifndef 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
4646endif
4747
4848ifndef BOOST_ROOT
Original file line number Diff line number Diff line change 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} \
Original file line number Diff line number Diff line change 66 exit
77fi
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
1010case " $1 " in
1111 " mysql" ) echo " Building MySQL parser"
1212 java -jar $LOCATION -Dlanguage=Cpp -listener -visitor -o ../mysql -package parsers MySQLLexer.g4 MySQLParser.g4
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ if [%1] == [] goto Usage
44
55IF %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)
You can’t perform that action at this time.
0 commit comments