Author: benm
Date: 2005-04-25 21:34:49 -0400 (Mon, 25 Apr 2005)
New Revision: 43570

Modified:
   trunk/mcs/mcs/ChangeLog
   trunk/mcs/mcs/cs-parser.jay
Log:
2005-04-25  Ben Maurer  <[EMAIL PROTECTED]>

        * cs-parser.jay: Use the prefered version of -unsafe in error
        message.



Modified: trunk/mcs/mcs/ChangeLog
===================================================================
--- trunk/mcs/mcs/ChangeLog     2005-04-26 01:11:57 UTC (rev 43569)
+++ trunk/mcs/mcs/ChangeLog     2005-04-26 01:34:49 UTC (rev 43570)
@@ -1,3 +1,8 @@
+2005-04-25  Ben Maurer  <[EMAIL PROTECTED]>
+
+       * cs-parser.jay: Use the prefered version of -unsafe in error
+       message.
+
 2005-04-22  Marek Safar  <[EMAIL PROTECTED]>
 
        * driver.cs (CompilerCallableEntryPoint.Invoke): Reset under any

Modified: trunk/mcs/mcs/cs-parser.jay
===================================================================
--- trunk/mcs/mcs/cs-parser.jay 2005-04-26 01:11:57 UTC (rev 43569)
+++ trunk/mcs/mcs/cs-parser.jay 2005-04-26 01:34:49 UTC (rev 43570)
@@ -4323,7 +4323,7 @@
        {
                if (!RootContext.Unsafe){
                        Report.Error (227, lexer.Location, 
-                               "Unsafe code can only be used if --unsafe is 
used");
+                               "Unsafe code can only be used if -unsafe is 
used");
                }
        } block {
                $$ = new Unsafe ((Block) $3);

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

Reply via email to