class LexerDriver {
  public static void main(String argv[]) throws java.io.IOException {
    Yylex yy = new Yylex(System.in);
    Symbol t;
    try {
	while ((t = yy.yylex()).sym != Symbol.EOF)
	    System.out.println(t);
    } catch (ParseError e) {
	System.err.println (e.getMessage());
    }
  }
}

