webidl: skip fields without name

This commit is contained in:
mattias 2022-07-21 12:14:20 +02:00
parent a84c13ad18
commit fd38810f33

View File

@ -818,7 +818,7 @@ var
begin
if Attr.AttributeType=nil then
begin
AddLn('skipping field without type: "'+Attr.Name+'"');
writeln('Note: skipping field "'+Attr.Name+'" without type at '+GetDefPos(Attr));
exit;
end;
PropName:=GetName(Attr);