diff options
author | Miguel de Icaza <miguel@gnome.org> | 2001-08-20 18:57:40 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2001-08-20 18:57:40 +0400 |
commit | c634df75a341e8d06f614edcab6c6186505101cd (patch) | |
tree | 4ea70b86dd02a259355bdcfa31df213285e89677 /mcs | |
parent | 2f4757bcb84f3f9c3923dbe34ce907f03104108d (diff) |
Add System.Web to the make process
Flush my changes to Component.cs
Update mono.src
Fix compiler report.cs class
svn path=/trunk/mcs/; revision=513
Diffstat (limited to 'mcs')
-rwxr-xr-x | mcs/README | 21 | ||||
-rw-r--r-- | mcs/class/System/System.ComponentModel/Component.cs | 3 | ||||
-rw-r--r-- | mcs/class/makefile | 2 | ||||
-rw-r--r-- | mcs/mcs/report.cs | 4 |
4 files changed, 25 insertions, 5 deletions
diff --git a/mcs/README b/mcs/README index c4ef996c177..ea389e73fee 100755 --- a/mcs/README +++ b/mcs/README @@ -1,2 +1,21 @@ -This is the Ximian MCS C# compiler written in C#
\ No newline at end of file +This contains the Mono C# compiler as well as the Mono runtime +library. + +Layout: + + class/ + Class libraries + + errors/ + Sample programs that should generate errors by the compiler. + + jay/ + Yacc-based parser generator. + + mcs/ + The Mono C# compiler + + tests/ + Sample tests + diff --git a/mcs/class/System/System.ComponentModel/Component.cs b/mcs/class/System/System.ComponentModel/Component.cs index 58eb4d0ac31..9c76657a402 100644 --- a/mcs/class/System/System.ComponentModel/Component.cs +++ b/mcs/class/System/System.ComponentModel/Component.cs @@ -28,6 +28,7 @@ namespace System.ComponentModel { // </summary> public Component () { + event_handlers = null; } // <summary> @@ -71,7 +72,7 @@ namespace System.ComponentModel { } } - ~Component()
+ ~Component() { // FIXME: Not sure this is correct. Dispose(true); diff --git a/mcs/class/makefile b/mcs/class/makefile index 7285a89126a..041a26ab21e 100644 --- a/mcs/class/makefile +++ b/mcs/class/makefile @@ -1,4 +1,4 @@ -DIRS=corlib System System.XML +DIRS=corlib System System.Drawing System.Web System.XML ROOT=//$(subst \,/,$(subst :\,/,$(SYSTEMROOT))) CSC=$(ROOT)/microsoft.net/framework/v1.0.2914/csc.exe diff --git a/mcs/mcs/report.cs b/mcs/mcs/report.cs index a7cb15f7bfc..6390eb4d2ca 100644 --- a/mcs/mcs/report.cs +++ b/mcs/mcs/report.cs @@ -16,14 +16,14 @@ namespace CIR { public void Error (int code, Location l, string text) { - Console.WriteLine (l.Name + "(" + l.row + "," + l.col + + Console.WriteLine (l.Name + "(" + l.Row + "," + l.Col + "): Error CS"+code+": " + text); errors++; } public void Warning (int code, Location l, string text) { - Console.WriteLine (l.Name + "(" + l.row + "," + l.col + + Console.WriteLine (l.Name + "(" + l.Row + "," + l.Col + "): Warning CS"+code+": " + text); warnings++; } |