mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 01:28:19 +02:00
Jedi code format: fix issue #40871 error handling a set with ranges, based on a patch from bytebites
This commit is contained in:
parent
1ed2cf467c
commit
a326522d93
@ -1704,6 +1704,12 @@ begin
|
||||
begin
|
||||
Recognise(ttComma);
|
||||
RecogniseTypedConstant;
|
||||
// range x..y
|
||||
if fcTokenList.FirstSolidTokenType = ttDoubleDot then
|
||||
begin
|
||||
Recognise(ttDoubleDot);
|
||||
RecogniseTypedConstant;
|
||||
end;
|
||||
end;
|
||||
|
||||
Recognise([ttCloseBracket,ttCloseSquareBracket]);
|
||||
|
Loading…
Reference in New Issue
Block a user