public boolean parse() throws jplag.ExitException { if (!program.use_verbose_parser()) { if (files == null || files.length == 0) { program.print("ERROR: nothing to parse for submission \"" + name + "\"\n", null); return false; } } struct = this.language.parse(dir, files); if (!language.errors()) { if (struct.size() < 3) { program.print("Submission \"" + name + "\" is too short!\n", null); struct = null; errors = true; // invalidate submission return false; } return true; } struct = null; errors = true; // invalidate submission if (program.use_debugParser()) copySubmission(); return false; }