Author: manjula
Date: 2005-03-24 04:18:37 -0500 (Thu, 24 Mar 2005)
New Revision: 42198

Modified:
   trunk/mcs/mbas/ChangeLog
   trunk/mcs/mbas/mb-tokenizer.cs
Log:
To fix parser error for ExternalSource Directives


Modified: trunk/mcs/mbas/ChangeLog
===================================================================
--- trunk/mcs/mbas/ChangeLog    2005-03-24 09:00:09 UTC (rev 42197)
+++ trunk/mcs/mbas/ChangeLog    2005-03-24 09:18:37 UTC (rev 42198)
@@ -1,3 +1,6 @@
+2005-03-24 Manjula GHM <[EMAIL PROTECTED]>
+          * mb-tokenizer.cs: To fix parser error for ExternalSource Directives
+
 2005-03-24 Satya Sudha K <[EMAIL PROTECTED]>
        * mb-parser.jay : 
                        - Support for Dictionary Member Access Expressions

Modified: trunk/mcs/mbas/mb-tokenizer.cs
===================================================================
--- trunk/mcs/mbas/mb-tokenizer.cs      2005-03-24 09:00:09 UTC (rev 42197)
+++ trunk/mcs/mbas/mb-tokenizer.cs      2005-03-24 09:18:37 UTC (rev 42198)
@@ -796,16 +796,11 @@
                        {
                                current_token = xtoken ();
                                if(current_token == Token.END) {
-                                       // In case of any more addition in end 
block it got to be added here
                                        next_token = xtoken();
                                        putbacktoken = true;
                                        if (next_token == Token.EOL) 
                                                return Token.END_EOL;
-                                       else if (next_token == 
Token.IDENTIFIER) {
-                                               next_token=Token.EOL ; 
-                                               
Report.Error(30678,Location,"'End' statement is not accepted") ; 
-                                               return Token.END_EOL;
-                                        } else 
+                                        else 
                                                return Token.END;
                                }       
                                if (current_token == 0) 

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

Reply via email to