class Sass::Engine
def count_tabs(line)
def count_tabs(line) return nil if line.strip.empty? return nil unless spaces = line.index(/[^ ]/) if spaces % 2 == 1 raise SyntaxError.new(<<END.strip, @line) aces} space#{spaces == 1 ? ' was' : 's were'} used for indentation. Sass must be indented using two spaces. elsif line[spaces] == ?\t raise SyntaxError.new(<<END.strip, @line) b character was used for indentation. Sass must be indented using two spaces. you sure you have soft tabs enabled in your editor? end spaces / 2 end