mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 06:51:26 +12:00
Fixed complex keys.
This commit is contained in:
parent
c63ebbd878
commit
01ef70a6f9
3 changed files with 11 additions and 103 deletions
|
@ -204,7 +204,8 @@ namespace YAML
|
|||
template <> PlainScalarToken *Scanner::ScanToken(PlainScalarToken *pToken)
|
||||
{
|
||||
// insert a potential simple key
|
||||
InsertSimpleKey();
|
||||
if(m_simpleKeyAllowed)
|
||||
InsertSimpleKey();
|
||||
m_simpleKeyAllowed = false;
|
||||
|
||||
// now eat and store the scalar
|
||||
|
@ -279,7 +280,8 @@ namespace YAML
|
|||
template <> QuotedScalarToken *Scanner::ScanToken(QuotedScalarToken *pToken)
|
||||
{
|
||||
// insert a potential simple key
|
||||
InsertSimpleKey();
|
||||
if(m_simpleKeyAllowed)
|
||||
InsertSimpleKey();
|
||||
m_simpleKeyAllowed = false;
|
||||
|
||||
// eat single or double quote
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue