Oops... forgot why active arithmetic characters can't be in constants :p.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@331 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
e74d7583ef
commit
ae4ea92e41
|
@ -25,7 +25,7 @@ module Sass
|
|||
}
|
||||
|
||||
# The regular expression used to parse constants
|
||||
MATCH = /^#{Regexp.escape(CONSTANT_CHAR.chr)}([^\s\=]+)\s*=\s*(.+)/
|
||||
MATCH = /^#{Regexp.escape(CONSTANT_CHAR.chr)}([^\s#{(SYMBOLS.keys + [ ESCAPE_CHAR, ?= ]).map {|c| Regexp.escape("#{c.chr}") }}]+)\s*=\s*(.+)/
|
||||
|
||||
# First-order operations
|
||||
FIRST_ORDER = [:times, :div, :mod]
|
||||
|
|
Loading…
Reference in New Issue