protected void foundExtraCharacterAfterEndOfProgram(ASToken token)
{
if (!extraCharacterAfterEndOfProgramProblemLogged && errors.isEmpty())
{
extraCharacterAfterEndOfProgramProblemLogged = true;
addProblem(new ExtraCharactersAfterEndOfProgramProblem(token));
}
}