diff options
author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-05 04:43:05 +0000 |
---|---|---|
committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-06-05 04:43:05 +0000 |
commit | 017d4ff10ae32ed6570b5d33a8106bd1f22e008f (patch) | |
tree | c0485110aa5ea341f821cb6bfa210041b71813e3 /ext/syck/node.c | |
parent | 45c7ea552d0293aa217bbb496d4238754ba701d2 (diff) | |
download | ruby-017d4ff10ae32ed6570b5d33a8106bd1f22e008f.tar.gz |
* ext/syck/token.c: directives choked on a period.
* ext/syck/gram.y: anchors work above a collection. [ruby-core:1071]
* ext/syck/handler.c, ext/syck/syck.c: ensure a fresh strtable between
parser iterations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/node.c')
-rw-r--r-- | ext/syck/node.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/syck/node.c b/ext/syck/node.c index 26a9bdd0a5..eb2bbc291f 100644 --- a/ext/syck/node.c +++ b/ext/syck/node.c @@ -192,7 +192,6 @@ syck_map_update( SyckNode *map1, SyckNode *map2 ) S_REALLOC_N( m1->keys, SYMID, m1->capa ); S_REALLOC_N( m1->values, SYMID, m1->capa ); } - new_idx = 0; for ( new_idx = 0; new_idx < m2->idx; m1->idx++, new_idx++ ) { m1->keys[m1->idx] = m2->keys[new_idx]; |