* expression.cs:
[mono.git] / mcs / mbas / tree.cs
index 2cf5be8ca5ccd62f38949affa188485e8866f9b0..4f424cd820de88f5f8dbd6d2078c4fd3c7fa9c2a 100644 (file)
@@ -15,7 +15,7 @@ using System.Reflection;
 using System.Reflection.Emit;
 using System.IO;
 
-namespace Mono.CSharp
+namespace Mono.MonoBASIC
 {
 
        public interface ITreeDump {
@@ -45,7 +45,7 @@ namespace Mono.CSharp
                
                public Tree ()
                {
-                       root_types = new TypeContainer (null, "", new Location (-1));
+                       root_types = new TypeContainer (null, "", null, new Location (-1, 0));
 
                        decls = new Hashtable ();
                        namespaces = new Hashtable ();
@@ -55,7 +55,7 @@ namespace Mono.CSharp
                {
                        if (decls.Contains (name)){
                                Report.Error (
-                                       101, ds.Location,
+                                       30179, ds.Location,
                                        "There is already a definition for `" + name + "'");
                                DeclSpace other = (DeclSpace) decls [name];
                                Report.Error (0,