Jedi Code Format: Support partial array. Issue #38031, patch from Domingo Galmés.

git-svn-id: trunk@64105 -
This commit is contained in:
juha 2020-11-04 19:26:52 +00:00
parent 16ffa2572f
commit f677f97727

View File

@ -2868,6 +2868,12 @@ begin
begin
Recognise(ttOpenSquareBracket);
RecogniseExprList;
// partial array pass Test(A[2..5]);
if fcTokenList.FirstSolidTokenType=ttDoubleDot then
begin
Recognise(ttDoubleDot);
RecogniseExprList;
end;
Recognise(ttCloseSquareBracket);
end;
ttOpenBracket: