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

@ -20,15 +20,4 @@ namespace YAML
delete m_pContent;
m_pContent = 0;
}
void Node::Read(Parser *pParser, const std::string& token)
{
Clear();
if(token == std::string("") + SeqToken) {
m_pContent = new Sequence(pParser);
} else {
m_pContent = new Scalar(token);
}
}
}