Pārlūkot izejas kodu

pastojs: checked writeln

git-svn-id: trunk@40495 -
Mattias Gaertner 6 gadi atpakaļ
vecāks
revīzija
1e15e35eab
1 mainītis faili ar 3 papildinājumiem un 2 dzēšanām
  1. 3 2
      utils/pas2js/webfilecache.pp

+ 3 - 2
utils/pas2js/webfilecache.pp

@@ -211,8 +211,7 @@ begin
     if RaiseOnError then
     if RaiseOnError then
       Raise EFileNotFoundError.Create('File not loaded '+FileName)
       Raise EFileNotFoundError.Create('File not loaded '+FileName)
 {$IFDEF VERBOSEWEBCACHE}
 {$IFDEF VERBOSEWEBCACHE}
-    else
-      Writeln('File not loaded '+FileName);
+    else Writeln('File not loaded '+FileName);
 {$ENDIF}
 {$ENDIF}
 end;
 end;
 
 
@@ -451,7 +450,9 @@ begin
   for I:=0 to MS.Length-1 do
   for I:=0 to MS.Length-1 do
     begin
     begin
     v:=MS[i];
     v:=MS[i];
+    {AllowWriteln}
     Writeln('Char ',i,'(',v,') : ',TJSString.fromCharCode(v));
     Writeln('Char ',i,'(',v,') : ',TJSString.fromCharCode(v));
+    {AllowWriteln-}
     aContent:=aContent+TJSString.fromCharCode(MS[i]);
     aContent:=aContent+TJSString.fromCharCode(MS[i]);
     end;
     end;
   SetFileContent(FileName,aContent);
   SetFileContent(FileName,aContent);