1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Proper error reporting.

git-svn-id: svn://hamptoncatlin.com/haml/trunk@249 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
nex3 2006-12-23 09:40:10 +00:00
parent c5b044d4b0
commit 27dffd695a

View file

@ -122,7 +122,7 @@ module Sass
to_return = value to_return = value
if value[0] == Sass::Engine::CONSTANT_CHAR if value[0] == Sass::Engine::CONSTANT_CHAR
to_return = constants[value[1..-1]] to_return = constants[value[1..-1]]
raise "Undefined constant:\n#{to_return}" unless to_return raise "Undefined constant:\n#{value}" unless to_return
end end
to_return to_return
end end