Fix switch-up

This commit is contained in:
Florian Schroedl
2022-01-20 17:00:00 +01:00
parent 96bf7fe263
commit 24d335363e

View File

@@ -79,7 +79,7 @@ proc `$`*(x: ParserError): string =
&"""Parsing Error (Character Mismatch Error):
{original}
{errSpace}^ Wanted '{unexpected}' but got '{expected}'"""
{errSpace}^ Expected '{expected}' but got '{unexpected}'"""
else: "ParseError"
proc initParser(str: string): ParserResult =