2003-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
[mono.git] / mcs / class / System.Web / System.Web.Compilation / AspParser.cs
index 1d4ddb8beef3b3eec10d07b0304a2dfb7247ecd1..3fe75548f1278cda9d700f3604c819fd61413b49 100644 (file)
@@ -216,7 +216,7 @@ namespace System.Web.Compilation
 
                                id = tokenizer.Value;
                                if (!Eat ('>'))
-                                       OnError ("expecting '>'");
+                                       OnError ("expecting '>'. Got '" + id + "'");
 
                                tagtype = TagType.Close;
                                break;
@@ -249,7 +249,7 @@ namespace System.Web.Compilation
                                if (Eat ('/') && Eat ('>'))
                                        tagtype = TagType.SelfClosing;
                                else if (!Eat ('>'))
-                                       OnError ("expecting '>'");
+                                       OnError ("expecting '>'. Got '" + tokenizer.Value + "'");
 
                                break;
                        default: