aboutsummaryrefslogtreecommitdiff
path: root/games/gbrainy/files/patch-CSharpCompiler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'games/gbrainy/files/patch-CSharpCompiler.cs')
-rw-r--r--games/gbrainy/files/patch-CSharpCompiler.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/gbrainy/files/patch-CSharpCompiler.cs b/games/gbrainy/files/patch-CSharpCompiler.cs
new file mode 100644
index 000000000000..8ec11da1c264
--- /dev/null
+++ b/games/gbrainy/files/patch-CSharpCompiler.cs
@@ -0,0 +1,14 @@
+--- src/Core/Libraries/CSharpCompiler.cs.orig 2012-05-23 16:50:05.000000000 +0800
++++ src/Core/Libraries/CSharpCompiler.cs 2012-05-24 08:50:05.000000000 +0800
+@@ -44,10 +44,7 @@
+
+ public CSharpCompiler ()
+ {
+- CompilerSettings settings = new CompilerSettings ();
+- Report report = new Report (new NullReportPrinter ());
+-
+- evaluator = new Evaluator (settings, report);
++ evaluator = new Evaluator (new CompilerContext (new CompilerSettings (), new NullReportPrinter ()));
+ }
+
+ public void EvaluateCode (string code)