mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-07-23 04:05:33 -04:00
Began new-api branch, and removed all traces of the old api from this branch
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user