1
0
mirror of https://github.com/nlohmann/json.git synced 2025-08-07 18:02:57 +03:00

✏️ fixed some typos

This commit is contained in:
Niels Lohmann
2018-10-28 14:20:20 +01:00
parent f0c1459554
commit d2e4f0b0d9
6 changed files with 36 additions and 31 deletions

View File

@@ -167,7 +167,7 @@ class parser
template <typename SAX>
bool sax_parse_internal(SAX* sax)
{
// stack to remember the hieararchy of structured values we are parsing
// stack to remember the hierarchy of structured values we are parsing
// true = array; false = object
std::vector<bool> states;
// value to avoid a goto (see comment where set to true)
@@ -351,7 +351,7 @@ class parser
// we reached this line after we successfully parsed a value
if (states.empty())
{
// empty stack: we reached the end of the hieararchy: done
// empty stack: we reached the end of the hierarchy: done
return true;
}
else