Started the parser.

This commit is contained in:
Jesse Beder 2008-06-30 06:51:22 +00:00
parent ed6c294749
commit b6a0ef207b
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;
}