Merged r444:449 from the node refactoring branch to the trunk

This commit is contained in:
Jesse Beder
2011-03-03 00:19:26 +00:00
parent ced50538fe
commit ca5992b971
35 changed files with 421 additions and 860 deletions

View File

@@ -698,7 +698,7 @@ namespace Test
YAML::Node doc;
parser.GetNextDocument(doc);
if(doc["a"] != 1)
if(doc["a"] != 4)
return false;
if(doc["b"] != 2)
return false;
@@ -729,10 +729,10 @@ namespace Test
bool ExpectedTagValue(YAML::Node& node, const char* tag)
{
if(node.GetTag() == tag)
if(node.Tag() == tag)
return true;
throw TagMismatch(node.GetTag(), tag);
throw TagMismatch(node.Tag(), tag);
}
bool DefaultPlainScalarTag()