Finished parsing of basic data types (scalar, sequence, map).

This commit is contained in:
Jesse Beder 2008-06-30 23:57:58 +00:00
parent c1966ba3fc
commit 121c2e577f
20 changed files with 434 additions and 221 deletions

View file

@ -1,12 +1,16 @@
#include "reader.h"
#include "parser.h"
#include <fstream>
#include <iostream>
int main()
{
std::ifstream fin("test.yaml");
YAML::Reader reader(fin);
YAML::Parser parser(fin);
YAML::Document doc;
reader.GetNextDocument(doc);
parser.GetNextDocument(doc);
std::cout << doc;
getchar();
return 0;
}