* Dictionaries can be empty

git-svn-id: trunk@41823 -
This commit is contained in:
michael 2019-04-03 10:21:36 +00:00
parent 478b918386
commit 1a5faf1cc3

View File

@ -1001,12 +1001,13 @@ begin
Result:=TIDLDictionaryDefinition(Context.Add(aParent,TIDLDictionaryDefinition,Name));
Result.ParentName:=ParentName;
GetToken;
Repeat
While (CurrentToken<>tkCurlyBraceClose) do
begin
ParseDictionaryMember(Result.Members);
CheckCurrentTokens([tkSemicolon,tkCurlyBraceClose]);
if (CurrentToken=tkSemicolon) then
GetToken;
Until (CurrentToken=tkCurlyBraceClose);
end;
end;
function TWebIDLParser.ParseSequenceTypeDef(aParent : TIDLBaseObject): TIDLSequenceTypeDefDefinition;