public void LogError(IList<Token> tlist,string text,int pos,int posend) { string str = ""; for (int i = pos; i <= posend;i++ ) { str += tlist[i].text + " "; } logger.Log_Error(text+":" + str + "(" + pos + "-" + posend + ")"); } //可以搞出Block