mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/syck/bytecode.c: Checkin of YAML bytecode support.
* ext/syck/gram.c: Ditto. * ext/syck/syck.c: Ditto. * ext/syck/token.c: Ditto. * ext/syck/handler.c: Ditto. * ext/syck/handler.c: Now using 'tag' rather than 'taguri' in type URIs. * ext/syck/rubyext.c: Ditto (on both counts). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b215f2fdb9
commit
c76c3349e4
12 changed files with 2695 additions and 3713 deletions
|
@ -99,7 +99,7 @@ syck_hdlr_get_anchor( SyckParser *p, char *a )
|
|||
if ( n->anchor )
|
||||
{
|
||||
S_FREE( a );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
n->anchor = a;
|
||||
|
@ -141,7 +141,7 @@ syck_taguri( char *domain, char *type_id, int type_len )
|
|||
{
|
||||
char *uri = S_ALLOC_N( char, strlen( domain ) + type_len + 14 );
|
||||
uri[0] = '\0';
|
||||
strcat( uri, "taguri:" );
|
||||
strcat( uri, "tag:" );
|
||||
strcat( uri, domain );
|
||||
strcat( uri, ":" );
|
||||
strncat( uri, type_id, type_len );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue