summaryrefslogtreecommitdiffstats
path: root/ext/syck/node.c
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-05 04:43:05 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-05 04:43:05 +0000
commitad2d401e02fe77626e79d96269cecb827996729a (patch)
treec0485110aa5ea341f821cb6bfa210041b71813e3 /ext/syck/node.c
parent755671e73d5d19e837a180f6bd17fe3619253bef (diff)
downloadruby-ad2d401e02fe77626e79d96269cecb827996729a.tar.gz
ruby-ad2d401e02fe77626e79d96269cecb827996729a.tar.xz
ruby-ad2d401e02fe77626e79d96269cecb827996729a.zip
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@3905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/node.c')
-rw-r--r--ext/syck/node.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/syck/node.c b/ext/syck/node.c
index 26a9bdd0a..eb2bbc291 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];