class Sass::Script::Lexer
def scan(re)
def scan(re) return unless str = @scanner.scan(re) c = str.count("\n") @line += c @offset = (c == 0 ? @offset + str.size : str[/\n(.*)/, 1].size) str end
def scan(re) return unless str = @scanner.scan(re) c = str.count("\n") @line += c @offset = (c == 0 ? @offset + str.size : str[/\n(.*)/, 1].size) str end