# File json/lexer.rb, line 263
    def skipto(to)
      index = @index
      loop {
        c = self.nextchar()
        if (c == '\0')
          @index = index
          return(c)
        end
        if (c == to)
          self.back
          return(c)
        end
      }
    end