id = tokenizer.Value;
if (!Eat ('>'))
- OnError ("expecting '>'");
+ OnError ("expecting '>'. Got '" + id + "'");
tagtype = TagType.Close;
break;
if (Eat ('/') && Eat ('>'))
tagtype = TagType.SelfClosing;
else if (!Eat ('>'))
- OnError ("expecting '>'");
+ OnError ("expecting '>'. Got '" + tokenizer.Value + "'");
break;
default: