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

@@ -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);
}
}
}