mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Added parsing of anchors, aliases, and tags (still no semantics yet).
Fixed a silly bug in the simple key pushing (queues are FIFO!).
This commit is contained in:
parent
121c2e577f
commit
8180a85a3b
10 changed files with 167 additions and 34 deletions
|
@ -254,12 +254,14 @@ namespace YAML
|
|||
|
||||
// now push
|
||||
m_indents.push(column);
|
||||
Token *pToken = 0;
|
||||
if(sequence)
|
||||
m_tokens.push(new Token(TT_BLOCK_SEQ_START));
|
||||
pToken = new Token(TT_BLOCK_SEQ_START);
|
||||
else
|
||||
m_tokens.push(new Token(TT_BLOCK_MAP_START));
|
||||
pToken = new Token(TT_BLOCK_MAP_START);
|
||||
|
||||
return m_tokens.front();
|
||||
m_tokens.push(pToken);
|
||||
return pToken;
|
||||
}
|
||||
|
||||
// PopIndentTo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue