Fix switch-up
This commit is contained in:
@@ -79,7 +79,7 @@ proc `$`*(x: ParserError): string =
|
|||||||
|
|
||||||
&"""Parsing Error (Character Mismatch Error):
|
&"""Parsing Error (Character Mismatch Error):
|
||||||
{original}
|
{original}
|
||||||
{errSpace}^ Wanted '{unexpected}' but got '{expected}'"""
|
{errSpace}^ Expected '{expected}' but got '{unexpected}'"""
|
||||||
else: "ParseError"
|
else: "ParseError"
|
||||||
|
|
||||||
proc initParser(str: string): ParserResult =
|
proc initParser(str: string): ParserResult =
|
||||||
|
|||||||
Reference in New Issue
Block a user