class Sass::Engine
def try_comment(line, last, tab_str, comment_tab_str, index)
def try_comment(line, last, tab_str, comment_tab_str, index) return unless last && last.comment? # Nested comment stuff must be at least one whitespace char deeper # than the normal indentation return unless line =~ /^#{tab_str}\s/ unless line =~ /^(?:#{comment_tab_str})(.*)$/ raise SyntaxError.new(<<MSG.strip.gsub("\n", " "), :line => index) nsistent indentation: ious line was indented by #{Haml::Shared.human_indentation comment_tab_str}, this line was indented by #{Haml::Shared.human_indentation line[/^\s*/]}. end last.text << "\n" << $1 true end