Fix missed comments on initial commit
Change local variable from PrevKeyNode to pPreviousKeyNode. Change variable name from tnullcheck to nextToken.
This commit is contained in:
parent
0b2309d17b
commit
ed0087b76e
@ -58,8 +58,8 @@ class GraphBuilderAdapter : public EventHandler {
|
|||||||
struct ContainerFrame {
|
struct ContainerFrame {
|
||||||
ContainerFrame(void* pSequence)
|
ContainerFrame(void* pSequence)
|
||||||
: pContainer(pSequence), pPrevKeyNode(&sequenceMarker) {}
|
: pContainer(pSequence), pPrevKeyNode(&sequenceMarker) {}
|
||||||
ContainerFrame(void* pMap, void* PrevKeyNode)
|
ContainerFrame(void* pMap, void* pPreviousKeyNode)
|
||||||
: pContainer(pMap), pPrevKeyNode(PrevKeyNode) {}
|
: pContainer(pMap), pPrevKeyNode(pPreviousKeyNode) {}
|
||||||
|
|
||||||
void* pContainer;
|
void* pContainer;
|
||||||
void* pPrevKeyNode;
|
void* pPrevKeyNode;
|
||||||
|
|||||||
@ -167,10 +167,10 @@ void SingleDocParser::HandleBlockSequence(EventHandler& eventHandler) {
|
|||||||
|
|
||||||
// check for null
|
// check for null
|
||||||
if (!m_scanner.empty()) {
|
if (!m_scanner.empty()) {
|
||||||
const Token& tnullcheck = m_scanner.peek();
|
const Token& nextToken = m_scanner.peek();
|
||||||
if (tnullcheck.type == Token::BLOCK_ENTRY ||
|
if (nextToken.type == Token::BLOCK_ENTRY ||
|
||||||
tnullcheck.type == Token::BLOCK_SEQ_END) {
|
nextToken.type == Token::BLOCK_SEQ_END) {
|
||||||
eventHandler.OnNull(tnullcheck.mark, NullAnchor);
|
eventHandler.OnNull(nextToken.mark, NullAnchor);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user