Finalise generating the state table

This commit is contained in:
2023-07-25 08:56:42 +01:00
parent 7eec0e0730
commit adde1db0f4
3 changed files with 826 additions and 330 deletions

View File

@@ -6,6 +6,7 @@ typedef enum {
LEXER_STATE_ERROR,
LEXER_STATE_START,
LEXER_STATE_VALUE,
LEXER_STATE_VALUE_END,
// COLLECTION STATES
LEXER_STATE_OBJECT_START,
LEXER_STATE_OBJECT,
@@ -16,6 +17,7 @@ typedef enum {
LEXER_STATE_LAST_COLLECTION,
// OBJECT STATES
LEXER_STATE_KEY,
LEXER_STATE_KEY_END,
// NUMBER STATES
LEXER_STATE_DECIMAL,
LEXER_STATE_NUMBER,