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:
parent
c5b044d4b0
commit
27dffd695a
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ module Sass
|
|||
to_return = value
|
||||
if value[0] == Sass::Engine::CONSTANT_CHAR
|
||||
to_return = constants[value[1..-1]]
|
||||
raise "Undefined constant:\n#{to_return}" unless to_return
|
||||
raise "Undefined constant:\n#{value}" unless to_return
|
||||
end
|
||||
to_return
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue