Commit Graph

9 Commits

Author SHA1 Message Date
Nathan Weizenbaum 63f0055be0 [Haml] Convert Haml::Error docs to YARD. 2009-04-30 12:33:47 -07:00
Nathan Weizenbaum 97f9810d8a Errors should descend from StandardError, not Exception. 2008-08-29 20:40:42 -07:00
Nathan Weizenbaum 2ebb1966e4 Fix a particularly nasty line-numbering bug that popped up with blank lines. 2008-05-29 01:30:29 -07:00
Nathan Weizenbaum 1375eff365 Custom errors should extend Exception, not StandardError. 2008-04-19 15:18:32 -07:00
Nathan Weizenbaum 6cbd49d5f5 Get rid of Haml::HamlError.
It makes more sense to just raise Haml::Error.
2008-04-19 10:07:40 -07:00
Nathan Weizenbaum 557b5cdc07 Fix error line reporting.
Syntax errors involving a line being improperly indented
were detected on the previous line,
and thus had their line numbers wrong.
2008-04-17 12:35:47 -07:00
nex3 34619eb403 No more line number mungeing - @precompiled line numbers now sync up with template line numbers.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@680 7063305b-7217-0410-af8c-cdc13e5119b9
2007-11-26 03:26:16 +00:00
nex3 a94b40953a 100% Rcov! Woo-hoo! Yeah!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@325 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-31 06:38:23 +00:00
nex3 9846d89754 Wonderful, sensical error-reporting implemented. Yay!
git-svn-id: svn://hamptoncatlin.com/haml/trunk@313 7063305b-7217-0410-af8c-cdc13e5119b9
2007-01-27 10:29:14 +00:00