File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
# changelog
2
2
3
+ ## 2.5.4
4
+ * ` FIX ` [ #848 ] ( https://github.com/sumneko/lua-language-server/issues/848 )
5
+
3
6
## 2.5.3
4
7
` 2021-12-6 `
5
8
* ` FIX ` [ #842 ] ( https://github.com/sumneko/lua-language-server/issues/844 )
Original file line number Diff line number Diff line change @@ -1649,20 +1649,20 @@ local function parseTable()
1649
1649
wantSep = true
1650
1650
local tindex = parseIndex ()
1651
1651
skipSpace ()
1652
+ tindex .type = ' tableindex'
1653
+ tindex .parent = tbl
1654
+ index = index + 1
1655
+ tbl [index ] = tindex
1652
1656
if expectAssign () then
1653
1657
skipSpace ()
1654
1658
local ivalue = parseExp ()
1655
- tindex .type = ' tableindex'
1656
- tindex .parent = tbl
1657
1659
if ivalue then
1658
1660
ivalue .parent = tindex
1659
1661
tindex .finish = ivalue .finish
1660
1662
tindex .value = ivalue
1661
1663
else
1662
1664
missExp ()
1663
1665
end
1664
- index = index + 1
1665
- tbl [index ] = tindex
1666
1666
else
1667
1667
missSymbol ' ='
1668
1668
end
You can’t perform that action at this time.
0 commit comments