Author: rolf
Date: 2007-10-08 05:26:56 -0400 (Mon, 08 Oct 2007)
New Revision: 87082

Modified:
   trunk/mono-basic/vbnc/vbnc/source/ChangeLog
   trunk/mono-basic/vbnc/vbnc/source/General/Messages.vb
   trunk/mono-basic/vbnc/vbnc/source/Parser/Parser.vb
   trunk/mono-basic/vbnc/vbnc/source/Resources/Errors.resx
   trunk/mono-basic/vbnc/vbnc/source/Resources/Source.xml
Log:
* Parser/Parser.vb: "Option Strict Off will probably fail" is a
  warning, not an error.
* Resources/Source.xml, Resources/Errors.resx, General/Messages.vb: Add
  a general warning.

Modified: trunk/mono-basic/vbnc/vbnc/source/ChangeLog
===================================================================
--- trunk/mono-basic/vbnc/vbnc/source/ChangeLog 2007-10-08 09:24:11 UTC (rev 
87081)
+++ trunk/mono-basic/vbnc/vbnc/source/ChangeLog 2007-10-08 09:26:56 UTC (rev 
87082)
@@ -1,3 +1,10 @@
+2007-10-08  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * Parser/Parser.vb: "Option Strict Off will probably fail" is a 
warning, not
+         an error.
+       * Resources/Source.xml, Resources/Errors.resx, General/Messages.vb: Add 
a
+         general warning.
+
 2007-10-01  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
 
        * General/CommandLine.vb: Use result correctly.

Modified: trunk/mono-basic/vbnc/vbnc/source/General/Messages.vb
===================================================================
--- trunk/mono-basic/vbnc/vbnc/source/General/Messages.vb       2007-10-08 
09:24:11 UTC (rev 87081)
+++ trunk/mono-basic/vbnc/vbnc/source/General/Messages.vb       2007-10-08 
09:26:56 UTC (rev 87082)
@@ -6793,6 +6793,13 @@
 
     ''' <summary>
     ''' VBNC = "{0}"
+    ''' VB   = "(no corresponding VB warning)"
+    ''' </summary>
+    ''' <remarks></remarks>
+    <Message(MessageLevel.Warning)> VBNC99998 = 99998
+
+    ''' <summary>
+    ''' VBNC = "{0}"
     ''' VB   = "(no corresponding VB error)"
     ''' </summary>
     ''' <remarks></remarks>

Modified: trunk/mono-basic/vbnc/vbnc/source/Parser/Parser.vb
===================================================================
--- trunk/mono-basic/vbnc/vbnc/source/Parser/Parser.vb  2007-10-08 09:24:11 UTC 
(rev 87081)
+++ trunk/mono-basic/vbnc/vbnc/source/Parser/Parser.vb  2007-10-08 09:26:56 UTC 
(rev 87082)
@@ -153,7 +153,7 @@
         If tm.Accept(KS.On) Then
             m_Off = False
         ElseIf tm.Accept("Off") Then
-            Compiler.Report.ShowMessage(Messages.VBNC99999, 
tm.PeekToken(-1).Location, "Option Strict Off will probably fail.")
+            Compiler.Report.ShowMessage(Messages.VBNC99998, 
tm.PeekToken(-1).Location, "Option Strict Off will probably fail.")
             m_Off = True
         End If
 

Modified: trunk/mono-basic/vbnc/vbnc/source/Resources/Errors.resx
===================================================================
--- trunk/mono-basic/vbnc/vbnc/source/Resources/Errors.resx     2007-10-08 
09:24:11 UTC (rev 87081)
+++ trunk/mono-basic/vbnc/vbnc/source/Resources/Errors.resx     2007-10-08 
09:26:56 UTC (rev 87082)
@@ -999,5 +999,6 @@
   <data name="90021"><value>Invalid data type: '{0}'.</value></data>
   <data name="90022"><value>Unexpected end of file in comment.</value></data>
   <data name="90023"><value>There is no comparison possible between '{0}' and 
'{1}'.</value></data>
+  <data name="99998"><value>{0}</value></data>
   <data name="99999"><value>{0}</value></data>
   </root>
\ No newline at end of file

Modified: trunk/mono-basic/vbnc/vbnc/source/Resources/Source.xml
===================================================================
--- trunk/mono-basic/vbnc/vbnc/source/Resources/Source.xml      2007-10-08 
09:24:11 UTC (rev 87081)
+++ trunk/mono-basic/vbnc/vbnc/source/Resources/Source.xml      2007-10-08 
09:26:56 UTC (rev 87082)
@@ -4842,6 +4842,11 @@
                <VBNCValue>There is no comparison possible between '{0}' and 
'{1}'.</VBNCValue>
                <VBValue>(no corresponding VB error)</VBValue>
        </Message>
+  <Message id="99998" level="Warning">
+    <Comment>Whatever you wish :)</Comment>
+    <VBNCValue>{0}</VBNCValue>
+    <VBValue>(no corresponding VB warning)</VBValue>
+  </Message>
   <Message id="99999" level="Error">
     <Comment>Whatever you wish :)</Comment>
     <VBNCValue>{0}</VBNCValue>

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

Reply via email to