class IDL::Scanner::In

def skipwhile(*chars, &block)

def skipwhile(*chars, &block)
  if block
    until (ch = lookc).nil?
      return ch unless block.call(ch)
      skipc
    end
  end
  nil
end