fix comment

This commit is contained in:
Arthur Passos 2023-04-21 14:28:10 -03:00
parent 197edf9d43
commit b7a5a86db2

View File

@ -19,7 +19,7 @@ public:
WAITING_KEY,
// Tries to read a key. Might jump to WAITING_KEY, WAITING_VALUE or END.
READING_KEY,
// Tries to read a quoted/ quoted key. Might jump to WAITING_KEY, READING_KV_DELIMITER or END.
// Tries to read a quoted key. Might jump to WAITING_KEY, READING_KV_DELIMITER or END.
READING_QUOTED_KEY,
// Tries to read the key value pair delimiter. Might jump to WAITING_KEY, WAITING_VALUE or END.
READING_KV_DELIMITER,
@ -27,7 +27,7 @@ public:
WAITING_VALUE,
// Tries to read a value. Jumps to FLUSH_PAIR.
READING_VALUE,
// Tries to read a quoted/ quoted value. Might jump to FLUSH_PAIR or END.
// Tries to read a quoted value. Might jump to FLUSH_PAIR or END.
READING_QUOTED_VALUE,
// In this state, both key and value have already been collected and should be flushed. Might jump to WAITING_KEY or END.
FLUSH_PAIR,