diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-10-04 10:55:36 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-10-04 10:55:36 -0700 |
commit | 524da347f58842a788e205877e0ff7079cb9bad3 (patch) | |
tree | 8a6f8a3858f8c2272db70c199542794db16b0169 /CHANGELOG.rdoc | |
parent | 64f27edacf6adda4b58406ef9f073c147465e077 (diff) | |
download | psych-524da347f58842a788e205877e0ff7079cb9bad3.zip |
adding more information to the syntax error exception
Diffstat (limited to 'CHANGELOG.rdoc')
-rw-r--r-- | CHANGELOG.rdoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index d4f9a8c..7bb9f15 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -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 |