Browse Source

pas2js: marked allowed writeln

mattias 1 year ago
parent
commit
92e960c49a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      utils/pas2js/webidl2pas.pp

+ 2 - 0
utils/pas2js/webidl2pas.pp

@@ -127,7 +127,9 @@ procedure TWebIDLToPasApplication.DoRun;
 
 
   procedure E(const Msg: string);
   procedure E(const Msg: string);
   begin
   begin
+    {AllowWriteln}
     writeln('Error: ',Msg);
     writeln('Error: ',Msg);
+    {AllowWriteln-}
     Halt(1);
     Halt(1);
   end;
   end;