Browse Source

webidl: skip fields without name

mattias 3 năm trước cách đây
mục cha
commit
fd38810f33
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/webidl/src/webidltowasmjob.pp

+ 1 - 1
packages/webidl/src/webidltowasmjob.pp

@@ -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);