Comment out unreachable states
This commit is contained in:
parent
510b8f0a0c
commit
f23be5e1cb
1 changed files with 4 additions and 4 deletions
|
@ -10,8 +10,8 @@ enum State {
|
||||||
DocumentContent,
|
DocumentContent,
|
||||||
DocumentEnd,
|
DocumentEnd,
|
||||||
BlockNode,
|
BlockNode,
|
||||||
BlockNodeOrIndentlessSequence,
|
// BlockNodeOrIndentlessSequence,
|
||||||
FlowNode,
|
// FlowNode,
|
||||||
BlockSequenceFirstEntry,
|
BlockSequenceFirstEntry,
|
||||||
BlockSequenceEntry,
|
BlockSequenceEntry,
|
||||||
IndentlessSequenceEntry,
|
IndentlessSequenceEntry,
|
||||||
|
@ -247,8 +247,8 @@ impl<T: Iterator<Item=char>> Parser<T> {
|
||||||
State::DocumentEnd => self.document_end(),
|
State::DocumentEnd => self.document_end(),
|
||||||
|
|
||||||
State::BlockNode => self.parse_node(true, false),
|
State::BlockNode => self.parse_node(true, false),
|
||||||
State::BlockNodeOrIndentlessSequence => self.parse_node(true, true),
|
// State::BlockNodeOrIndentlessSequence => self.parse_node(true, true),
|
||||||
State::FlowNode => self.parse_node(false, false),
|
// State::FlowNode => self.parse_node(false, false),
|
||||||
|
|
||||||
State::BlockMappingFirstKey => self.block_mapping_key(true),
|
State::BlockMappingFirstKey => self.block_mapping_key(true),
|
||||||
State::BlockMappingKey => self.block_mapping_key(false),
|
State::BlockMappingKey => self.block_mapping_key(false),
|
||||||
|
|
Loading…
Reference in a new issue