def visit_comment(node)
return if node.invisible?
spaces = (' ' * [@tabs - node.value[/^ */].size, 0].max)
content = node.value.gsub(/^/, spaces).gsub(%r{^(\s*)//(.*)$}) do |md|
"#{$1}/*#{$2} */"
end
if content =~ /[^\\]\#\{.*\}/
Sass::Util.sass_warn "WARNING:\nOn line \#{node.line}\#{\" of '\#{node.filename}'\" if node.filename}\nComments will evaluate the contents of interpolations (\\\#{ ... }) in Sass 3.2.\nPlease escape the interpolation by adding a backslash before the hash sign.\n"
elsif content =~ /\\\#\{.*\}/
content.gsub!(/\\(\#\{.*\})/, '\1')
end
content.gsub!(/\n +(\* *(?!\/))?/, ' ') if (node.style == :compact || node.style == :compressed) && !node.loud
content
end