mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 15:01:28 +12:00
Tags, anchors, and aliases are all parsed now.
This commit is contained in:
parent
8180a85a3b
commit
4c5a488f68
19 changed files with 303 additions and 93 deletions
|
@ -20,7 +20,7 @@ namespace YAML
|
|||
m_pRoot = 0;
|
||||
}
|
||||
|
||||
void Document::Parse(Scanner *pScanner)
|
||||
void Document::Parse(Scanner *pScanner, const ParserState& state)
|
||||
{
|
||||
Clear();
|
||||
|
||||
|
@ -34,7 +34,7 @@ namespace YAML
|
|||
|
||||
// now create our root node and parse it
|
||||
m_pRoot = new Node;
|
||||
m_pRoot->Parse(pScanner);
|
||||
m_pRoot->Parse(pScanner, state);
|
||||
|
||||
// and finally eat any doc ends we see
|
||||
while(pScanner->PeekNextToken() && pScanner->PeekNextToken()->type == TT_DOC_END)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue