private Symbol tryResolveSymbol(Token ident)
	{
		assert (ident.isToken(Token.Kind.IDENTIFIER));
		String name = ident.lexeme;
		try
		{
			return symbolTable.lookup(name);
		}
		catch (SymbolNotFoundError e)
		{
			String message = reportResolveSymbolError(name, ident.lineNumber, ident.charPosition);
			return new ErrorSymbol(message);
		}
	}