Skip to content

Commit

Permalink
Fixed typo in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Teemperor committed Jan 9, 2015
1 parent fa0ee9c commit 4a39bfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/json.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2068,12 +2068,12 @@ std::string json::parser::parseString()
}
}

// remember if we have a even amount of backslashes before the current character
// remember if we have an even amount of backslashes before the current character
if (currentChar == '\\') {
// jump between even/uneven for each backslash we encounter
evenAmountOfBackslashes = !evenAmountOfBackslashes;
} else {
// zero backslashes are also a even number, so as soon as we encounter a non-backslash
// zero backslashes are also an even number, so as soon as we encounter a non-backslash
// the chain of backslashes breaks and we start again from zero
evenAmountOfBackslashes = true;
}
Expand Down

0 comments on commit 4a39bfb

Please sign in to comment.