# File lib/vendor/okjson.rb, line 160
  def eat(typ, ts)
    if ts[0][0] != typ
      raise OkJson::ParserError, "expected #{typ} (got #{ts[0].inspect})"
    end
    ts[1..-1]
  end