Remove ; )

This commit is contained in:
augustin64 2023-11-15 15:42:56 +01:00
parent 7b89fcbf1f
commit 51662cea3e

View File

@ -446,10 +446,6 @@ ParseReturn parse_f(vector<Token> tokens) {
ParseReturn ret = parse_expr(tokens); ParseReturn ret = parse_expr(tokens);
tokens=ret.tokens; tokens=ret.tokens;
_debug_print_tokens(tokens);
CodePosition pos = tokens.back().pos;
cout << pos.line << ";" << pos.column << endl;
if (tokens.size() < 1 || tokens.back().type != TokenType::RParenthese) if (tokens.size() < 1 || tokens.back().type != TokenType::RParenthese)
throw SyntaxError("Missing ')'", tokens.back().pos); throw SyntaxError("Missing ')'", tokens.back().pos);