Remove parentheses check in parser

refactor
John Montagu, the 4th Earl of Sandvich 2024-06-05 12:13:36 -07:00
parent b8a5e641b6
commit 54ddc63fbe
Signed by: sandvich
GPG Key ID: 9A39BE37E602B22D
1 changed files with 0 additions and 5 deletions

View File

@ -91,11 +91,6 @@ public class Parser
}
else if (token.Type == TokenType.Grouping)
{
if (token.Value == ")")
{
throw new InterpreterException("Unexpected )",
token.Line, token.Column);
}
if (prev is LiteralExpression l)
{
// this is a function call