spelling: differently
This commit is contained in:
parent
cb7bb9821d
commit
72d8c52ac0
@ -171,7 +171,7 @@ void Scanner::ScanBlockEntry() {
|
|||||||
|
|
||||||
// Key
|
// Key
|
||||||
void Scanner::ScanKey() {
|
void Scanner::ScanKey() {
|
||||||
// handle keys diffently in the block context (and manage indents)
|
// handle keys differently in the block context (and manage indents)
|
||||||
if (InBlockContext()) {
|
if (InBlockContext()) {
|
||||||
if (!m_simpleKeyAllowed)
|
if (!m_simpleKeyAllowed)
|
||||||
throw ParserException(INPUT.mark(), ErrorMsg::MAP_KEY);
|
throw ParserException(INPUT.mark(), ErrorMsg::MAP_KEY);
|
||||||
@ -199,7 +199,7 @@ void Scanner::ScanValue() {
|
|||||||
// seems fine)
|
// seems fine)
|
||||||
m_simpleKeyAllowed = false;
|
m_simpleKeyAllowed = false;
|
||||||
} else {
|
} else {
|
||||||
// handle values diffently in the block context (and manage indents)
|
// handle values differently in the block context (and manage indents)
|
||||||
if (InBlockContext()) {
|
if (InBlockContext()) {
|
||||||
if (!m_simpleKeyAllowed)
|
if (!m_simpleKeyAllowed)
|
||||||
throw ParserException(INPUT.mark(), ErrorMsg::MAP_VALUE);
|
throw ParserException(INPUT.mark(), ErrorMsg::MAP_VALUE);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user