diff --git a/build.gradle.kts b/build.gradle.kts index d089252470c..5a4103f7698 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -59,7 +59,7 @@ dependencies { api("org.eclipse.lsp4j", "org.eclipse.lsp4j", "0.9.0") // 1c-syntax - api("com.github.1c-syntax", "bsl-parser", "0.15.1") { + api("com.github.1c-syntax", "bsl-parser", "0.16.0") { exclude("com.tunnelvisionlabs", "antlr4-annotations") exclude("com.ibm.icu", "*") exclude("org.antlr", "ST4") diff --git a/src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/Trees.java b/src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/Trees.java index 376880985be..6e59899eb74 100644 --- a/src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/Trees.java +++ b/src/main/java/com/github/_1c_syntax/bsl/languageserver/utils/Trees.java @@ -55,7 +55,7 @@ public final class Trees { BSLParser.ANNOTATION_UKNOWN, BSLParser.LINE_COMMENT, BSLParser.WHITE_SPACE, - BSLParser.RULE_annotationParams + BSLParser.AMPERSAND ); /**