Merge branch 'stable'
This commit is contained in:
commit
fe6c6c1478
|
@ -132,17 +132,10 @@ module Sass
|
|||
next
|
||||
end
|
||||
|
||||
# Is this a constant?
|
||||
if beginning_of_token && symbol == :const
|
||||
beginning_of_token = true
|
||||
to_return << :const
|
||||
next
|
||||
end
|
||||
|
||||
# Are we looking at an operator?
|
||||
if symbol && (symbol != :mod || str.empty?)
|
||||
str = reset_str.call
|
||||
beginning_of_token = true
|
||||
beginning_of_token = symbol != :close
|
||||
to_return << symbol
|
||||
next
|
||||
end
|
||||
|
|
|
@ -12,3 +12,5 @@
|
|||
#mod { num-num: 2; col-col: #0f0e05; col-num: #020001; }
|
||||
|
||||
#const { escaped-quote: !foo; escaped-slash: !foo; default: Hello! !important; }
|
||||
|
||||
#regression { a: 4; }
|
||||
|
|
|
@ -95,3 +95,6 @@
|
|||
:quote = "!foo"
|
||||
:slash = \!foo
|
||||
:default = !str !important
|
||||
|
||||
#regression
|
||||
:a= (3 + 2) - 1
|
||||
|
|
Loading…
Reference in New Issue