Began new-api branch, and removed all traces of the old api from this branch

This commit is contained in:
beder
2012-01-20 23:36:08 -06:00
parent 9403ac04fa
commit 90f48fd035
28 changed files with 9 additions and 4164 deletions
-16
View File
@@ -9,11 +9,6 @@
#include <sstream>
#include <cstdio>
#ifdef YAML_CPP_OLD_API
#include "yaml-cpp/old-api/node.h"
#include "old-api/nodebuilder.h"
#endif
namespace YAML
{
Parser::Parser()
@@ -58,17 +53,6 @@ namespace YAML
return true;
}
#ifdef YAML_CPP_OLD_API
// 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);
}
#endif
// ParseDirectives
// . Reads any directives that are next in the queue.
void Parser::ParseDirectives()