Skip to content

Commit

Permalink
Revert bad bug fix!
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWeirdDev committed May 10, 2020
1 parent 79d35e3 commit dd90b11
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions source/calcool/parser.d
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ public:
Expression parseGroupExpression() {
auto inside = parseExpression(Precedence.START);
expect(TokenType.PR_CLOSE);
if (input.length > 0 && input.front().type == TokenType.PR_CLOSE) {
input.length = 0;
throw new ParseException("Syntax error");
}
return inside;
}

Expand Down

0 comments on commit dd90b11

Please sign in to comment.