Removed old-api tests, added (empty) core spec tests

This commit is contained in:
Jesse Beder
2012-05-19 01:16:54 -05:00
parent 0d32d19ed8
commit a183293ff0
8 changed files with 687 additions and 48 deletions

View File

@@ -3,7 +3,6 @@
#include "yaml-cpp/exceptions.h"
#include "yaml-cpp/node.h"
#include "directives.h"
#include "nodebuilder.h"
#include "scanner.h"
#include "singledocparser.h"
#include "tag.h"
@@ -55,15 +54,6 @@ namespace YAML
return true;
}
// GetNextDocument
// . Reads the next document in the queue (of tokens).
// . Throws a ParserException on error.
bool Parser::GetNextDocument(Node& document)
{
NodeBuilder builder(document);
return HandleNextDocument(builder);
}
// ParseDirectives
// . Reads any directives that are next in the queue.
void Parser::ParseDirectives()