codetools: fixed parsing array

git-svn-id: trunk@54729 -
This commit is contained in:
mattias 2017-04-25 09:52:21 +00:00
parent fa480d0669
commit a8d6670895

View File

@ -4569,6 +4569,7 @@ begin
CreateChildNode;
// first set the type to open array (an array type without brackets)
CurNode.Desc:=ctnOpenArrayType;
ReadNextAtom;
if (CurPos.Flag=cafEdgedBracketOpen) then begin
CurNode.Desc:=ctnRangedArrayType;
Result:=ReadIndexType;