Ver código fonte

webidl: skip fields without name

mattias 3 anos atrás
pai
commit
fd38810f33
1 arquivos alterados com 1 adições e 1 exclusões
  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);