diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-22 22:43:41 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-22 22:43:41 +0000 |
commit | 18e3c52bc4d39881e4ab3a0ffdd9117c1f5b2ab1 (patch) | |
tree | 7ad96d7ee1998d13afdeb470e10028e0f49d87f6 /ext | |
parent | 8135c466ec00ad6f858c9068f48732fef165134a (diff) | |
download | ruby-18e3c52bc4d39881e4ab3a0ffdd9117c1f5b2ab1.tar.gz |
reverting r30628 since this seems like a bug in libyaml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/psych/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/parser.c b/ext/psych/parser.c index 05b493a853..7bfdf4af90 100644 --- a/ext/psych/parser.c +++ b/ext/psych/parser.c @@ -95,7 +95,7 @@ static VALUE parse(VALUE self, VALUE yaml) while(!done) { if(!yaml_parser_parse(parser, &event)) { VALUE path; - size_t line = parser->mark.line + 1; + size_t line = parser->mark.line; size_t column = parser->mark.column; if(rb_respond_to(yaml, id_path)) |