# File lib/forward_referencing.rb, line 48
  def resolve_forward_references
    forward_references = @forward_references
    @forward_references = []
    @had_forward_reference_resolution = false
    if forward_references.size > 0
      @forward_reference_resolver ||= callcc {|cont| cont} while
        (@forward_reference_resolver == nil)
      forward_reference = forward_references.shift
      forward_reference.continuation.call if forward_reference != nil
    end
    @forward_reference_resolver = nil
    resolve_forward_references if @had_forward_reference_resolution
  end