mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 05:51:27 +12:00
Started the parser.
This commit is contained in:
parent
ed6c294749
commit
b6a0ef207b
12 changed files with 143 additions and 276 deletions
11
node.cpp
11
node.cpp
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue