Prechádzať zdrojové kódy

Changed default trace in runner and runtime to off by default and added an optional semicolon to ActiveCellsRunner.mod because it broke the side panel.
Reasons for changes: in io intensive examples the log would overwhelm the system leading to a crash

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@6821 8c9fc860-2736-0410-a75d-ab315db34111

skoster 9 rokov pred
rodič
commit
59cd7eb642

+ 2 - 2
source/ActiveCellsRunner.mod

@@ -6,7 +6,7 @@ module ActiveCellsRunner;
 
 import ActiveCellsRuntime, Commands, Modules;
 const
-	EnableTrace = true;
+	EnableTrace = false;
 	
 type 
 	Cell = object 
@@ -70,7 +70,7 @@ type
 			else
 				fifo := f;
 			end;
-		end SetFifo
+		end SetFifo;
 		
 		procedure Send(value: longint);
 		begin

+ 1 - 1
source/ActiveCellsRuntime.mod

@@ -7,7 +7,7 @@ import
 	system, Heaps, Modules, Diagnostics, Strings, Objects, Reflection, Commands;
 
 const
-	EnableTrace* = true;
+	EnableTrace* = false;
 
 type
 	(* do not inherit from this object -- not supported. This object contains hidden fields instantiated by the compiler that would be lost. *)