Sha256: 3fb810a038dfefff643c5bd3ecacef697e56dae388e396c01be5f935794ebd3c
Contents?: true
Size: 1.27 KB
Versions: 2
Compression:
Stored size: 1.27 KB
Contents
*************** *** 106,121 **** end # Time for a unary minus! - if negative_okay && symbol == :minus - negative_okay = true to_return << :neg next end # Are we looking at an operator? if symbol && (str.empty? || symbol != :mod) str = reset_str.call - negative_okay = true to_return << symbol next end --- 107,129 ---- end # Time for a unary minus! + if beginning_of_token && symbol == :minus + beginning_of_token = true to_return << :neg 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 && (str.empty? || symbol != :mod) str = reset_str.call + beginning_of_token = true to_return << symbol next end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
haml-1.8.0 | lib/sass/constant.rb.rej |
haml-1.8.1 | lib/sass/constant.rb.rej |