Author: rafael
Date: 2005-03-23 12:01:44 -0500 (Wed, 23 Mar 2005)
New Revision: 42151

Modified:
   trunk/mcs/mbas/AssemblyInfo.cs
   trunk/mcs/mbas/ChangeLog
   trunk/mcs/mbas/cfold.cs
   trunk/mcs/mbas/delegate.cs
   trunk/mcs/mbas/ecore.cs
Log:
2005-23-03 Rafael Teixeira <[EMAIL PROTECTED]>
        * AssemblyInfo.cs: Some more diligent authors
        * ecore.cs, cfold.cs, delegate.cs: remove warnings-causing code 



Modified: trunk/mcs/mbas/AssemblyInfo.cs
===================================================================
--- trunk/mcs/mbas/AssemblyInfo.cs      2005-03-23 16:06:42 UTC (rev 42150)
+++ trunk/mcs/mbas/AssemblyInfo.cs      2005-03-23 17:01:44 UTC (rev 42151)
@@ -28,6 +28,9 @@
 [assembly: AssemblyTrademark("")]
 [assembly: AssemblyCulture("")]                
 
+[assembly: Mono.Author("Sudharsan V")]
+[assembly: Mono.Author("Satya Sudha K")]
+[assembly: Mono.Author("Manjula GHM")]
 [assembly: Mono.Author("Anirban Bhattacharjee")]
 [assembly: Mono.Author("Martin Baulig")]
 [assembly: Mono.Author("Marco Ridoni")]
@@ -43,7 +46,7 @@
 //[assembly: Mono.ForMoreInformation("http://www.go-mono.com";)]
 //[assembly: Mono.UsageClause("mbas [options] source-files")]
 
-[assembly: AssemblyVersion("0.95.0.0")]
+[assembly: AssemblyVersion("0.96.0.0")]
 
 [assembly: AssemblyDelaySign(false)]
 [assembly: AssemblyKeyFile("")]

Modified: trunk/mcs/mbas/ChangeLog
===================================================================
--- trunk/mcs/mbas/ChangeLog    2005-03-23 16:06:42 UTC (rev 42150)
+++ trunk/mcs/mbas/ChangeLog    2005-03-23 17:01:44 UTC (rev 42151)
@@ -1,3 +1,7 @@
+2005-23-03 Rafael Teixeira <[EMAIL PROTECTED]>
+       * AssemblyInfo.cs: Some more diligent authors
+       * ecore.cs, cfold.cs, delegate.cs: remove warnings-causing code 
+
 2005-03-22 Satya Sudha K <[EMAIL PROTECTED]>
        * mb-parser.jay
        * expression.cs :

Modified: trunk/mcs/mbas/cfold.cs
===================================================================
--- trunk/mcs/mbas/cfold.cs     2005-03-23 16:06:42 UTC (rev 42150)
+++ trunk/mcs/mbas/cfold.cs     2005-03-23 17:01:44 UTC (rev 42151)
@@ -57,16 +57,22 @@
                                // converted to type ulong.  or an error ocurrs 
if the other
                                // operand is of type sbyte, short, int or long
                                //
+#if WRONG
                                Constant match, other;
+#endif
                                        
                                if (left is ULongConstant){
+#if WRONG
                                        other = right;
                                        match = left;
+#endif
                                        if (!(right is ULongConstant))
                                                right = right.ToULong (loc);
                                } else {
+#if WRONG
                                        other = left;
                                        match = right;
+#endif
                                        left = left.ToULong (loc);
                                }
 
@@ -96,13 +102,11 @@
                                // operand is of type sbyte, short or int, the 
operands are
                                // converted to type long.
                                //
-                               Constant match, other;
+                               Constant other;
                                if (left is UIntConstant){
                                        other = right;
-                                       match = left;
                                } else {
                                        other = left;
-                                       match = right;
                                }
 
                                // Nothing to do.

Modified: trunk/mcs/mbas/delegate.cs
===================================================================
--- trunk/mcs/mbas/delegate.cs  2005-03-23 16:06:42 UTC (rev 42150)
+++ trunk/mcs/mbas/delegate.cs  2005-03-23 17:01:44 UTC (rev 42151)
@@ -751,7 +751,7 @@
 
                public override void Emit (EmitContext ec)
                {
-                       Delegate del = TypeManager.LookupDelegate 
(InstanceExpr.Type);
+                       // Delegate del = TypeManager.LookupDelegate 
(InstanceExpr.Type);
 
                        //
                        // Invocation on delegates call the virtual Invoke 
member

Modified: trunk/mcs/mbas/ecore.cs
===================================================================
--- trunk/mcs/mbas/ecore.cs     2005-03-23 16:06:42 UTC (rev 42150)
+++ trunk/mcs/mbas/ecore.cs     2005-03-23 17:01:44 UTC (rev 42151)
@@ -2409,7 +2409,7 @@
 
                        throw new Exception (msg);
 
-                       Report.Error (30512, loc, msg);
+                       // Report.Error (30512, loc, msg);
                }
 
                /// <summary>

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to