lib/sass/script/parser.rb in sass-3.4.1 vs lib/sass/script/parser.rb in sass-3.4.2
- old
+ new
@@ -495,11 +495,11 @@
def special_fun
first = try_tok(:special_fun)
return paren unless first
str = literal_node(first.value, first.source_range)
- return str unless try_tok(:begin_interpolation)
+ return str unless try_tok(:string_interpolation)
mid = parse_interpolated
last = assert_expr(:special_fun)
node(Tree::Interpolation.new(str, mid, last, false, false),
first.source_range.start_pos)
end
@@ -526,10 +526,10 @@
def string
first = try_tok(:string)
return number unless first
str = literal_node(first.value, first.source_range)
- return str unless try_tok(:begin_interpolation)
+ return str unless try_tok(:string_interpolation)
mid = assert_expr :expr
assert_tok :end_interpolation
last = assert_expr(:string)
node(Tree::StringInterpolation.new(str, mid, last), first.source_range.start_pos)
end