Spelling of canonical

This commit is contained in:
Twan van Laarhoven
2020-04-21 21:48:47 +02:00
parent 25345b86bd
commit a6cd6c2dd0
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ bool Reader::enterAnyBlock() {
bool Reader::enterBlock(const Char* name) {
if (state == ENTERED) moveNext(); // on the key of the parent block, first move inside it
if (indent != expected_indent) return false; // not enough indentation
if (cannocial_name_compare(key, name)) {
if (canonical_name_compare(key, name)) {
state = ENTERED;
expected_indent += 1; // the indent inside the block must be at least this much
return true;