This commit is contained in:
Florian Schroedl
2022-01-20 17:00:00 +01:00
parent 58100fb8dd
commit 1aa07d943a

View File

@@ -26,12 +26,12 @@ type
Parser* = ref object Parser* = ref object
state*: ParserState state*: ParserState
tokens*: seq[ParserToken] tokens*: seq[ParserToken]
ParseErrorKind* = enum ParserErrorKind* = enum
choiceMismatchErr choiceMismatchErr
charMismatchErr charMismatchErr
endOfStringErr endOfStringErr
ParserError* = ref object ParserError* = ref object
kind*: ParseErrorKind kind*: ParserErrorKind
unexpected*: string unexpected*: string
expected*: string expected*: string
index*: int index*: int