Explorar o código

webidl: skip fields without name

mattias %!s(int64=3) %!d(string=hai) anos
pai
achega
fd38810f33
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);