module Parser

def self.check_for_encoding_support

def self.check_for_encoding_support
  unless defined?(Encoding)
    raise RuntimeError, 'Parsing 1.9 and later versions of Ruby is not supported on 1.8 due to the lack of Encoding support'
  end
end

def warn_syntax_deviation(feature, version)

def warn_syntax_deviation(feature, version)
  warn "warning: parser/current is loading #{feature}, which recognizes"
  warn "warning: #{version}-compliant syntax, but you are running #{RUBY_VERSION}."
end