Fix switch-up
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user