// look for a subsequent semicolon that ends it.
// If it doesn't exist, report a problem.
semicolonIndex = s.indexOf(SEMICOLON, ampersandIndex + 1);
if (semicolonIndex == -1)
{
ICompilerProblem problem = new MXMLUnterminatedEntityProblem(location);
problems.add(problem);
break; // we can't do any further processing
}
// Extract and convert the entity between the ampersand and the semicolon.