From e74d7583ef22190e7f0d4fcb96b4a1bcd5236569 Mon Sep 17 00:00:00 2001 From: nex3 Date: Fri, 2 Feb 2007 03:30:13 +0000 Subject: [PATCH] More liberal set of Sass constant names allowed. git-svn-id: svn://hamptoncatlin.com/haml/trunk@330 7063305b-7217-0410-af8c-cdc13e5119b9 --- lib/sass/constant.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sass/constant.rb b/lib/sass/constant.rb index 1784ba97..e70fc3aa 100644 --- a/lib/sass/constant.rb +++ b/lib/sass/constant.rb @@ -25,7 +25,7 @@ module Sass } # The regular expression used to parse constants - MATCH = /^#{Regexp.escape(CONSTANT_CHAR.chr)}([^\s#{(SYMBOLS.keys + [ ESCAPE_CHAR, ?= ]).map {|c| Regexp.escape("#{c.chr}") }}]+)\s*=\s*(.+)/ + MATCH = /^#{Regexp.escape(CONSTANT_CHAR.chr)}([^\s\=]+)\s*=\s*(.+)/ # First-order operations FIRST_ORDER = [:times, :div, :mod]