Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2008-09-26 00:39:14 +0400
committerMiguel de Icaza <miguel@gnome.org>2008-09-26 00:39:14 +0400
commitd7c20b480f3b9b8976a572f0ab1d3366d73301b9 (patch)
treec8490a98c6e1eef51298f6d74c657225efa0eb4a /mcs/tools/csharp
parent319c16bd7b4565da006a7f84e5afa38dec0298a8 (diff)
2008-09-25 Miguel de Icaza <miguel@novell.com>
* repl.cs: On errors, return null. svn path=/trunk/mcs/; revision=114123
Diffstat (limited to 'mcs/tools/csharp')
-rw-r--r--mcs/tools/csharp/ChangeLog4
-rw-r--r--mcs/tools/csharp/repl.cs1
2 files changed, 5 insertions, 0 deletions
diff --git a/mcs/tools/csharp/ChangeLog b/mcs/tools/csharp/ChangeLog
index d2f8dbba2d2..1dc0c15f724 100644
--- a/mcs/tools/csharp/ChangeLog
+++ b/mcs/tools/csharp/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-25 Miguel de Icaza <miguel@novell.com>
+
+ * repl.cs: On errors, return null.
+
2008-09-24 Zoltan Varga <vargaz@gmail.com>
* Makefile repl.cs: Add support for attaching to arbitrary mono
diff --git a/mcs/tools/csharp/repl.cs b/mcs/tools/csharp/repl.cs
index 644a5ada161..30c4f64eb7b 100644
--- a/mcs/tools/csharp/repl.cs
+++ b/mcs/tools/csharp/repl.cs
@@ -158,6 +158,7 @@ namespace Mono {
}
} catch (Exception e){
Console.WriteLine (e);
+ return null;
}
return input;