diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-12 09:01:28 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-02-12 09:01:28 +0000 |
commit | 897a42b06355053a5d4a6e94cce7526d8a327b12 (patch) | |
tree | 0b499bdca644d3d0ce98e056764b285d5113ce1a | |
parent | f9fc9298a0d358bf4612d5db0faac59ce85a54b6 (diff) |
yaml/api.c: fix typo
* ext/psych/yaml/api.c (yaml_emitter_delete): fix typo 'empty'
with 'emitter'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ext/psych/yaml/api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/psych/yaml/api.c b/ext/psych/yaml/api.c index 1b6edc9373..e0b9d979cc 100644 --- a/ext/psych/yaml/api.c +++ b/ext/psych/yaml/api.c @@ -395,7 +395,7 @@ yaml_emitter_delete(yaml_emitter_t *emitter) } QUEUE_DEL(emitter, emitter->events); STACK_DEL(emitter, emitter->indents); - while (!STACK_EMPTY(empty, emitter->tag_directives)) { + while (!STACK_EMPTY(emitter, emitter->tag_directives)) { yaml_tag_directive_t tag_directive = POP(emitter, emitter->tag_directives); yaml_free(tag_directive.handle); yaml_free(tag_directive.prefix); |