From 07625e3bd1dfcb9c555ad6e9e44c1fb77226eb5e Mon Sep 17 00:00:00 2001 From: Aleksey Savchuk Date: Tue, 17 Sep 2024 10:29:16 +0300 Subject: [PATCH] [#269] Update ANTLR version 4.13.0 -> 4.13.1 Signed-off-by: Aleksey Savchuk --- Makefile | 2 +- go.mod | 4 ++-- go.sum | Bin 17907 -> 17907 bytes netmap/parser/generate.go | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6a9bb9a..32b588e 100755 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ #!/usr/bin/make -f -ANTLR_VERSION="4.13.0" +ANTLR_VERSION=4.13.1 TMP_DIR := .cache LINT_VERSION ?= 1.60.1 TRUECLOUDLAB_LINT_VERSION ?= 0.0.6 diff --git a/go.mod b/go.mod index f4a7b48..eb6de13 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( git.frostfs.info/TrueCloudLab/frostfs-contract v0.19.3-0.20240621131249-49e5270f673e git.frostfs.info/TrueCloudLab/hrw v1.2.1 git.frostfs.info/TrueCloudLab/tzhash v1.8.0 - github.com/antlr4-go/antlr/v4 v4.13.0 + github.com/antlr4-go/antlr/v4 v4.13.1 github.com/google/uuid v1.6.0 github.com/hashicorp/golang-lru/v2 v2.0.7 github.com/klauspost/reedsolomon v1.12.1 @@ -40,7 +40,7 @@ require ( go.etcd.io/bbolt v1.3.9 // indirect go.uber.org/multierr v1.11.0 // indirect golang.org/x/crypto v0.24.0 // indirect - golang.org/x/exp v0.0.0-20240222234643-814bf88cf225 // indirect + golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842 // indirect golang.org/x/net v0.26.0 // indirect golang.org/x/sync v0.7.0 // indirect golang.org/x/sys v0.21.0 // indirect diff --git a/go.sum b/go.sum index 1a7b6816fd476c084ca78312a0dc546a0c8455bd..54be09ca2443a5c38e9edd62a5d6de02f3d8ed95 100644 GIT binary patch delta 277 zcmey|&G@;SaRWb_fuTZ%p;d5Upm%m@Sd?~Ec($*vUv^fdsasU4X>O5ecxX^~UQR)- ze`!@@cu_!6;ADF?HFHD#^nAVC{1lL0ckkTL3g43Q0<)-e_wuOVvP6^A@BnAi++ee^ zP{&+8+6_+Px7g&@P6ldjaR?xdF4gk2vTL%CD delta 278 zcmey|&G@;SaRWb_fq_DXp;b~^nAVC{1lMhf;8t0C;f^H{m{Iu%$!7X)4*_Z?XXajkl?)V zyu577(2%^`f`CN-AfxonbJ(t`xf%h1v5A?9v95)oNm81HMRJ;vktxV1pS0qFz%YHc z$dJU6fRG}6V~;A& diff --git a/netmap/parser/generate.go b/netmap/parser/generate.go index 66a855b..a11c3fc 100644 --- a/netmap/parser/generate.go +++ b/netmap/parser/generate.go @@ -1,4 +1,5 @@ package parser -// ANTLR can be downloaded from https://www.antlr.org/download/antlr-4.13.0-complete.jar -//go:generate java -Xmx500M -cp "./antlr-4.13.0-complete.jar:$CLASSPATH" org.antlr.v4.Tool -Dlanguage=Go -no-listener -visitor QueryLexer.g4 Query.g4 +// You can download ANTLR from https://www.antlr.org/download/antlr-4.13.1-complete.jar, +// then run generate or simply run the dedicated Makefile target like this `make policy`. +//go:generate java -Xmx500M -cp "./antlr-4.13.1-complete.jar:$CLASSPATH" org.antlr.v4.Tool -Dlanguage=Go -no-listener -visitor QueryLexer.g4 Query.g4