mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Removed the new API from the default branch
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include "yaml-cpp/parser.h"
|
||||
#include "yaml-cpp/eventhandler.h"
|
||||
#include "yaml-cpp/exceptions.h"
|
||||
#include "yaml-cpp/old-api/node.h"
|
||||
#include "old-api/nodebuilder.h"
|
||||
#include "directives.h"
|
||||
#include "scanner.h"
|
||||
#include "singledocparser.h"
|
||||
@@ -9,11 +11,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,7 +55,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.
|
||||
@@ -67,7 +63,6 @@ namespace YAML
|
||||
NodeBuilder builder(document);
|
||||
return HandleNextDocument(builder);
|
||||
}
|
||||
#endif
|
||||
|
||||
// ParseDirectives
|
||||
// . Reads any directives that are next in the queue.
|
||||
|
Reference in New Issue
Block a user