mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:27:56 +02:00
* Dictionaries can be empty
git-svn-id: trunk@41823 -
This commit is contained in:
parent
478b918386
commit
1a5faf1cc3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user