Started the parser.

This commit is contained in:
beder
2008-06-30 06:51:22 +00:00
parent 795df7224b
commit 2a7e20a315
12 changed files with 143 additions and 276 deletions

View File

@@ -1,9 +1,12 @@
#include "document.h"
#include "regex.h"
#include "reader.h"
#include <fstream>
int main()
{
YAML::Document doc("test.yaml");
std::ifstream fin("test.yaml");
YAML::Reader reader(fin);
YAML::Document doc;
reader.GetNextDocument(doc);
return 0;
}