Jedi code format: fix issue #40871 error handling a set with ranges, based on a patch from bytebites

This commit is contained in:
DomingoGP 2024-03-28 21:20:04 +01:00
parent 1ed2cf467c
commit a326522d93

View File

@ -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]);