From 54ddc63fbe162e1591a04a593026f2c491bd1485 Mon Sep 17 00:00:00 2001 From: HumanoidSandvichDispenser Date: Wed, 5 Jun 2024 12:13:36 -0700 Subject: [PATCH] Remove parentheses check in parser --- Debug/Transpiler/Parser.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Debug/Transpiler/Parser.cs b/Debug/Transpiler/Parser.cs index f28cf16..bb443ac 100644 --- a/Debug/Transpiler/Parser.cs +++ b/Debug/Transpiler/Parser.cs @@ -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