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