summaryrefslogtreecommitdiff
path: root/ext/syck/gram.c
diff options
context:
space:
mode:
authorwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-10 19:55:18 +0000
committerwhy <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-10 19:55:18 +0000
commit4b25d0d2cb5e47907c3586ba86646b25bd25ceaf (patch)
treedb80e493d079350f0123f8fa9783684a5d66b685 /ext/syck/gram.c
parentb2bb895aab7422fd95ce883be5b19d2f82981da5 (diff)
* ext/syck/gram.c ext/syck/handler.c ext/syck/implicit.c
ext/syck/node.c ext/syck/rubyext.c ext/syck/syck.c ext/syck/syck.h ext/syck/token.c: updated to Syck 0.27 * lib/yaml/loader.rb: new YAML::Loader class * lib/yaml.rb: loading of type families leverages YAML::DefaultLoader git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/syck/gram.c')
-rw-r--r--ext/syck/gram.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/syck/gram.c b/ext/syck/gram.c
index 5ea28ce6214..e1d0301c6c2 100644
--- a/ext/syck/gram.c
+++ b/ext/syck/gram.c
@@ -1076,7 +1076,7 @@ yyreduce:
SyckNode *n = syck_new_str( "" );
if ( ((SyckParser *)parser)->taguri_expansion == 1 )
{
- syck_taguri( n, "yaml.org,2002", "null", 4 );
+ n->type_id = syck_taguri( YAML_DOMAIN, "null", 4 );
}
else
{
@@ -1111,7 +1111,7 @@ yyreduce:
SyckNode *n = yyvsp[0].nodeData;
if ( ((SyckParser *)parser)->taguri_expansion == 1 )
{
- syck_taguri( n, "yaml.org,2002", "str", 3 );
+ n->type_id = syck_taguri( YAML_DOMAIN, "str", 3 );
}
else
{