Skip to content

Commit 8112d97

Browse files
authored
Merge pull request #1660 from 1c-syntax/fix/description-reader-parser
Обновление парсера. Fix #1641. Fix #1620
2 parents b9d98c6 + 549ebf0 commit 8112d97

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ dependencies {
5858
api("org.eclipse.lsp4j", "org.eclipse.lsp4j", "0.12.0")
5959

6060
// 1c-syntax
61-
api("com.github.1c-syntax", "bsl-parser", "0.18.0") {
61+
api("com.github.1c-syntax", "bsl-parser", "4063bc4b13455702f6cbc61ccd63b056fd22d217") {
6262
exclude("com.tunnelvisionlabs", "antlr4-annotations")
6363
exclude("com.ibm.icu", "*")
6464
exclude("org.antlr", "ST4")

src/test/resources/diagnostics/MissingParameterDescriptionDiagnostic.bsl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,4 +106,11 @@
106106
//
107107
Функция BUG_1490(КлючОбъекта, КлючНастроек, ЗначениеПоУмолчанию = Неопределено,
108108
ОписаниеНастроек = Неопределено, ИмяПользователя = Неопределено) Экспорт
109+
КонецФункции
110+
111+
// Делает некоторые вещи с массивом строк
112+
//
113+
// Параметры:
114+
// МассивСтрок - Массив из Строка - Массив строк
115+
Функция BUG_1620(МассивСтрок)
109116
КонецФункции

src/test/resources/diagnostics/MissingReturnedValueDescriptionDiagnostic.bsl

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,14 @@
194194
// см. ФайловаяСистемаКлиент.ПараметрыЗагрузкиФайла
195195
//
196196
Функция BUG_1488_2(РежимДиалога)
197-
КонецФункции
197+
КонецФункции
198+
199+
// Specifies settings for reading values from JSON format
200+
//
201+
// Returns:
202+
// Structure - contains:
203+
// * ReadToMap - Boolean - default is True
204+
// * PropertiesWithDateValuesNames - Array contains String - for every fields with date values
205+
// - String - if JSON has only one date field
206+
Функция BUG_1641()
207+
КонецФункции

0 commit comments

Comments
 (0)