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 begin
if Attr.AttributeType=nil then if Attr.AttributeType=nil then
begin begin
AddLn('skipping field without type: "'+Attr.Name+'"'); writeln('Note: skipping field "'+Attr.Name+'" without type at '+GetDefPos(Attr));
exit; exit;
end; end;
PropName:=GetName(Attr); PropName:=GetName(Attr);