Refactored the compact map notation, which made it easy to implement explicit keys for compact maps

This commit is contained in:
jbeder
2009-10-29 22:09:50 +00:00
parent 7c4a8dad85
commit 08ac48518f
4 changed files with 8 additions and 20 deletions

View File

@@ -72,9 +72,6 @@ namespace YAML
key.pMapStart = key.pIndent->pStartToken;
key.pMapStart->status = Token::UNVERIFIED;
}
} else if(m_flows.top() == FLOW_SEQ) {
key.pMapStart = PushToken(Token::FLOW_MAP_COMPACT);
key.pMapStart->status = Token::UNVERIFIED;
}
// then add the (now unverified) key