Add STATE_LENGTH to equal last state + 1
This commit is contained in:
@@ -21,7 +21,9 @@ export const enum ParserState {
|
||||
DCS_IGNORE = 11,
|
||||
DCS_INTERMEDIATE = 12,
|
||||
DCS_PASSTHROUGH = 13,
|
||||
APC_STRING = 14
|
||||
APC_STRING = 14,
|
||||
// Number of states. States must be continuous and this must be LAST_STATE + 1.
|
||||
STATE_LENGTH = 15
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user