mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:29:29 +02:00
Jedi Code Format: Support partial array. Issue #38031, patch from Domingo Galmés.
git-svn-id: trunk@64105 -
This commit is contained in:
parent
16ffa2572f
commit
f677f97727
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user