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
state*: ParserState
tokens*: seq[ParserToken]
ParseErrorKind* = enum
ParserErrorKind* = enum
choiceMismatchErr
charMismatchErr
endOfStringErr
ParserError* = ref object
kind*: ParseErrorKind
kind*: ParserErrorKind
unexpected*: string
expected*: string
index*: int