Define a TagDirective
This commit is contained in:
parent
0d9ac3474a
commit
dfe4d6f721
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
#define __YAML_PARSERS_HH__
|
||||
|
||||
#include <functional>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <stack>
|
||||
#include <sstream>
|
||||
|
@ -33,6 +34,11 @@ struct Parser
|
|||
|
||||
typedef yaml_mark_t Mark;
|
||||
|
||||
struct TagDirective {
|
||||
std::string handle;
|
||||
std::string prefix;
|
||||
};
|
||||
|
||||
enum class Encoding {
|
||||
Any = YAML_ANY_ENCODING,
|
||||
UTF8 = YAML_UTF8_ENCODING,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue