diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-04 17:53:41 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-10-04 17:53:41 +0000 |
commit | 137c547c3ef8167630170275ba2ae5a14fa0af95 (patch) | |
tree | 6faa8acdcfe3ac9f79b33cca6b9e5971903ace9e /ChangeLog | |
parent | 77e58a3398cde8a0e9b0cb07ffe20e6137efe41c (diff) | |
download | ruby-137c547c3ef8167630170275ba2ae5a14fa0af95.tar.gz |
* ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and
message attributes during parse failure.
* ext/psych/parser.c: Update parser to raise exception with correct
values.
* test/psych/test_exception.rb: corresponding tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,11 @@ +Wed Oct 5 02:50:27 2011 Aaron Patterson <aaron@tenderlovemaking.com> + + * ext/psych/lib/psych/syntax_error.rb: Add file, line, offset, and + message attributes during parse failure. + * ext/psych/parser.c: Update parser to raise exception with correct + values. + * test/psych/test_exception.rb: corresponding tests. + Wed Oct 5 01:52:16 2011 Aaron Patterson <aaron@tenderlovemaking.com> * ext/psych/parser.c (parse): Use context_mark for indicating error |