private boolean checkLexicalAmbiguities()
	{
		boolean passed = true;
		
		stats.lexicalAmbiguityCount = ambiguities.size();
		
		for(int i = 0;i < ambiguities.size();i++)
		{
			boolean logConflict;
			if(ambiguities.isUnresolved(i))
			{
				passed = false;
				logConflict = logger.isLoggable(CompilerLevel.QUIET);
			}
			else
			{
				logConflict = logger.isLoggable(CompilerLevel.VERBOSE);
			}
			
			if(logConflict)
			{
				logger.log(new LexicalAmbiguityMessage(symbolTable, ambiguities, i));
			}
			if(ambiguities.isUnresolved(i))
			{
				passed = false;
			}
			else
			{
				if(ambiguities.getResolution(i) == -1)
				{
					stats.contextResolvedLexicalAmbiguityCount++;
				}
				else
				{
					stats.disambiguationFunctionResolvedLexicalAmbiguityCount++;
				}
			}
		}
		
		return passed;
	}