# File lib/ruby_parser_extras.rb, line 1000
  def block_dup_check call_or_args, block
    syntax_error "Both block arg and actual block given." if
      block and call_or_args.block_pass?
  end