File tree Expand file tree Collapse file tree 8 files changed +32
-1
lines changed Expand file tree Collapse file tree 8 files changed +32
-1
lines changed Original file line number Diff line number Diff line change 2626 "type" : " lua" ,
2727 "request" : " attach" ,
2828 "stopOnEntry" : false ,
29- "address" : " 127.0.0.1:11413 " ,
29+ "address" : " 127.0.0.1:11414 " ,
3030 "outputCapture" : [
3131 ],
3232 "sourceFormat" : " string" ,
Original file line number Diff line number Diff line change @@ -237,6 +237,10 @@ PARSER_MISS_EXPONENT =
237237' Missed digits for the exponent.'
238238PARSER_MISS_EXP =
239239' <exp> expected.'
240+ PARSER_MISS_LOOP_MIN =
241+ ' Missing start value of the loop.'
242+ PARSER_MISS_LOOP_MAX =
243+ ' Missing limit value of the loop.'
240244PARSER_MISS_FIELD =
241245' <field> expected.'
242246PARSER_MISS_METHOD =
Original file line number Diff line number Diff line change @@ -231,6 +231,10 @@ PARSER_MISS_EXPONENT =
231231' Faltan los dígitos para el exponente.'
232232PARSER_MISS_EXP =
233233' Se esperaba <exp>.'
234+ PARSER_MISS_LOOP_MIN =
235+ ' Falta el valor inicial del bucle.'
236+ PARSER_MISS_LOOP_MAX =
237+ ' Falta el valor límite del bucle.'
234238PARSER_MISS_FIELD =
235239' Se esperaba <field>.'
236240PARSER_MISS_METHOD =
Original file line number Diff line number Diff line change @@ -233,6 +233,10 @@ PARSER_MISS_EXPONENT =
233233' 指数部が不足しています。'
234234PARSER_MISS_EXP =
235235' 式が不足しています。'
236+ PARSER_MISS_LOOP_MIN =
237+ ' ループの開始値が不足しています。'
238+ PARSER_MISS_LOOP_MAX =
239+ ' ループの終了値が不足しています。'
236240PARSER_MISS_FIELD =
237241' フィールド/プロパティ名が不足しています。'
238242PARSER_MISS_METHOD =
Original file line number Diff line number Diff line change @@ -233,6 +233,10 @@ PARSER_MISS_EXPONENT =
233233' Dígitos perdidos para o expoente.'
234234PARSER_MISS_EXP =
235235' <exp> esperada.'
236+ PARSER_MISS_LOOP_MIN =
237+ ' Falta o valor inicial do loop.'
238+ PARSER_MISS_LOOP_MAX =
239+ ' Falta o valor limite do loop.'
236240PARSER_MISS_FIELD =
237241' <field> esperado.'
238242PARSER_MISS_METHOD =
Original file line number Diff line number Diff line change @@ -237,6 +237,10 @@ PARSER_MISS_EXPONENT =
237237' 缺少指数部分。'
238238PARSER_MISS_EXP =
239239' 缺少表达式。'
240+ PARSER_MISS_LOOP_MIN =
241+ ' 缺少循环的起始值。'
242+ PARSER_MISS_LOOP_MAX =
243+ ' 缺少循环的终止值。'
240244PARSER_MISS_FIELD =
241245' 缺少字段/属性名。'
242246PARSER_MISS_METHOD =
Original file line number Diff line number Diff line change @@ -233,6 +233,10 @@ PARSER_MISS_EXPONENT =
233233' 缺少指數部分。'
234234PARSER_MISS_EXP =
235235' 缺少表達式。'
236+ PARSER_MISS_LOOP_MIN =
237+ ' 缺少迴圈的起始值。'
238+ PARSER_MISS_LOOP_MAX =
239+ ' 缺少迴圈的終止值。'
236240PARSER_MISS_FIELD =
237241' 缺少欄位/屬性名。'
238242PARSER_MISS_METHOD =
Original file line number Diff line number Diff line change @@ -663,6 +663,8 @@ local function parseLocalAttrs()
663663 if not attrs then
664664 attrs = {
665665 type = ' localattrs' ,
666+ start = getPosition (Tokens [Index ], ' left' ),
667+ finish = getPosition (Tokens [Index ], ' right' ),
666668 }
667669 end
668670 local attr = {
@@ -718,6 +720,7 @@ local function parseLocalAttrs()
718720 }
719721 }
720722 end
723+ attrs .finish = attr .finish
721724 end
722725 return attrs
723726end
@@ -3934,6 +3937,8 @@ local function parseFor()
39343937 if State .version == ' Lua 5.5' then
39353938 attrs = {
39363939 type = ' localattrs' ,
3940+ start = name .start ,
3941+ finish = name .finish ,
39373942 [1 ] = {
39383943 type = ' localattr' ,
39393944 start = name .start ,
@@ -4054,6 +4059,8 @@ local function parseFor()
40544059 if State .version == ' Lua 5.5' then
40554060 attrs = {
40564061 type = ' localattrs' ,
4062+ start = obj .start ,
4063+ finish = obj .finish ,
40574064 [1 ] = {
40584065 type = ' localattr' ,
40594066 start = obj .start ,
You can’t perform that action at this time.
0 commit comments