lib/sass/tree/rule_node.rb in sass-3.1.7 vs lib/sass/tree/rule_node.rb in sass-3.1.8
- old
+ new
@@ -126,11 +126,11 @@
def try_to_parse_non_interpolated_rules
if @rule.all? {|t| t.kind_of?(String)}
# We don't use real filename/line info because we don't have it yet.
# When we get it, we'll set it on the parsed rules if possible.
- parser = Sass::SCSS::StaticParser.new(@rule.join.strip, 1)
- @parsed_rules = parser.parse_selector('') rescue nil
+ parser = Sass::SCSS::StaticParser.new(@rule.join.strip, '', 1)
+ @parsed_rules = parser.parse_selector rescue nil
end
end
end
end