Beispiel #1
0
    public Parser(string text)
    {
        lex  = new Lex <INode>(text);
        Root = exp();

        if (!lex.Eof())
        {
            throw new FormatException("parse error token=" + lex.Token() + " " + lex.Show());
        }
    }