Added a single handler on validate() to prevent reparsing of an invalid
MiniJava source with the same parser.
Fixes #27.