Parcourir la source

pas2js: marked allowed writeln

mattias il y a 1 an
Parent
commit
92e960c49a
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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);
   begin
+    {AllowWriteln}
     writeln('Error: ',Msg);
+    {AllowWriteln-}
     Halt(1);
   end;