Made interface between scanner and parser.